36 lines
861 B
C#
36 lines
861 B
C#
using System;
|
|||
|
|
using System.Collections.Generic;
|
||
|
|
using System.ComponentModel;
|
||
|
|
using System.Linq;
|
||
|
|
using System.Text;
|
||
|
|
using System.Threading.Tasks;
|
||
|
|
|
||
|
|
namespace JY.Model.Excel
|
||
|
|
{
|
||
|
|
public class CollectItemCfg
|
||
|
|
{
|
||
|
|
[Description("PLC相对地址")]
|
||
|
|
public int? PLCRelAddress { get; set; }
|
||
|
|
|
||
|
|
[Description("PLC采集数据含义")]
|
||
|
|
public string PLCItemName { get; set; }
|
||
|
|
|
||
|
|
[Description("上位机属性名")]
|
||
|
|
public string HCPropName { get; set; }
|
||
|
|
|
||
|
|
[Description("Mes采集项编码")]
|
||
|
|
public string MesItemCode { get; set; }
|
||
|
|
|
||
|
|
[Description("Mes采集项描述")]
|
||
|
|
public string MesItemName { get; set; }
|
||
|
|
|
||
|
|
[Description("是否启用")]
|
||
|
|
public string IsEnableStr { get; set; }
|
||
|
|
|
||
|
|
public bool IsEnable
|
||
|
|
{
|
||
|
|
get => IsEnableStr == "Y";
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|