C# Class service.WorkService

Inheritance: WebServerInterface
Afficher le fichier Open project: DuBin1988/newsellinggas

Méthodes publiques

Méthode 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

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

Method Details

CloseServer() public méthode

public CloseServer ( ) : void
Résultat void

FormatGasCard() public méthode

public FormatGasCard ( string factory, string kmm, string kh, string dqdm ) : Ret
factory string
kmm string
kh string
dqdm string
Résultat Ret

GetFlashPolicy() public méthode

public GetFlashPolicy ( ) : Stream
Résultat Stream

GetSilverlightPolicy() public méthode

public GetSilverlightPolicy ( ) : Stream
Résultat Stream

ReadCard() public méthode

public ReadCard ( ) : CardInfo
Résultat CardInfo

StartServer() public méthode

public StartServer ( ) : void
Résultat void

Test() public méthode

public Test ( string name ) : string
name string
Résultat string

WriteGasCard() public méthode

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
Résultat WriteRet

WriteNewCard() public méthode

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
Résultat WriteRet