C# Class tianx.tianxMoney.CardTX

Mostrar archivo Open project: DuBin1988/newsellinggas

Public Methods

Method Description
BuyGas ( int BuyGas, int GASCOUNT, int COMID ) : int
User_ClearICCard ( int COMID ) : int
User_ReadICCard ( int COMID, string &ICId, string &ICMark, int &GasCount, int &ICCSpare, double &ICUsed, int &ICSum, double &ICConsume, int &ICPrice, int &ICType ) : int
User_WriteICCard ( StringBuilder ICId, StringBuilder ICMark, int ICCSpare, int GASCOUNT, int ICPrice, int ICType, int COMID, int OPCODE ) : int
WriteNewICCard ( StringBuilder ICId, StringBuilder ICMark, int ICCSpare, int GasCount, int ICPrice, int COMID ) : int
WriteOldICCard ( StringBuilder ICId, StringBuilder ICMark, int ICCSpare, int GasCount, int ICPrice, int COMID ) : int
regulator_ReadICCard ( int COMID, int &Price, string &Price_T, string &Effective_T ) : int
regulator_WriteICCard ( int Price, StringBuilder Price_T, StringBuilder Effective_T, int COMID ) : int

Private Methods

Method Description
User_ReadICCard ( byte ICId, byte ICMark, int &ICCSpare, int &ICSum, int &GASCOUNT, int &ICPrice, double &ICConsume, double &ICUsed, int &ICNUM, StringBuilder ICRegist, StringBuilder ICMUType, int &ICType, int COMID, int COMHZ, int &ICErroy ) : int
User_WriteICCard ( StringBuilder ICId, StringBuilder ICMark, int ICCSpare, int GasCount, int ICPrice, StringBuilder ICRegist, StringBuilder ICMUType, int ICType, int ICNUM, int OPCode, int COMID, int COMHZ, int &ICErroy ) : int
regulator_ReadICCard ( int &Price, byte Price_T, byte Effective_T, int COMID, int COMHZ, int &ICErroy ) : int
regulator_WriteICCard ( int Price, StringBuilder Price_T, StringBuilder Effective_T, int COMID, int COMHZ, int &ICErroy ) : int

Method Details

BuyGas() public static method

public static BuyGas ( int BuyGas, int GASCOUNT, int COMID ) : int
BuyGas int
GASCOUNT int
COMID int
return int

User_ClearICCard() public static method

public static User_ClearICCard ( int COMID ) : int
COMID int
return int

User_ReadICCard() public static method

public static User_ReadICCard ( int COMID, string &ICId, string &ICMark, int &GasCount, int &ICCSpare, double &ICUsed, int &ICSum, double &ICConsume, int &ICPrice, int &ICType ) : int
COMID int
ICId string
ICMark string
GasCount int
ICCSpare int
ICUsed double
ICSum int
ICConsume double
ICPrice int
ICType int
return int

User_WriteICCard() public static method

public static User_WriteICCard ( StringBuilder ICId, StringBuilder ICMark, int ICCSpare, int GASCOUNT, int ICPrice, int ICType, int COMID, int OPCODE ) : int
ICId StringBuilder
ICMark StringBuilder
ICCSpare int
GASCOUNT int
ICPrice int
ICType int
COMID int
OPCODE int
return int

WriteNewICCard() public static method

public static WriteNewICCard ( StringBuilder ICId, StringBuilder ICMark, int ICCSpare, int GasCount, int ICPrice, int COMID ) : int
ICId StringBuilder
ICMark StringBuilder
ICCSpare int
GasCount int
ICPrice int
COMID int
return int

WriteOldICCard() public static method

public static WriteOldICCard ( StringBuilder ICId, StringBuilder ICMark, int ICCSpare, int GasCount, int ICPrice, int COMID ) : int
ICId StringBuilder
ICMark StringBuilder
ICCSpare int
GasCount int
ICPrice int
COMID int
return int

regulator_ReadICCard() public static method

public static regulator_ReadICCard ( int COMID, int &Price, string &Price_T, string &Effective_T ) : int
COMID int
Price int
Price_T string
Effective_T string
return int

regulator_WriteICCard() public static method

public static regulator_WriteICCard ( int Price, StringBuilder Price_T, StringBuilder Effective_T, int COMID ) : int
Price int
Price_T StringBuilder
Effective_T StringBuilder
COMID int
return int