配置参数下载和解析的开发-未完成
This commit is contained in:
@@ -8,4 +8,7 @@
|
||||
<ItemGroup>
|
||||
<PackageReference Include="FreeSql" Version="3.5.102" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="ProExecuteModel\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
38
CapMachine.Model/ConfigAlarm.cs
Normal file
38
CapMachine.Model/ConfigAlarm.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
|
||||
namespace CapMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 报警配置
|
||||
/// </summary>
|
||||
[Table(Name = "ConfigAlarm")]
|
||||
public class ConfigAlarm
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
[Column(IsPrimary = true, IsIdentity = true)]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
[Column(Name = "IndexNo", IsNullable = false)]
|
||||
public int IndexNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 快速设置仪表名称
|
||||
/// </summary>
|
||||
[Column(Name = "MeterName", IsNullable = true, StringLength = 30)]
|
||||
public string MeterName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Alarm
|
||||
/// </summary>
|
||||
[Column(Name = "Alarm", IsNullable = true)]
|
||||
public double Alarm { get; set; }
|
||||
|
||||
[Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
|
||||
public DateTime CreateTime { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -7,159 +7,159 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 程序段具体步骤执行信息
|
||||
/// </summary>
|
||||
[Table(Name = "ProStepExecute")]
|
||||
public class ProStepExecute
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
[Column(IsPrimary = true)]
|
||||
public Guid Id { get; set; }
|
||||
///// <summary>
|
||||
///// 程序段具体步骤执行信息
|
||||
///// </summary>
|
||||
//[Table(Name = "ProStepExecute")]
|
||||
//public class ProStepExecute
|
||||
//{
|
||||
// /// <summary>
|
||||
// /// 主键
|
||||
// /// </summary>
|
||||
// [Column(IsPrimary = true)]
|
||||
// public Guid Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 程序段名称
|
||||
/// </summary>
|
||||
[Column(Name = "ProName", IsNullable = false, StringLength = 20)]
|
||||
public string ProName { get; set; }
|
||||
// /// <summary>
|
||||
// /// 程序段名称
|
||||
// /// </summary>
|
||||
// [Column(Name = "ProName", IsNullable = false, StringLength = 20)]
|
||||
// public string ProName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 程序段步骤
|
||||
/// </summary>
|
||||
[Column(Name = "ProStep", IsNullable = false)]
|
||||
public int ProStep { get; set; }
|
||||
// /// <summary>
|
||||
// /// 程序段步骤
|
||||
// /// </summary>
|
||||
// [Column(Name = "ProStep", IsNullable = false)]
|
||||
// public int ProStep { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 程序段反复
|
||||
/// </summary>
|
||||
[Column(Name = "ProRepeat")]
|
||||
public int ProRepeat { get; set; }
|
||||
// /// <summary>
|
||||
// /// 程序段反复
|
||||
// /// </summary>
|
||||
// [Column(Name = "ProRepeat")]
|
||||
// public int ProRepeat { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否正在执行当前程序段
|
||||
/// </summary>
|
||||
[Column(Name = "IsCurrentProStep")]
|
||||
public bool IsCurrentProStep { get; set; }
|
||||
// /// <summary>
|
||||
// /// 是否正在执行当前程序段
|
||||
// /// </summary>
|
||||
// [Column(Name = "IsCurrentProStep")]
|
||||
// public bool IsCurrentProStep { get; set; }
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////
|
||||
////////////////////////程序步骤///////////////////////////////
|
||||
////////////////////////////////////////////////////////////////
|
||||
// /////////////////////////////////////////////////////////////////
|
||||
// ////////////////////////程序步骤///////////////////////////////
|
||||
// ////////////////////////////////////////////////////////////////
|
||||
|
||||
/// <summary>
|
||||
/// 是否正在执行当前程序段
|
||||
/// </summary>
|
||||
[Column(Name = "IsCurrentMeterStep")]
|
||||
public bool IsCurrentMeterStep { get; set; }
|
||||
// /// <summary>
|
||||
// /// 是否正在执行当前程序段
|
||||
// /// </summary>
|
||||
// [Column(Name = "IsCurrentMeterStep")]
|
||||
// public bool IsCurrentMeterStep { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仪表功能名称
|
||||
/// </summary>
|
||||
[Column(Name = "MeterName", IsNullable = false, StringLength = 20)]
|
||||
public string MeterName { get; set; }
|
||||
// /// <summary>
|
||||
// /// 仪表功能名称
|
||||
// /// </summary>
|
||||
// [Column(Name = "MeterName", IsNullable = false, StringLength = 20)]
|
||||
// public string MeterName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 步骤
|
||||
/// </summary>
|
||||
[Column(Name = "MeterStep", IsNullable = false)]
|
||||
public int MeterStep { get; set; }
|
||||
// /// <summary>
|
||||
// /// 步骤
|
||||
// /// </summary>
|
||||
// [Column(Name = "MeterStep", IsNullable = false)]
|
||||
// public int MeterStep { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 速度 DegC
|
||||
/// </summary>
|
||||
[Column(Name = "SV", IsNullable = true)]
|
||||
public int SV { get; set; }
|
||||
// /// <summary>
|
||||
// /// 速度 DegC
|
||||
// /// </summary>
|
||||
// [Column(Name = "SV", IsNullable = true)]
|
||||
// public int SV { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 时间-分钟
|
||||
/// </summary>
|
||||
[Column(Name = "TimeMin", IsNullable = true)]
|
||||
public int TimeMin { get; set; }
|
||||
// /// <summary>
|
||||
// /// 时间-分钟
|
||||
// /// </summary>
|
||||
// [Column(Name = "TimeMin", IsNullable = true)]
|
||||
// public int TimeMin { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 时间-秒
|
||||
/// </summary>
|
||||
[Column(Name = "TimeSec", IsNullable = true)]
|
||||
public int TimeSec { get; set; }
|
||||
// /// <summary>
|
||||
// /// 时间-秒
|
||||
// /// </summary>
|
||||
// [Column(Name = "TimeSec", IsNullable = true)]
|
||||
// public int TimeSec { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// PID NO
|
||||
/// </summary>
|
||||
[Column(Name = "PIDNo", IsNullable = true)]
|
||||
public int PIDNo { get; set; }
|
||||
// /// <summary>
|
||||
// /// PID NO
|
||||
// /// </summary>
|
||||
// [Column(Name = "PIDNo", IsNullable = true)]
|
||||
// public int PIDNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Limit NO
|
||||
/// </summary>
|
||||
[Column(Name = "LitmitNo", IsNullable = true)]
|
||||
public int LitmitNo { get; set; }
|
||||
// /// <summary>
|
||||
// /// Limit NO
|
||||
// /// </summary>
|
||||
// [Column(Name = "LitmitNo", IsNullable = true)]
|
||||
// public int LitmitNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Alarm NO
|
||||
/// </summary>
|
||||
[Column(Name = "AlarmNo", IsNullable = true)]
|
||||
public int AlarmNo { get; set; }
|
||||
// /// <summary>
|
||||
// /// Alarm NO
|
||||
// /// </summary>
|
||||
// [Column(Name = "AlarmNo", IsNullable = true)]
|
||||
// public int AlarmNo { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// 时间信号
|
||||
///// </summary>
|
||||
//[Column(Name = "TimeSign1", IsNullable = true)]
|
||||
//public int TimeSign1 { get; set; }
|
||||
// ///// <summary>
|
||||
// ///// 时间信号
|
||||
// ///// </summary>
|
||||
// //[Column(Name = "TimeSign1", IsNullable = true)]
|
||||
// //public int TimeSign1 { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// 时间信号
|
||||
///// </summary>
|
||||
//[Column(Name = "TimeSign2", IsNullable = true)]
|
||||
//public int TimeSign2 { get; set; }
|
||||
// ///// <summary>
|
||||
// ///// 时间信号
|
||||
// ///// </summary>
|
||||
// //[Column(Name = "TimeSign2", IsNullable = true)]
|
||||
// //public int TimeSign2 { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// 时间信号
|
||||
///// </summary>
|
||||
//[Column(Name = "TimeSign3", IsNullable = true)]
|
||||
//public int TimeSign3 { get; set; }
|
||||
// ///// <summary>
|
||||
// ///// 时间信号
|
||||
// ///// </summary>
|
||||
// //[Column(Name = "TimeSign3", IsNullable = true)]
|
||||
// //public int TimeSign3 { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 步进重复
|
||||
/// </summary>
|
||||
[Column(Name = "Repeat", IsNullable = true)]
|
||||
public int StepRepeat { get; set; }
|
||||
// /// <summary>
|
||||
// /// 步进重复
|
||||
// /// </summary>
|
||||
// [Column(Name = "Repeat", IsNullable = true)]
|
||||
// public int StepRepeat { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// 拓展字段1
|
||||
///// </summary>
|
||||
//[Column(Name = "FeildExte1", IsNullable = true)]
|
||||
//public string FeildExte1 { get; set; }
|
||||
// ///// <summary>
|
||||
// ///// 拓展字段1
|
||||
// ///// </summary>
|
||||
// //[Column(Name = "FeildExte1", IsNullable = true)]
|
||||
// //public string FeildExte1 { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// 拓展字段1
|
||||
///// </summary>
|
||||
//[Column(Name = "FeildExte2", IsNullable = true)]
|
||||
//public string FeildExte2 { get; set; }
|
||||
// ///// <summary>
|
||||
// ///// 拓展字段1
|
||||
// ///// </summary>
|
||||
// //[Column(Name = "FeildExte2", IsNullable = true)]
|
||||
// //public string FeildExte2 { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// 拓展字段1
|
||||
///// </summary>
|
||||
//[Column(Name = "FeildExte3", IsNullable = true)]
|
||||
//public string FeildExte3 { get; set; }
|
||||
// ///// <summary>
|
||||
// ///// 拓展字段1
|
||||
// ///// </summary>
|
||||
// //[Column(Name = "FeildExte3", IsNullable = true)]
|
||||
// //public string FeildExte3 { get; set; }
|
||||
|
||||
|
||||
///// <summary>
|
||||
///// 拓展字段1
|
||||
///// </summary>
|
||||
//[Column(Name = "FeildExte4", IsNullable = true)]
|
||||
//public string FeildExte4 { get; set; }
|
||||
// ///// <summary>
|
||||
// ///// 拓展字段1
|
||||
// ///// </summary>
|
||||
// //[Column(Name = "FeildExte4", IsNullable = true)]
|
||||
// //public string FeildExte4 { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// 拓展字段1
|
||||
///// </summary>
|
||||
//[Column(Name = "FeildExte5", IsNullable = true)]
|
||||
//public string FeildExte5 { get; set; }
|
||||
// ///// <summary>
|
||||
// ///// 拓展字段1
|
||||
// ///// </summary>
|
||||
// //[Column(Name = "FeildExte5", IsNullable = true)]
|
||||
// //public string FeildExte5 { get; set; }
|
||||
|
||||
[Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
|
||||
public DateTime CreateTime { get; set; }
|
||||
// [Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
|
||||
// public DateTime CreateTime { get; set; }
|
||||
|
||||
|
||||
}
|
||||
//}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user