123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using UAS_PLCDataReader.DataOperate;
- namespace UAS_PLCDataReader.Entity
- {
- class Polling
- {
- private string sendRadix;
- private string deviceCode;
- private string deviceName;
- private string iP;
- private string port;
- private int interval;
- private int id;
- private bool enable;
- private DataHelper dh;
- private string[] commandCode;
- public string DeviceCode
- {
- get
- {
- return deviceCode;
- }
- set
- {
- deviceCode = value;
- }
- }
- public string IP
- {
- get
- {
- return iP;
- }
- set
- {
- iP = value;
- }
- }
- public string Port
- {
- get
- {
- return port;
- }
- set
- {
- port = value;
- }
- }
- public int Interval
- {
- get
- {
- return interval;
- }
- set
- {
- interval = value;
- }
- }
- public bool Enable
- {
- get
- {
- return enable;
- }
- set
- {
- enable = value;
- }
- }
- public int Id
- {
- get
- {
- return id;
- }
- set
- {
- id = value;
- }
- }
- public DataHelper Dh
- {
- get
- {
- return dh;
- }
- set
- {
- dh = value;
- }
- }
- public string SendRadix
- {
- get
- {
- return sendRadix;
- }
- set
- {
- sendRadix = value;
- }
- }
- public string[] CommandCode
- {
- get
- {
- return commandCode;
- }
- set
- {
- commandCode = value;
- }
- }
- public string DeviceName
- {
- get
- {
- return deviceName;
- }
- set
- {
- deviceName = value;
- }
- }
- }
- }
|