From aa68659a2a682e1e7c829bc0c4f5bb3b79e34bd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=94=84=E5=A4=B4?= Date: Sun, 16 Jun 2024 12:44:33 +0800 Subject: [PATCH] tijiao --- .../FreeDb/WarnTable.cs | 52 +++++++++++++++++++ .../Mesnac.Action.ChemicalWeighing.csproj | 1 + 2 files changed, 53 insertions(+) create mode 100644 Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FreeDb/WarnTable.cs diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FreeDb/WarnTable.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FreeDb/WarnTable.cs new file mode 100644 index 0000000..7ebb32b --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FreeDb/WarnTable.cs @@ -0,0 +1,52 @@ +using FreeSql.DataAnnotations; + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Mesnac.Action.ChemicalWeighing.FreeDb +{ + + [Table(Name = "WarnTable")] + public class WarnTable + { + /// + /// 主键 + /// + [Column(IsPrimary = true, IsIdentity = false)] + public long Id { get; set; } + + public int AlarmId { get; set; } + + public string CnInfo { get; set; } + public string OtherInfo { get; set; } + public DateTime CreateTime { get; set; } + public DateTime UpdateTime { get; set; } + public int Num { get; set; } + + public int Status { get; set; } + } + + + [Table(Name = "WarnTableInfo")] + public class WarnTableInfo + { + /// + /// 主键 + /// + [Column(IsPrimary = true, IsIdentity = true)] + public int Id { get; set; } + + public int AlarmId { get; set; } + + public string CnInfo { get; set; } + public string OtherInfo { get; set; } + public DateTime CreateTime { get; set; } + public DateTime UpdateTime { get; set; } + public int Num { get; set; } + + public int Status { get; set; } + } +} diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj index 0c02736..5888620 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj @@ -286,6 +286,7 @@ +