using System;
using System.Collections.Generic;
using System.Text;
namespace Dfs.WayneChina.IMisPlus.Models
{
///
/// Settings/parameters/info regarding the dispensers of legacy iFuel system.
///
public class Dispenser
{
///
/// Site designated dispenser number, must be a valid value.
/// Zero means this data is meaningless.
/// Sps Field: `DspNo`, type: char(6)
///
public string DispNo { get; set; }
///
/// Type of dispenser.
/// Sps Field: `DspType`, type: varchar(30)
///
public string DispType { get; set; }
///
/// Manufacturer name of the dispenser.
/// Sps Field: `SupplierName`, type: varchar(50)
///
public string Manufacturer { get; set; }
///
/// Communication protocol type, 1=IFSF,2=Hengshan
/// Sps Field: `Protocol`, type: tinyint(1)
///
public byte ProtocolType { get; set; }
///
/// Communication address, tcp, serial etc.
/// Sps Field: `Address`, type: char(16)
///
public string Address { get; set; }
///
/// The life span limit of the dispenser hardware.
/// Sps Field: `LimitDate`, type: int(2)
///
public ushort Life { get; set; }
///
/// Indicates whether the dispenser is in use or not.
/// Sps Field: `State`, type: char(2)
///
public string State { get; set; }
///
/// Serial number of shipment from factory.
/// Sps Field: `FactoryNo`, type: char(20)
///
public string ManufacturingNo { get; set; }
///
/// Date of Manufacture, format 'yyyy-MM-dd'
/// Sps Field: `FactoryDate`, type: date
///
public DateTime DateOfManufacture { get; set; }
///
/// Count of nozzles installed on this dispenser.
/// Sps Field: `NozzCount`, type: int(2)
///
public ushort NozzleCount { get; set; }
}
}