Method | Description | |
---|---|---|
CheckGasCard ( short com, int baud ) : int | ||
FormatGasCard ( short com, int baud, string kmm, string kh, string dqdm ) : int | ||
GetError ( int errCode ) : string |
根据错误码,该错误码不在GenericService的Errors数组中,数组中的错误,统一处理,此处只返回不在错误列表中的错误信息
|
|
OpenCard ( |
||
PengSheng ( ) : System | ||
ReadGasCard ( short com, int baud, string &kh, int &ql, decimal &money, short &cs, short &bkcs, string &dm ) : int | ||
Test ( ) : string | ||
WriteGasCard ( short com, int baud, string &kmm, string kh, string dqdm, int ql, int csql, int ccsql, short cs, int ljgql, int bjql, int czsx, int tzed, string sqrq, string cssqrq, int oldprice, int newprice, string sxrq, string sxbj ) : int | ||
WriteNewCard ( short com, int baud, string &kmm, short kzt, string kh, string dqdm, string yhh, string tm, int ql, int csql, int ccsql, short cs, int ljgql, short bkcs, int ljyql, int bjql, int czsx, int tzed, string sqrq, string cssqrq, int oldprice, int newprice, string sxrq, string sxbj ) : int | ||
WriteNewCard ( short com, int baud, string &kmm, short kzt, string kh, string dqdm, string yhh, string tm, int ql, int csql, int ccsql, short cs, int ljgql, short bkcs, int ljyql, int bjql, int czsx, int tzed, string sqrq, string cssqrq, int oldprice, int newprice, string sxrq, string sxbj, int klx, string meterid ) : int |
Method | Description | |
---|---|---|
GetError ( int Errorinfo, byte &data_buff ) : int | ||
PSAddCustomerCard ( int Port, int Baud, StringBuilder PstrCustomer16Id, StringBuilder PstrCardId, int longBuyGas, int &PlongMeterAlarmGas, int PlongCompanyId, StringBuilder PstrCardPassword, int &PintCheckErrorNumber ) : int | ||
PSClearAllCard ( int Port, int Baud, StringBuilder PstrCardPassword, int &PintCheckErrorNumber ) : int | ||
PSCustomerCardBuyGas ( int Port, int Baud, StringBuilder PstrCustomer16Id, StringBuilder PstrCardId, int longBuyGas, int &PlongReturnGas, int &PlongCustomerCircleNumber, int &PlongMeterAlarmGas, int longReplenishCardCircleNumber, int longCompanyId, StringBuilder PstrCardPassword, int &PintCheckErrorNumber ) : int | ||
PSModifyCardPassword ( int Port, int Baud, StringBuilder PstrPrimevalCardPassword, StringBuilder PstrNewCardPassword, int &PintCheckErrorNumber ) : int | ||
PSReplenishCustomerCard ( int Port, int Baud, StringBuilder PstrCustomer16Id, StringBuilder PstrCardId, int longEnableUseGas, int longCustomerCircleNumber, int &PlongAlarmGas, int &PlongReplenishCardCircleNumber, int longCompanyId, StringBuilder PstrCardPassword, int &PintCheckErrorNumber ) : int | ||
PSTestCard ( int Port, int Baud, int &PintCardCode, short &PboolCard, StringBuilder PstrCustomer16Id, StringBuilder PstrCardId, int &PlongEnableUseGas, int &PlongReturnGas, int &PlongBuyGasNumber, int &PlongAlarmGas, int &PlongCardNumber, StringBuilder PstrOtherCardId, StringBuilder PstrOperatorId, int longCompanyId ) : int |
public CheckGasCard ( short com, int baud ) : int | ||
com | short | |
baud | int | |
return | int |
public FormatGasCard ( short com, int baud, string kmm, string kh, string dqdm ) : int | ||
com | short | |
baud | int | |
kmm | string | |
kh | string | |
dqdm | string | |
return | int |
public OpenCard ( |
||
com | ||
baud | ||
return | int |
public ReadGasCard ( short com, int baud, string &kh, int &ql, decimal &money, short &cs, short &bkcs, string &dm ) : int | ||
com | short | |
baud | int | |
kh | string | |
ql | int | |
money | decimal | |
cs | short | |
bkcs | short | |
dm | string | |
return | int |
public WriteGasCard ( short com, int baud, string &kmm, string kh, string dqdm, int ql, int csql, int ccsql, short cs, int ljgql, int bjql, int czsx, int tzed, string sqrq, string cssqrq, int oldprice, int newprice, string sxrq, string sxbj ) : int | ||
com | short | |
baud | int | |
kmm | string | |
kh | string | |
dqdm | string | |
ql | int | |
csql | int | |
ccsql | int | |
cs | short | |
ljgql | int | |
bjql | int | |
czsx | int | |
tzed | int | |
sqrq | string | |
cssqrq | string | |
oldprice | int | |
newprice | int | |
sxrq | string | |
sxbj | string | |
return | int |
public WriteNewCard ( short com, int baud, string &kmm, short kzt, string kh, string dqdm, string yhh, string tm, int ql, int csql, int ccsql, short cs, int ljgql, short bkcs, int ljyql, int bjql, int czsx, int tzed, string sqrq, string cssqrq, int oldprice, int newprice, string sxrq, string sxbj ) : int | ||
com | short | |
baud | int | |
kmm | string | |
kzt | short | |
kh | string | |
dqdm | string | |
yhh | string | |
tm | string | |
ql | int | |
csql | int | |
ccsql | int | |
cs | short | |
ljgql | int | |
bkcs | short | |
ljyql | int | |
bjql | int | |
czsx | int | |
tzed | int | |
sqrq | string | |
cssqrq | string | |
oldprice | int | |
newprice | int | |
sxrq | string | |
sxbj | string | |
return | int |
public WriteNewCard ( short com, int baud, string &kmm, short kzt, string kh, string dqdm, string yhh, string tm, int ql, int csql, int ccsql, short cs, int ljgql, short bkcs, int ljyql, int bjql, int czsx, int tzed, string sqrq, string cssqrq, int oldprice, int newprice, string sxrq, string sxbj, int klx, string meterid ) : int | ||
com | short | |
baud | int | |
kmm | string | |
kzt | short | |
kh | string | |
dqdm | string | |
yhh | string | |
tm | string | |
ql | int | |
csql | int | |
ccsql | int | |
cs | short | |
ljgql | int | |
bkcs | short | |
ljyql | int | |
bjql | int | |
czsx | int | |
tzed | int | |
sqrq | string | |
cssqrq | string | |
oldprice | int | |
newprice | int | |
sxrq | string | |
sxbj | string | |
klx | int | |
meterid | string | |
return | int |