更改大部分页面,更改各个扫码逻辑

This commit is contained in:
bnala committed 2025-03-24 23:35:51 +08:00
1 parent 2bd24f5316
commit 1670395816
34 files changed
+2420 -1425

No files matched your search

+4
View File
@@ -71,5 +71,9 @@ namespace WindowsFormsApp1.mod
/// 气密参数
/// </summary>
public bool airtight { get; set; }
/// <summary>
/// 端子是否扫码
/// </summary>
public bool dzscan { get; set; }
}
}
+9
View File
@@ -16,6 +16,15 @@ namespace WindowsFormsApp1.mod
public string linecode { get; set; }
public string linetype { get; set; }
public string linemode { get; set; }
public string lineremark1 { get; set; }
public string lineremark2 { get; set; }
public string lineremark3 { get; set; }
public string lineremark4 { get; set; }
public string lineremark5 { get; set; }
public string lineremark6 { get; set; }
public string lineremark7 { get; set; }
public int flowid { get; set; }
public int plcid { get; set; }
}
}
@@ -1,18 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SQLite;
namespace WindowsFormsApp1.mod
{
[Table("lineplc")]
public class t_lineplc
{
[PrimaryKey, AutoIncrement]
public int id { get; set; }
public int lineid { get; set; }
public int plcid { get; set; }
}
}
@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SQLite;
namespace WindowsFormsApp1.mod
{
/// <summary>
/// 压力曲线 实体类
/// </summary>
[Table("pressurecurve")]
public class t_pressurecurve
{
[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 string remark { get; set; }
public string value { get; set; }
}
}
+6
View File
@@ -13,6 +13,12 @@ namespace WindowsFormsApp1.mod
NONE
};
public enum plcstate
{
NG,
OK
};
public enum plcstatus
{
运行 = (short)1,