diff --git a/InSituLaboratory.Entities/BaseCavity.cs b/InSituLaboratory.Entities/BaseCavity.cs
new file mode 100644
index 0000000..f2ec62e
--- /dev/null
+++ b/InSituLaboratory.Entities/BaseCavity.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace InSituLaboratory.Entities
+{
+ public class BaseCavity
+ {
+ ///
+ /// 记录时间
+ ///
+ public DateTime RecordTime { get; set; }
+
+ ///
+ /// 腔体识别码
+ ///
+ public int CavityPIN { get; set; }
+ }
+}
diff --git a/InSituLaboratory.Entities/cavitybatterylevel.cs b/InSituLaboratory.Entities/cavitybatterylevel.cs
new file mode 100644
index 0000000..87be22c
--- /dev/null
+++ b/InSituLaboratory.Entities/cavitybatterylevel.cs
@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace InSituLaboratory.Entities
+{
+ ///
+ /// 电池电量表
+ ///
+ public class cavitybatterylevel: BaseCavity
+ {
+ ///
+ /// 数据编号
+ ///
+ [Key]
+ public int DataIdNum { get; set; }
+
+ ///
+ /// 电池电压
+ ///
+ public float Voltage { get; set; }
+ }
+}
diff --git a/InSituLaboratory.Entities/cavityenergyconversion.cs b/InSituLaboratory.Entities/cavityenergyconversion.cs
new file mode 100644
index 0000000..3ba21a2
--- /dev/null
+++ b/InSituLaboratory.Entities/cavityenergyconversion.cs
@@ -0,0 +1,63 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace InSituLaboratory.Entities
+{
+ ///
+ /// 腔体电能转换板使能状态表
+ ///
+ public class cavityenergyconversion : BaseCavity
+ {
+ ///
+ /// 数据编号
+ ///
+ [Key]
+ public int DataIdNum { get; set; }
+
+ ///
+ /// 电能转换板1 24V使能
+ ///
+ public string? Enable1Of24V { get; set; }
+
+ ///
+ /// 电能转换板1 12V使能
+ ///
+ public string? Enable1Of12V { get; set; }
+
+ ///
+ /// 电能转换板2 24V使能
+ ///
+ public string? Enable2Of24V { get; set; }
+
+ ///
+ /// 电能转换板2 12V使能
+ ///
+ public string? Enable2Of12V { get; set; }
+
+ ///
+ /// 电能转换板3 24V使能
+ ///
+ public string? Enable3Of24V { get; set; }
+
+ ///
+ /// 电能转换板3 12V使能
+ ///
+ public string? Enable3Of12V { get; set; }
+
+ ///
+ /// 电能转换板4 24V使能
+ ///
+ public string? Enable4Of24V { get; set; }
+
+ ///
+ /// 电能转换板4 12V使能
+ ///
+ public string? Enable4Of12V { get; set; }
+
+ }
+
+}
diff --git a/InSituLaboratory.Entities/cavityenvironment.cs b/InSituLaboratory.Entities/cavityenvironment.cs
new file mode 100644
index 0000000..e9eb3d4
--- /dev/null
+++ b/InSituLaboratory.Entities/cavityenvironment.cs
@@ -0,0 +1,51 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace InSituLaboratory.Entities
+{
+ ///
+ /// 腔体内部环境
+ ///
+ public class cavityenvironment : BaseCavity
+ {
+ ///
+ /// 数据编号
+ ///
+ [Key]
+ public int DataIdNum { get; set; }
+
+ ///
+ /// 温度1
+ ///
+ public float Temperature1 { get; set; }
+
+ ///
+ /// 温度2
+ ///
+ public float Temperature2 { get; set; }
+
+ ///
+ /// 湿度1
+ ///
+ public float HumDataIdNumity1 { get; set; }
+
+ ///
+ /// 湿度2
+ ///
+ public float HumDataIdNumity2 { get; set; }
+
+ ///
+ /// 漏水1
+ ///
+ public float Leak1 { get; set; }
+
+ ///
+ /// 漏水2
+ ///
+ public float Leak2 { get; set; }
+ }
+}
diff --git a/InSituLaboratory.Entities/cavityoperationstatus.cs b/InSituLaboratory.Entities/cavityoperationstatus.cs
new file mode 100644
index 0000000..f06b654
--- /dev/null
+++ b/InSituLaboratory.Entities/cavityoperationstatus.cs
@@ -0,0 +1,87 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace InSituLaboratory.Entities
+{
+ ///
+ /// 腔体运行状态表
+ ///
+ public class cavityoperationstatus : BaseCavity
+ {
+ ///
+ /// 数据编号
+ ///
+ [Key]
+ public int DataIdNum { get; set; }
+
+ ///
+ /// 电能转换板1的48V电压
+ ///
+ public float Voltage48V1 { get; set; }
+
+ ///
+ /// 电能转换板1的48V电流
+ ///
+ public float Current48V1 { get; set; }
+
+ ///
+ /// 电能转换板1的24V电流
+ ///
+ public float Current24V1 { get; set; }
+
+ ///
+ /// 电能转换板2的48V电流
+ ///
+ public float Current48V2 { get; set; }
+
+ ///
+ /// 电能转换板2的24V电流
+ ///
+ public float Current24V2 { get; set; }
+
+ ///
+ /// 电能转换板3的48V电流
+ ///
+ public float Current48V3 { get; set; }
+
+ ///
+ /// 电能转换板3的24V电流
+ ///
+ public float Current24V3 { get; set; }
+
+ ///
+ /// 电能转换板4的48V电流
+ ///
+ public float Current48V4 { get; set; }
+
+ ///
+ /// 电能转换板4的24V电流
+ ///
+ public float Current24V4 { get; set; }
+
+ ///
+ /// 漏电流模块1
+ ///
+ public float LeakageCurrent1 { get; set; }
+
+ ///
+ /// 漏电流模块2
+ ///
+ public float LeakageCurrent2 { get; set; }
+
+ ///
+ /// 漏电流模块3
+ ///
+ public float LeakageCurrent3 { get; set; }
+
+ ///
+ /// 漏电流模块4
+ ///
+ public float LeakageCurrent4 { get; set; }
+
+ }
+}
diff --git a/InSituLaboratory.Entities/cavityoutputcurrent.cs b/InSituLaboratory.Entities/cavityoutputcurrent.cs
new file mode 100644
index 0000000..43c5faa
--- /dev/null
+++ b/InSituLaboratory.Entities/cavityoutputcurrent.cs
@@ -0,0 +1,111 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace InSituLaboratory.Entities
+{
+ ///
+ /// 腔体输出电流表
+ ///
+ public class cavityoutputcurrent: BaseCavity
+ {
+ ///
+ /// 数据编号
+ ///
+ [Key]
+ public int DataIdNum { get; set; }
+
+ ///
+ /// 色质联用输出电流
+ ///
+ public float CurrentOfGC_MS { get; set; }
+
+ ///
+ /// 备用串口1输出电流
+ ///
+ public float CurrentOfSecondComPort1 { get; set; }
+
+ ///
+ /// 备用串口2输出电流
+ ///
+ public float CurrentOfSecondComPort2 { get; set; }
+
+ ///
+ /// 光通讯机输出电流
+ ///
+ public float CurrentOfOpticalComm { get; set; }
+
+ ///
+ /// ADCP输出电流
+ ///
+ public float CurrentOfADCP { get; set; }
+
+ ///
+ /// CTD输出电流
+ ///
+ public float CurrentOfCTD { get; set; }
+
+ ///
+ /// 气相色谱仪输出电流
+ ///
+ public float CurrentOfDC_ECD { get; set; }
+
+ ///
+ /// 甲烷同位素分析仪电流
+ ///
+ public float CurrentOfCH4 { get; set; }
+
+ ///
+ /// 二氧化碳同位素分析仪电流
+ ///
+ public float CurrentOfCo2 { get; set; }
+
+ ///
+ /// 备用网口输出电流
+ ///
+ public float CurrentOfSNetPort { get; set; }
+
+ ///
+ /// 串口服务器输出电流
+ ///
+ public float CurrentOfSerialServer { get; set; }
+
+ ///
+ /// 工作机输出电流
+ ///
+ public float CurrentOfIPC { get; set; }
+
+ ///
+ /// 显微拉曼分析仪输出电流
+ ///
+ public float CurrentOfMicroRaman { get; set; }
+
+ ///
+ /// 质谱仪输出电流
+ ///
+ public float CurrentOfMS { get; set; }
+
+ ///
+ /// 声学定位输出电流
+ ///
+ public float CurrentOfALD { get; set; }
+
+ ///
+ /// 摄像1的输出电流
+ ///
+ public float CurrrentOfVDataIdNumeo1 { get; set; }
+
+ ///
+ /// 摄像2的输出电流
+ ///
+ public float CurrentOfVDataIdNumeo2 { get; set; }
+
+ ///
+ /// 电交换机2输出电流
+ ///
+ public float CurrentOfSwichBoard { get; set; }
+ }
+}
diff --git a/InSituLaboratory.Entities/cavityoutputfeedback.cs b/InSituLaboratory.Entities/cavityoutputfeedback.cs
new file mode 100644
index 0000000..b4cee50
--- /dev/null
+++ b/InSituLaboratory.Entities/cavityoutputfeedback.cs
@@ -0,0 +1,111 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace InSituLaboratory.Entities
+{
+ ///
+ /// 腔体输出反馈表
+ ///
+ public class cavityoutputfeedback : BaseCavity
+ {
+ ///
+ /// 数据编号
+ ///
+ [Key]
+ public int DataIdNum { get; set; }
+
+ ///
+ /// 色质联用输出反馈
+ ///
+ public string? OutputFeedbackOfGC_MS { get; set; }
+
+ ///
+ /// 备用串口1输出反馈
+ ///
+ public string? OutputFeedback1OfSecondComPort { get; set; }
+
+ ///
+ /// 备用串口2输出反馈
+ ///
+ public string? OutputFeedback2OfSecondComPort { get; set; }
+
+ ///
+ /// 光通讯机输出反馈
+ ///
+ public string? OutputFeedbackOfOpticalComm { get; set; }
+
+ ///
+ /// ADCP输出反馈
+ ///
+ public string? OutputFeedbackOfADCP { get; set; }
+
+ ///
+ /// CTD输出反馈
+ ///
+ public string? OutputFeedbackOfCTD { get; set; }
+
+ ///
+ /// 气相色谱仪输出反馈
+ ///
+ public string? OutputFeedbackOfDC_ECD { get; set; }
+
+ ///
+ /// 甲烷同位素分析仪反馈
+ ///
+ public string? OutputFeedbackOfCH4 { get; set; }
+
+ ///
+ /// 二氧化碳同位素分析仪反馈
+ ///
+ public string? OutputFeedbackOfCo2 { get; set; }
+
+ ///
+ /// 备用网口反馈
+ ///
+ public string? OutputFeedbackOfSNetPort { get; set; }
+
+ ///
+ /// 串口服务器反馈
+ ///
+ public string? OutputFeedbackOfSerialServer { get; set; }
+
+ ///
+ /// 工作机输出反馈
+ ///
+ public string? OutputFeedbackOfIPC { get; set; }
+
+ ///
+ /// 显微拉曼分析仪输出反馈
+ ///
+ public string? OutputFeedbackOfMicroRaman { get; set; }
+
+ ///
+ /// 质谱仪输出反馈
+ ///
+ public string? OutputFeedbackOfMS { get; set; }
+
+ ///
+ /// 声学定位输出反馈
+ ///
+ public string? OutputFeedbackOfALD { get; set; }
+
+ ///
+ /// 摄像1的输出反馈
+ ///
+ public string? OutputFeedbackOfVDataIdNumeo1 { get; set; }
+
+ ///
+ /// 摄像2的输出反馈
+ ///
+ public string? OutputFeedbackOfVDataIdNumeo2 { get; set; }
+
+ ///
+ /// 电交换机2输出反馈
+ ///
+ public string? OutputFeedbackOfSwichBoard { get; set; }
+ }
+}
diff --git a/InSituLaboratory.Entities/cavityoutputstatus.cs b/InSituLaboratory.Entities/cavityoutputstatus.cs
new file mode 100644
index 0000000..4347be5
--- /dev/null
+++ b/InSituLaboratory.Entities/cavityoutputstatus.cs
@@ -0,0 +1,112 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace InSituLaboratory.Entities
+{
+ ///
+ /// 腔体输出状态表
+ ///
+ public class cavityoutputstatus : BaseCavity
+ {
+ ///
+ /// 数据编号
+ ///
+ [Key]
+ public int DataIdNum { get; set; }
+
+ ///
+ /// 色质联用输出状态
+ ///
+ public string? OutputStateOfGC_MS { get; set; }
+
+ ///
+ /// 备用串口1输出状态
+ ///
+ public string? OutputStateOfSecondComPort1 { get; set; }
+
+ ///
+ /// 备用串口2输出状态
+ ///
+ public string? OutputStateOfSecondComPort2 { get; set; }
+
+ ///
+ /// 光通讯机输出状态
+ ///
+ public string? OutputStateOfOpticalComm { get; set; }
+
+ ///
+ /// ADCP输出状态
+ ///
+ public string? OutputStateOfADCP { get; set; }
+
+ ///
+ /// CTD输出状态
+ ///
+ public string? OutputStateOfCTD { get; set; }
+
+ ///
+ /// 气相色谱仪输出状态
+ ///
+ public string? OutputStateOfDC_ECD { get; set; }
+
+ ///
+ /// 甲烷同位素分析仪状态
+ ///
+ public string? OutputStateOfCH4 { get; set; }
+
+ ///
+ /// 二氧化碳同位素分析仪状态
+ ///
+ public string? OutputStateOfCo2 { get; set; }
+
+ ///
+ /// 备用网口状态
+ ///
+ public string? OutputStateOfSNetPort { get; set; }
+
+ ///
+ /// 串口服务器状态
+ ///
+ public string? OutputStateOfSerialServer { get; set; }
+
+ ///
+ /// 工作机输出状态
+ ///
+ public string? OutputStateOfIPC { get; set; }
+
+ ///
+ /// 显微拉曼分析仪输出状态
+ ///
+ public string? OutputStateOfMicroRaman { get; set; }
+
+ ///
+ /// 质谱仪输出状态
+ ///
+ public string? OutputStateOfMS { get; set; }
+
+ ///
+ /// 声学定位输出状态
+ ///
+ public string? OutputStateOfALD { get; set; }
+
+ ///
+ /// 摄像1的输出状态
+ ///
+ public string? OutputStateOfVDataIdNumeo1 { get; set; }
+
+ ///
+ /// 摄像2的输出状态
+ ///
+ public string? OutputStateOfVDataIdNumeo2 { get; set; }
+
+ ///
+ /// 电交换机2输出状态
+ ///
+ public string? OutputStateOfSwichBoard { get; set; }
+
+ }
+}
diff --git a/InSituLaboratory.ORM/NoimptyDbContext.cs b/InSituLaboratory.ORM/NoimptyDbContext.cs
index 519a9c3..b8ac7f4 100644
--- a/InSituLaboratory.ORM/NoimptyDbContext.cs
+++ b/InSituLaboratory.ORM/NoimptyDbContext.cs
@@ -58,5 +58,12 @@ namespace InSituLaboratory.ORM
public virtual DbSet SysRole { get; set; }
public virtual DbSet RoleMenu { get; set; }
public virtual DbSet RoleUser { get; set; }
+ public virtual DbSet cavityoperationstatus { get; set; }
+ public virtual DbSet cavityenvironment { get; set; }
+ public virtual DbSet cavityoutputfeedback { get; set; }
+ public virtual DbSet cavityoutputstatus { get; set; }
+ public virtual DbSet cavityoutputcurrent { get; set; }
+ public virtual DbSet cavityenergyconversion { get; set; }
+ public virtual DbSet cavitybatterylevel { get; set; }
}
}