WriteGasCard() public method

public WriteGasCard ( ) : void
return void
Ejemplo n.º 1
0
 //售气
 public void SellGas()
 {
     this.IsBusy = true;
     if (Factory == "RXIC")
     {
         RXCard r = new RXCard(true);
         r.KH = CardId;
         r.Ql = Int32.Parse(Gas + "");
         r.Cs = BuyTimes;
         r.WriteGasCard();
         State = r.State;
         Error = r.Error;
     }
     else
     {
         base.SellGas();
     }
     this.IsBusy = false;
 }
Ejemplo n.º 2
0
 //售气
 public void SellGas()
 {
     this.IsBusy = true;
     if (Factory == "RXIC")
     {
         RXCard r = new RXCard(true);
         r.KH = CardId;
         r.Ql = Int32.Parse(Gas+"");
         r.Cs = BuyTimes;
         r.WriteGasCard();
         State = r.State;
         Error = r.Error;
     }
     else
     {
         base.SellGas();
     }
     this.IsBusy = false;
 }