添加项目文件。
This commit is contained in:
29
Constant/CSConstant.cs
Normal file
29
Constant/CSConstant.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ShanghaiEnvironmentalTechnology
|
||||
{
|
||||
public static class CSConstant
|
||||
{
|
||||
public static string DbConnectionString = "Data Source=FlowPressure.db;Version=3;";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 排气流表映射
|
||||
/// </summary>
|
||||
public class FlowPressureRecord
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public double Flow { get; set; }
|
||||
public double Pressure { get; set; }
|
||||
|
||||
public double BeginCO2 { get; set; }
|
||||
public double EndCO2 { get; set; }
|
||||
public double CO2Added { get; set; }
|
||||
|
||||
public DateTime RecordTime { get; set; }
|
||||
}
|
||||
}
|
||||
11
Constant/PLCDevice.cs
Normal file
11
Constant/PLCDevice.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Modbus.Device;
|
||||
using Modbus;
|
||||
using System.Net.Sockets;
|
||||
|
||||
namespace ShanghaiEnvironmentalTechnology
|
||||
{
|
||||
public class PLCDevice
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user