C# Класс service.WorkService

Наследование: WebServerInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
FindErrorInfo ( int err ) : string
GetCard ( string name ) : ICard
StringToStream ( string result ) : Stream
worker_DoWork ( object sender, DoWorkEventArgs e ) : void

Описание методов

CloseServer() публичный Метод

public CloseServer ( ) : void
Результат void

FormatGasCard() публичный Метод

public FormatGasCard ( string factory, string kmm, string kh, string dqdm ) : Ret
factory string
kmm string
kh string
dqdm string
Результат Ret

GetFlashPolicy() публичный Метод

public GetFlashPolicy ( ) : Stream
Результат Stream

GetSilverlightPolicy() публичный Метод

public GetSilverlightPolicy ( ) : Stream
Результат Stream

ReadCard() публичный Метод

public ReadCard ( ) : CardInfo
Результат CardInfo

StartServer() публичный Метод

public StartServer ( ) : void
Результат void

Test() публичный Метод

public Test ( string name ) : string
name string
Результат string

WriteGasCard() публичный Метод

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
Результат WriteRet

WriteNewCard() публичный Метод

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
Результат WriteRet