Files
CleanMachine/CleanMachine.Model/PlcItem.cs

118 lines
2.7 KiB
C#
Raw Normal View History

2021-12-31 19:53:53 +08:00
using System;
using System.Collections.Generic;
using System.Text;
namespace CleanMachine.Model
{
/// <summary>
///
/// </summary>
public class PlcItem : BaseModel
{
private string plcItemId;
private string plcItemCode;
private string plcItemName;
private int plcItemType;
private int plcItemDataType;
private int plcItemDataLength;
private string plcItemPriAddress;
private string plcItemModbusAddress;
private string plcItemDeviationAddress;
private string plcItemValue;
/// <summary>
///
/// </summary>
public string PlcItemId
{
get { return this.plcItemId; }
set { this.plcItemId = value; }
}
/// <summary>
///
/// </summary>
public string PlcItemCode
{
get { return this.plcItemCode; }
set { this.plcItemCode = value; }
}
/// <summary>
///
/// </summary>
public string PlcItemName
{
get { return this.plcItemName; }
set { this.plcItemName = value; }
}
/// <summary>
///
/// </summary>
public int PlcItemType
{
get { return this.plcItemType; }
set { this.plcItemType = value; }
}
/// <summary>
///
/// </summary>
public int PlcItemDataType
{
get { return this.plcItemDataType; }
set { this.plcItemDataType = value; }
}
/// <summary>
///
/// </summary>
public int PlcItemDataLength
{
get { return this.plcItemDataLength; }
set { this.plcItemDataLength = value; }
}
/// <summary>
///
/// </summary>
public string PlcItemPriAddress
{
get { return this.plcItemPriAddress; }
set { this.plcItemPriAddress = value; }
}
/// <summary>
///
/// </summary>
public string PlcItemModbusAddress
{
get { return this.plcItemModbusAddress; }
set { this.plcItemModbusAddress = value; }
}
/// <summary>
///
/// </summary>
public string PlcItemDeviationAddress
{
get { return this.plcItemDeviationAddress; }
set { this.plcItemDeviationAddress = value; }
}
/// <summary>
///
/// </summary>
public string PlcItemValue
{
get { return this.plcItemValue; }
set { this.plcItemValue = value; }
}
}
}