zhougf 1a9f2a5bca 4.12
1.添加马头螺丝扭力角度的上传,后期使用定时器定时上传数据
2.抽真空 plc 触发90
3.螺丝开盖按钮添加 从 keyvalue获取值,对比扫码得到的值更新other4
2025-04-12 14:55:51 +08:00

116 lines
2.9 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WindowsFormsApp1.mod.server
{
public class otherdata
{
/// <summary>
/// PLC反馈的机台状态
/// </summary>
public int Plc_Status { get; set; }
/// <summary>
/// PLC反馈的机台报警(默认获取0位)
/// </summary>
public List<string> Plc_ErrorMsgs { get; set; }
/// <summary>
/// 文件上传地址
/// </summary>
public string FileUploadAddress { get; set; }
/// <summary>
/// 图片地址地址
/// </summary>
public string ImageAddress { get; set; }
/// <summary>
/// 视频地址
/// </summary>
public string VedioAddress { get; set; }
/// <summary>
/// 前端返回的扫码
/// </summary>
public string JS_SN { get; set; }
/// <summary>
/// 前端返回的扫码
/// </summary>
public string SN { get; set; }
/// <summary>
/// 螺丝枪扭力
/// </summary>
public List<float> FinalTorqueValue { get; set; }
/// <summary>
/// 螺丝枪角度
/// </summary>
public List<float> FinalAngleValue { get; set; }
/// <summary>
/// 螺丝枪扭力曲线
/// </summary>
public List<float> FinalTorqueCurve { get; set; }
/// <summary>
/// 压力曲线
/// </summary>
public List<float> FinalPressureCurve { get; set; }
/// <summary>
/// 气密仪参数
/// </summary>
public Airtight FinalAirtightValue { get; set; }
/// <summary>
/// 上下料位置
/// </summary>
public int locationindex { get; set; }
/// <summary>
/// 上下料操作 上料:1;下料 2
/// </summary>
public int opindex { get; set; }
public int plcid { get; set; }
public t_materialupload material { get; set; }
}
public class Airtight
{
/// <summary>
/// 压力值
/// </summary>
public string Airtight_Value { get; set; }
///// <summary>
///// 压力单位
///// </summary>
//public string Airtight_Unit { get; set; }
/// <summary>
/// 泄露值
/// </summary>
public string Leak_Value { get; set; }
///// <summary>
///// 泄露单位
///// </summary>
//public string Leak_Unit { get; set; }
///// <summary>
///// 小泄露值
///// </summary>
//public string LLeak_Value { get; set; }
///// <summary>
///// 小泄露单位
///// </summary>
//public string LLeak_Unit { get; set; }
public DateTime LastTime { get; set; }
}
}