12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- 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; }
- /// <summary>
- /// The Time indictated when the car plate was cathched, it may be used to remove the plate for some Time
- /// </summary>
- public DateTime Time { get; set; }
- /// <summary>
- /// Indicate the car plate is belonging to a member or not, 0 means non member, non zero is the menber ID
- /// </summary>
- public string MemberShipId { get; set; }
- /// <summary>
- /// 交易流水号,从EPS返回
- /// </summary>
- public string TransactionNumber { get; set; }
- /// <summary>
- /// This will be set when the plate is binding with a nozzle
- /// </summary>
- public BindingInfo BindingInfo { get; set; }
- /// <summary>
- /// Indicate the plate which binds to the nozzle is paid or not
- /// </summary>
- 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; }
- }
- }
|