using System; using System.Collections.Generic; using System.Text; namespace ShellChina_EPS_Project_CarPlatePay_EpsClient_App { public class CarPlateStatusInfo { public enum PaymentStatus { 车牌付待加油, 车牌付加油中, 车牌付待支付, 车牌付已支付, 交易异常 } public string PlateLicense { get; set; } /// /// The Time indictated when the car plate was cathched, it may be used to remove the plate for some Time /// public DateTime Time { get; set; } /// /// Indicate the car plate is belonging to a member or not, 0 means non member, non zero is the menber ID /// public string MemberShipId { get; set; } /// /// 交易流水号,从EPS返回 /// public string TransactionNumber { get; set; } /// /// This will be set when the plate is binding with a nozzle /// public BindingInfo BindingInfo { get; set; } /// /// Indicate the plate which binds to the nozzle is paid or not /// public PaymentStatus PaymentState { get; set; } } public class BindingInfo { //the binding info format should be "Pump1_Nozzle2" public string BindedNozzle { get; set; } public DateTime BingTime { get; set; } public int PumpId { get; set; } public int NozzleId { get; set; } } }