C# Class service.WorkService

Inheritance: WebServerInterface
Show file Open project: DuBin1988/newsellinggas

Public Methods

Method Description
CloseServer ( ) : void
FormatGasCard ( string factory, string kmm, string kh, string dqdm ) : Ret
GetFlashPolicy ( ) : Stream
GetSilverlightPolicy ( ) : Stream
ReadCard ( ) : CardInfo
StartServer ( ) : void
Test ( string name ) : string
WriteGasCard ( string factory, string kmm, string kh, string dqdm, Int32 ql, Int32 csql, Int32 ccsql, Int16 cs, Int32 ljgql, Int32 bjql, Int32 czsx, Int32 tzed, string sqrq, string cssqrq, Int32 oldprice, Int32 newprice, string sxrq, string sxbj ) : WriteRet
WriteNewCard ( string factory, string kmm, Int16 kzt, string kh, string dqdm, string yhh, string tm, Int32 ql, Int32 csql, Int32 ccsql, Int16 cs, Int32 ljgql, Int16 bkcs, Int32 ljyql, Int32 bjql, Int32 czsx, Int32 tzed, string sqrq, string cssqrq, Int32 oldprice, Int32 newprice, string sxrq, string sxbj ) : WriteRet

Private Methods

Method Description
FindErrorInfo ( int err ) : string
GetCard ( string name ) : ICard
StringToStream ( string result ) : Stream
worker_DoWork ( object sender, DoWorkEventArgs e ) : void

Method Details

CloseServer() public method

public CloseServer ( ) : void
return void

FormatGasCard() public method

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

GetFlashPolicy() public method

public GetFlashPolicy ( ) : Stream
return Stream

GetSilverlightPolicy() public method

public GetSilverlightPolicy ( ) : Stream
return Stream

ReadCard() public method

public ReadCard ( ) : CardInfo
return CardInfo

StartServer() public method

public StartServer ( ) : void
return void

Test() public method

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

WriteGasCard() public method

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

WriteNewCard() public method

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