C# Class Card.GenericService

Inheritance: ICardService
ファイルを表示 Open project: DuBin1988/newsellinggas Class Usage Examples

Public Methods

Method Description
FormatGasCard ( string factory, string kmm, string kh, string dqdm ) : Ret
GenericService ( CardInfos ci, short port, int br ) : System
OpenCard ( string factory, string kmm, string kh, string dqdm ) : Ret
ReadCard ( ) : CardInfo
Test ( Stream name ) : string
WriteGasCard ( Stream param, string factory, string kmm, string kh, string dqdm, string ql, string csql, string ccsql, string cs, string ljgql, string bjql, string czsx, string tzed, string sqrq, string cssqrq, string oldprice, string newprice, string sxrq, string sxbj ) : WriteRet
WriteNewCard ( Stream param, string factory, string kmm, string kzt, string kh, string dqdm, string yhh, string tm, string ql, string csql, string ccsql, string cs, string ljgql, string bkcs, string ljyql, string bjql, string czsx, string tzed, string sqrq, string cssqrq, string oldprice, string newprice, string sxrq, string sxbj, string klx, string meterid ) : WriteRet

Private Methods

Method Description
GetCard ( string name ) : ICard
GetCardSpecificError ( ICard card, int code ) : String
SetCardNewParameters ( ICard card, Stream parameter ) : void

Method Details

FormatGasCard() public method

public FormatGasCard ( string factory, string kmm, string kh, string dqdm ) : Ret
factory string
kmm string
kh string
dqdm string
return Ret

GenericService() public method

public GenericService ( CardInfos ci, short port, int br ) : System
ci CardInfos
port short
br int
return System

OpenCard() public method

public OpenCard ( string factory, string kmm, string kh, string dqdm ) : Ret
factory string
kmm string
kh string
dqdm string
return Ret

ReadCard() public method

public ReadCard ( ) : CardInfo
return CardInfo

Test() public method

public Test ( Stream name ) : string
name Stream
return string

WriteGasCard() public method

public WriteGasCard ( Stream param, string factory, string kmm, string kh, string dqdm, string ql, string csql, string ccsql, string cs, string ljgql, string bjql, string czsx, string tzed, string sqrq, string cssqrq, string oldprice, string newprice, string sxrq, string sxbj ) : WriteRet
param Stream
factory string
kmm string
kh string
dqdm string
ql string
csql string
ccsql string
cs string
ljgql string
bjql string
czsx string
tzed string
sqrq string
cssqrq string
oldprice string
newprice string
sxrq string
sxbj string
return WriteRet

WriteNewCard() public method

public WriteNewCard ( Stream param, string factory, string kmm, string kzt, string kh, string dqdm, string yhh, string tm, string ql, string csql, string ccsql, string cs, string ljgql, string bkcs, string ljyql, string bjql, string czsx, string tzed, string sqrq, string cssqrq, string oldprice, string newprice, string sxrq, string sxbj, string klx, string meterid ) : WriteRet
param Stream
factory string
kmm string
kzt string
kh string
dqdm string
yhh string
tm string
ql string
csql string
ccsql string
cs string
ljgql string
bkcs string
ljyql string
bjql string
czsx string
tzed string
sqrq string
cssqrq string
oldprice string
newprice string
sxrq string
sxbj string
klx string
meterid string
return WriteRet