|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace ProductionSystem_Model.DbModel.Para
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 参数字段配置表
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("t_paracolumn_config")]
|
|
|
|
|
public class T_ParaColumnConfig : BaseModel
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 产品型号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "product_type")]
|
|
|
|
|
public string ProductType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 通讯协议类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "protocol_type")]
|
|
|
|
|
public string ProtocolType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 测试步骤
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "test_step_id")]
|
|
|
|
|
public string TestStepId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 参数类别
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "para_category")]
|
|
|
|
|
public string ParaCategory { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 参数编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "para_code")]
|
|
|
|
|
public string ParaCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 参数名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "para_name")]
|
|
|
|
|
public string ParaName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 目标值PLC地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "target_point_address")]
|
|
|
|
|
public string TargetPointAddress { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 目标值只读
|
|
|
|
|
/// true:只读 false:不只读
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "target_readonly")]
|
|
|
|
|
public bool TargetReadonly { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 上限值PLC地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "max_point_address")]
|
|
|
|
|
public string MaxPointAddress { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 上限值只读
|
|
|
|
|
/// true:只读 false:不只读
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "max_readonly")]
|
|
|
|
|
public bool MaxReadonly { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 下限值PLC地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "min_point_address")]
|
|
|
|
|
public string MinPointAddress { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 下限值只读
|
|
|
|
|
/// true:只读 false:不只读
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "min_readonly")]
|
|
|
|
|
public bool MinReadonly { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否必须
|
|
|
|
|
/// 当为true时参数项后不显示复选框
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ismust")]
|
|
|
|
|
public bool IsMust { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否在主界面显示
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "isshowmain")]
|
|
|
|
|
public bool IsShowMain { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否在参数配置页面显示
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "isshowcolconfig")]
|
|
|
|
|
public bool IsShowColConfig { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 采集值PLC地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "collect_point_address")]
|
|
|
|
|
public string CollectPointAddress { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 测试结果PLC地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "testresult_point_address")]
|
|
|
|
|
public string TestResultPointAddress { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否使用PLC地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ismust_point_address")]
|
|
|
|
|
public string IsMustPointAddress { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 排序索引
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sortindex")]
|
|
|
|
|
public int SortIndex { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 等待时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "waiter_time")]
|
|
|
|
|
public string WaiterTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 测试时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "test_time")]
|
|
|
|
|
public string TestTime { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|