C# Class voice_card.service.WorkService

Inheritance: WebServerInterface
Exibir arquivo Open project: DuBin1988/newsellinggas Class Usage Examples

Public Properties

Property Type Description
Lines ObservableCollection

Public Methods

Method Description
CallPhone ( int lineNum, string phone ) : string
CloseServer ( ) : void
ConfirmHandup ( int lineNum ) : void
Exit ( ) : void
GetFlashPolicy ( ) : Stream
GetLineInfo ( int lineNum, string gonghao ) : LineInfo
GetSilverlightPolicy ( ) : Stream
HandUp ( int lineNum ) : String
InitLines ( ObservableCollection objs ) : void
LoadDriver ( ObservableCollection objs ) : void
Play ( string recordId ) : Stream
Receiver ( int lineNum ) : String
ResetLine ( int LineNo ) : void
ResetLineInner ( int LineNo ) : void
Run ( ) : void
SetBusy ( int lineNum ) : void
StartServer ( ) : void
StateChange ( int lineNum, int state ) : void
getFreeTrunk ( ) : int
playWelcome ( ushort lineNum ) : void
stopWelcome ( ushort lineNum ) : void
test ( ) : string
yzDoWork ( LineInfo line ) : void

Private Methods

Method Description
ConvertDtmf ( short ch ) : short
GetFreeUser ( LineInfo line ) : int
GetSavePath ( ) : string
LoadAssign ( ) : void
StringToStream ( string result ) : Stream
getCaller ( LineInfo trunk ) : string
getRandom ( ) : int
setListen ( LineInfo line ) : void

Method Details

CallPhone() public method

public CallPhone ( int lineNum, string phone ) : string
lineNum int
phone string
return string

CloseServer() public method

public CloseServer ( ) : void
return void

ConfirmHandup() public method

public ConfirmHandup ( int lineNum ) : void
lineNum int
return void

Exit() public method

public Exit ( ) : void
return void

GetFlashPolicy() public method

public GetFlashPolicy ( ) : Stream
return Stream

GetLineInfo() public method

public GetLineInfo ( int lineNum, string gonghao ) : LineInfo
lineNum int
gonghao string
return voice_card.entity.LineInfo

GetSilverlightPolicy() public method

public GetSilverlightPolicy ( ) : Stream
return Stream

HandUp() public method

public HandUp ( int lineNum ) : String
lineNum int
return String

InitLines() public method

public InitLines ( ObservableCollection objs ) : void
objs ObservableCollection
return void

LoadDriver() public method

public LoadDriver ( ObservableCollection objs ) : void
objs ObservableCollection
return void

Play() public method

public Play ( string recordId ) : Stream
recordId string
return Stream

Receiver() public method

public Receiver ( int lineNum ) : String
lineNum int
return String

ResetLine() public method

public ResetLine ( int LineNo ) : void
LineNo int
return void

ResetLineInner() public method

public ResetLineInner ( int LineNo ) : void
LineNo int
return void

Run() public method

public Run ( ) : void
return void

SetBusy() public method

public SetBusy ( int lineNum ) : void
lineNum int
return void

StartServer() public method

public StartServer ( ) : void
return void

StateChange() public method

public StateChange ( int lineNum, int state ) : void
lineNum int
state int
return void

getFreeTrunk() public method

public getFreeTrunk ( ) : int
return int

playWelcome() public method

public playWelcome ( ushort lineNum ) : void
lineNum ushort
return void

stopWelcome() public method

public stopWelcome ( ushort lineNum ) : void
lineNum ushort
return void

test() public method

public test ( ) : string
return string

yzDoWork() public method

public yzDoWork ( LineInfo line ) : void
line voice_card.entity.LineInfo
return void

Property Details

Lines public_oe static_oe property

public static ObservableCollection Lines
return ObservableCollection