123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace UAS_PLCDataReader.Entity
- {
- public class Device
- {
- /// <summary>
- /// 设备名称
- /// </summary>
- private string decode;
- /// <summary>
- /// 设备名称
- /// </summary>
- private string dename;
- /// <summary>
- /// 运行状态
- /// </summary>
- private string runStatus;
- /// <summary>
- /// 发送数据字节
- /// </summary>
- private int sendDataSize;
- /// <summary>
- /// 接收数据字节
- /// </summary>
- private int receiveDataSize;
- /// <summary>
- /// 发送数据次数
- /// </summary>
- private int sendCount;
- /// <summary>
- /// 温度
- /// </summary>
- private float temperature;
- /// <summary>
- /// 投产数
- /// </summary>
- private int inQTY;
- /// <summary>
- /// 合格数
- /// </summary>
- private int okQTY;
- /// <summary>
- /// 启动时间
- /// </summary>
- private DateTime startTime;
- /// <summary>
- /// 返回参数
- /// </summary>
- private Dictionary<string, string> itemData;
- /// <summary>
- /// 工单号
- /// </summary>
- private string makeCode;
- /// <summary>
- /// 指令编号
- /// </summary>
- private string dccode;
- public string Decode
- {
- get
- {
- return decode;
- }
- set
- {
- decode = value;
- }
- }
- public string Dename
- {
- get
- {
- return dename;
- }
- set
- {
- dename = value;
- }
- }
- public string RunStatus
- {
- get
- {
- return runStatus;
- }
- set
- {
- runStatus = value;
- }
- }
- public int SendDataSize
- {
- get
- {
- return sendDataSize;
- }
- set
- {
- sendDataSize = value;
- }
- }
- public int ReceiveDataSize
- {
- get
- {
- return receiveDataSize;
- }
- set
- {
- receiveDataSize = value;
- }
- }
- public int SendCount
- {
- get
- {
- return sendCount;
- }
- set
- {
- sendCount = value;
- }
- }
- public Dictionary<string, string> ItemData
- {
- get
- {
- return itemData;
- }
- set
- {
- itemData = value;
- }
- }
- public DateTime StartTime
- {
- get
- {
- return startTime;
- }
- set
- {
- startTime = value;
- }
- }
- public float Temperature
- {
- get
- {
- return temperature;
- }
- set
- {
- temperature = value;
- }
- }
- public int InQTY
- {
- get
- {
- return inQTY;
- }
- set
- {
- inQTY = value;
- }
- }
- public int OkQTY
- {
- get
- {
- return okQTY;
- }
- set
- {
- okQTY = value;
- }
- }
- public string MakeCode
- {
- get
- {
- return makeCode;
- }
- set
- {
- makeCode = value;
- }
- }
- public string Dccode
- {
- get
- {
- return dccode;
- }
- set
- {
- dccode = value;
- }
- }
- }
- }
|