416 添加OEE报警相关

This commit is contained in:
gf zhou committed 2025-04-17 09:20:19 +08:00
1 parent 233737bc31
commit 9c5ef7bb31
12 files changed
+1164 -171

No files matched your search

@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SQLite;
namespace WindowsFormsApp1.mod
{
[Table("oeeaddress")]
public class t_oeeaddress
{
[PrimaryKey, AutoIncrement]
public int id { get; set; }
public int plcid { get; set; }
public string code { get; set; }
public string type { get; set; }
public string dbaddress { get; set; }
public string addresstype { get; set; }
public int addresstypelegth { get; set; }
public int addressoffset { get; set; }
// 添加位地址支持,用于存储布尔类型的位偏移
public int addressdecimal { get; set; }
public string remark { get; set; }
public string value { get; set; }
}
}
+1 -1
View File
@@ -11,7 +11,7 @@ namespace WindowsFormsApp1.mod.server
/// <summary>
/// PLC反馈的机台状态
/// </summary>
public int Plc_Status { get; set; }
public string Plc_Status { get; set; }
/// <summary>
/// PLC反馈的机台报警(默认获取0位)