You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

201 lines
5.2 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using SqlSugar;
using System;
namespace ProductionSystem_Model.ViewModel.Response.Para
{
public class ParaColVM
{
/// <summary>
/// 行号
/// </summary>
public int SerialNumber { get; set; }
/// <summary>
/// 主键
/// </summary>
public string Id { get; set; }
/// <summary>
/// 产品型号
/// </summary>
[SugarColumn(ColumnName = "product_type")]
public string ProductType { get; set; }
/// <summary>
/// 参数类别
/// </summary>
[SugarColumn(ColumnName = "para_category")]
public string ParaCategory { get; set; }
/// <summary>
/// 参数类别名称
/// </summary>
public string ParaCategoryName { get; set; }
/// <summary>
/// 参数编码
/// </summary>
public string ParaCode { get; set; }
/// <summary>
/// 参数名称
/// </summary>
public string ParaName { get; set; }
/// <summary>
/// 测试步骤
/// </summary>
public string TestStep { get; set; }
/// <summary>
/// 目标值PLC地址
/// </summary>
public string TargetPointAddress { get; set; }
/// <summary>
/// 目标值只读
/// true只读 false不只读
/// </summary>
public bool TargetReadonly { get; set; }
/// <summary>
/// 目标值只读
/// true只读 false不只读
/// </summary>
public string StrTargetReadonly { get; set; }
/// <summary>
/// 上限值PLC地址
/// </summary>
public string MaxPointAddress { get; set; }
/// <summary>
/// 上限值只读
/// true只读 false不只读
/// </summary>
public bool MaxReadonly { get; set; }
/// <summary>
/// 上限值只读
/// true只读 false不只读
/// </summary>
public string StrMaxReadonly { get; set; }
/// <summary>
/// 下限值PLC地址
/// </summary>
public string MinPointAddress { get; set; }
/// <summary>
/// 下限值只读
/// true只读 false不只读
/// </summary>
public bool MinReadonly { get; set; }
/// <summary>
/// 下限值只读
/// true只读 false不只读
/// </summary>
public string StrMinReadonly { get; set; }
/// <summary>
/// 等待时间
/// </summary>
public string WaiterTime { get; set; }
/// <summary>
/// 测试时间
/// </summary>
public string TestTime { get; set; }
/// <summary>
/// 是否必须
/// 当为true时参数项后不显示复选框
/// </summary>
public bool IsMust { get; set; }
/// <summary>
/// 是否必须
/// 当为true时参数项后不显示复选框
/// </summary>
public string StrIsMust { get; set; }
/// <summary>
/// 是否使用PLC地址
/// </summary>
public string IsMustPointAddress { get; set; }
/// <summary>
/// 是否在主界面显示
/// </summary>
public bool IsShowMain { get; set; }
/// <summary>
/// 是否在主界面显示
/// </summary>
public string StrIsShowMain { get; set; }
/// <summary>
/// 是否在参数配置页面显示
/// </summary>
public bool IsShowColConfig { get; set; }
/// <summary>
/// 是否在主界面显示
/// </summary>
public string StrIsShowColConfig { get; set; }
/// <summary>
/// 采集值PLC地址
/// </summary>
public string CollectPointAddress { get; set; }
/// <summary>
/// 测试结果PLC地址
/// </summary>
public string TestResultPointAddress { get; set; }
/// <summary>
/// 排序索引
/// </summary>
[SugarColumn(ColumnName = "sortindex")]
public int SortIndex { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Remark { get; set; }
/// <summary>
/// 数据状态
/// 1—可用0—不可用
/// </summary>
public bool IsActive { get; set; } = true;
/// <summary>
/// 数据状态
/// </summary>
public string StrIsActive { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreatedTime { get; set; } = DateTime.Now;
/// <summary>
/// 创建者
/// </summary>
public string CreatedBy { get; set; }
/// <summary>
/// 最后一次修改时间
/// </summary>
public DateTime? UpdatedTime { get; set; }
/// <summary>
/// 最后一次修改者
/// </summary>
public string UpdatedBy { get; set; }
}
}