更改部分界面,更新ApiFormResult部分字段
This commit is contained in:
1 parent
c322de2dd7
commit
16586d67aa
12 files changed
+936
-263
No files matched your search
@@ -16,8 +16,8 @@ namespace WindowsFormsApp1.mod
|
||||
public string plcip { get; set; }
|
||||
public int timeout { get; set; }
|
||||
|
||||
[Ignore]
|
||||
public DateTime dateTime { get; set; }
|
||||
//[Ignore]
|
||||
//public DateTime dateTime { get; set; }
|
||||
[Ignore]
|
||||
public SiemensHelp plchelp { get; set; }
|
||||
}
|
||||
|
||||
@@ -8,8 +8,24 @@ namespace WindowsFormsApp1.mod
|
||||
{
|
||||
public enum mesresult
|
||||
{
|
||||
pass,
|
||||
fail,
|
||||
none
|
||||
PASS,
|
||||
FAIL,
|
||||
NONE
|
||||
};
|
||||
|
||||
public enum plcstatus
|
||||
{
|
||||
运行 = (short)1,
|
||||
停机 = (short)2,
|
||||
保养 = (short)3,
|
||||
MESReset = (short)4,
|
||||
准备或休息 = (short)5,
|
||||
欠载具 = (short)6,
|
||||
欠物料 = (short)7,
|
||||
其他机台计划停机 = (short)8,
|
||||
其他机台非计划停机 = (short)9,
|
||||
点检 = (short)10,
|
||||
换料 = (short)11,
|
||||
未知 = (short)0,
|
||||
};
|
||||
}
|
||||
@@ -9,9 +9,14 @@ namespace WindowsFormsApp1.mod.server
|
||||
public class otherdata
|
||||
{
|
||||
/// <summary>
|
||||
/// MES返回的SN
|
||||
/// PLC反馈的机台状态
|
||||
/// </summary>
|
||||
public string MES_SN { get; set; }
|
||||
public plcstatus Plc_Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// PLC反馈的机台报警
|
||||
/// </summary>
|
||||
public string Plc_ErrorMsg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文件上传地址
|
||||
|
||||
Reference in new issue
Block a user