C# Class Com.Aote.ObjectTools.AoPhone

东进交换机类,
Inheritance: CustomTypeHelper, IAsyncObject
显示文件 Open project: DuBin1988/restv2 Class Usage Examples

Public Properties

Property Type Description
PhoneAttresProperty System.Windows.DependencyProperty
instance AoPhone

Public Methods

Method Description
Answer ( ) : void
AoPhone ( ) : System
CallPhone ( ) : void
ConfirmHandUp ( ) : void
CountBusyTime ( string oldState, string newState ) : void
GetInstance ( ) : AoPhone
GetPhoneAttres ( FrameworkElement ui ) : string
HandUp ( ) : void
ListenTo ( string channelListened ) : void
LoadPhoneStates ( ) : void
Logon ( ) : void

登录注册

OnCompleted ( System e ) : void
OnFieldChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void
Playback ( ) : void
SaveToJson ( ) : System.Json.JsonObject

保存对象,返回保存对象的Json格式的指令,不执行实际的后台保存工作。统一由BatchExcuteAction 把要执行的数据库操作数据发送给后台服务。

SetBusy ( ) : void
SetFree ( ) : void
SetPhoneAttres ( FrameworkElement ui, object value ) : void
ToJson ( ) : System.Json.JsonObject
startwav ( ) : void

Private Methods

Method Description
Init ( ) : void
Save_Tick ( object sender, EventArgs e1 ) : void
isAnswer ( ) : bool
work_Tick ( object sender, EventArgs e ) : void

Method Details

Answer() public method

public Answer ( ) : void
return void

AoPhone() public method

public AoPhone ( ) : System
return System

CallPhone() public method

public CallPhone ( ) : void
return void

ConfirmHandUp() public method

public ConfirmHandUp ( ) : void
return void

CountBusyTime() public method

public CountBusyTime ( string oldState, string newState ) : void
oldState string
newState string
return void

GetInstance() public static method

public static GetInstance ( ) : AoPhone
return AoPhone

GetPhoneAttres() public static method

public static GetPhoneAttres ( FrameworkElement ui ) : string
ui System.Windows.FrameworkElement
return string

HandUp() public method

public HandUp ( ) : void
return void

ListenTo() public method

public ListenTo ( string channelListened ) : void
channelListened string
return void

LoadPhoneStates() public method

public LoadPhoneStates ( ) : void
return void

Logon() public method

登录注册
public Logon ( ) : void
return void

OnCompleted() public method

public OnCompleted ( System e ) : void
e System
return void

OnFieldChanged() public static method

public static OnFieldChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void
obj System.Windows.DependencyObject
args System.Windows.DependencyPropertyChangedEventArgs
return void

Playback() public method

public Playback ( ) : void
return void

SaveToJson() public method

保存对象,返回保存对象的Json格式的指令,不执行实际的后台保存工作。统一由BatchExcuteAction 把要执行的数据库操作数据发送给后台服务。
public SaveToJson ( ) : System.Json.JsonObject
return System.Json.JsonObject

SetBusy() public method

public SetBusy ( ) : void
return void

SetFree() public method

public SetFree ( ) : void
return void

SetPhoneAttres() public static method

public static SetPhoneAttres ( FrameworkElement ui, object value ) : void
ui System.Windows.FrameworkElement
value object
return void

ToJson() public method

public ToJson ( ) : System.Json.JsonObject
return System.Json.JsonObject

startwav() public method

public startwav ( ) : void
return void

Property Details

PhoneAttresProperty public_oe static_oe property

public static DependencyProperty,System.Windows PhoneAttresProperty
return System.Windows.DependencyProperty

instance public_oe static_oe property

public static AoPhone,Com.Aote.ObjectTools instance
return AoPhone