123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace Dfs.WayneChina.IMisPlus.Models
- {
-
-
-
- public class Pump
- {
- #region Constructor
- public Pump()
- {
- Nozzles = new List<Nozzle>();
- }
- #endregion
-
-
-
-
- public byte Id { get; set; }
-
-
-
-
- public byte DispType { get; set; }
-
-
-
-
- public string DispTypeName { get; set; }
-
-
-
-
- public byte PumpType { get; set; }
-
-
-
-
- public ushort TankId { get; set; }
-
-
-
-
- public byte PosId { get; set; }
-
-
-
-
- public ushort AppProtocol { get; set; }
-
-
-
-
- public byte ProtocolType { get; set; }
-
-
-
-
- public string Port { get; set; }
-
-
-
-
- public ushort SerialPort { get; set; }
-
-
-
-
- public ushort Node { get; set; }
-
-
-
-
- public byte SubAddress { get; set; }
-
-
-
-
- public byte Mode { get; set; }
-
-
-
- public byte CheckOutMode { get; set; }
-
-
-
-
- public byte NozzleCount
- {
- get
- {
- if (Nozzles != null)
- {
- return Convert.ToByte(Nozzles.Count);
- }
- return 0;
- }
- }
-
-
-
-
- public byte DelayParam { get; set; }
-
-
-
-
- public byte PayStackSize { get; set; }
-
-
-
-
- public uint MaxAmount { get; set; }
-
-
-
-
- public uint MaxVolume { get; set; }
-
-
-
- public IList<Nozzle> Nozzles { get; set; }
- }
- }
|