配置参数下载和解析的开发-未完成

This commit is contained in:
2025-02-24 11:21:23 +08:00
parent c22a8cc98f
commit d2ef6f9961
25 changed files with 2273 additions and 189 deletions

View 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; }
}
}