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.
48 lines
1.2 KiB
C#
48 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing
|
|
{
|
|
/// <summary>
|
|
/// 料仓参数写入类
|
|
/// </summary>
|
|
public class PlcWriter
|
|
{
|
|
public PlcWriter()
|
|
{
|
|
this.EquipBrand = String.Empty;
|
|
this.EquipRunName = string.Empty;
|
|
this.ThisCount = 1;
|
|
this.ThisType = 0;
|
|
this.SchemaList = new List<PlcWriteItem>();
|
|
}
|
|
/// <summary>
|
|
/// 所属PLC设备品牌
|
|
/// </summary>
|
|
public string EquipBrand { get; set; }
|
|
/// <summary>
|
|
/// 设备运行时的别名
|
|
/// </summary>
|
|
public string EquipRunName { get; set; }
|
|
/// <summary>
|
|
/// 数据库设置的名称
|
|
/// </summary>
|
|
public string DataFieldName { get; set; }
|
|
/// <summary>
|
|
/// 数量
|
|
/// </summary>
|
|
public int ThisCount { get; set; }
|
|
/// <summary>
|
|
/// 类型
|
|
/// </summary>
|
|
public int ThisType { get; set; }
|
|
/// <summary>
|
|
/// 数据项
|
|
/// </summary>
|
|
public List<PlcWriteItem> SchemaList { get; set; }
|
|
}
|
|
}
|