//售气 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; }
//售气 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; }