Свойство | Тип | Описание | |
---|---|---|---|
log | NLog.Logger |
Метод | Описание | |
---|---|---|
AddBindingParameters ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase, System |
||
ApplyDispatchBehavior ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void | ||
Connect ( string cgwPwd ) : |
连接融合网关
|
|
Disconnect ( ) : |
断开融合网关
|
|
DisconnectMonitor ( ) : |
Disconnect monitorPlat
|
|
GetRefreshStatus ( |
获取监控摄像头列表刷新状态,返回结果为0是表示刷新完毕,为1是刷新操作中。当查询刷新状态为0时,可调用获取监控摄像头列表接口,获取刷新后监控摄像头列表
|
|
GetSipPort ( uint &sipPort ) : |
获取软终端被叫sip端口号
|
|
ImportCGWLicense ( string license ) : |
导入网关license文件
|
|
InitService ( ) : |
初始化融合网管服务
|
|
Instance ( ) : |
构造函数 单例模式实例
|
|
KeepAliver ( ) : |
保持连接
|
|
LicenseInit ( ) : void |
LicenseInit
|
|
Load ( ) : |
线程加载cgw
|
|
QueryMonitorCamera ( PlatformType platformType, |
获取监控设备列表
|
|
RefreshMonitorCamera ( ) : |
刷新监控摄像头列表
|
|
SetMic ( string channelLabel, string cameraNo, bool isOn ) : |
设置麦克风
|
|
SetSpeaker ( string channelLabel, string cameraNo, bool isOn ) : |
设置扬声器
|
|
StartControlPtz ( string cameraNo, PtzCommandType ptzCommand, int param ) : |
开始PTZ操作
|
|
StopAllStream ( ) : |
线程Unload cgw
|
|
StopControlPtz ( string cameraNo, PtzCommandType ptzCommandType ) : |
关闭PTZ操作
|
|
SwitchChannelVideoSource ( string channelLabel, string cameraNo ) : |
设置监控通道视频源
|
|
SyncMonitorChannel ( List |
同步通道信息
|
|
UpdateMonitorChannel ( List |
分配监控通道
|
|
Validate ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void |
Метод | Описание | |
---|---|---|
CgwService ( ) : System |
単例的构造函数
|
|
CheckSession ( ) : |
检查Session
|
public AddBindingParameters ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase, System |
||
serviceDescription | System.ServiceModel.Description.ServiceDescription | |
serviceHostBase | ServiceHostBase | |
endpoints | System |
|
bindingParameters | System.ServiceModel.Channels.BindingParameterCollection | |
Результат | void |
public ApplyDispatchBehavior ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void | ||
serviceDescription | System.ServiceModel.Description.ServiceDescription | |
serviceHostBase | ServiceHostBase | |
Результат | void |
public Connect ( string cgwPwd ) : |
||
cgwPwd | string | 连接字符串 |
Результат |
public DisconnectMonitor ( ) : |
||
Результат |
public GetRefreshStatus ( |
||
refreshStatus | ||
Результат |
public GetSipPort ( uint &sipPort ) : |
||
sipPort | uint | |
Результат |
public ImportCGWLicense ( string license ) : |
||
license | string | |
Результат |
public QueryMonitorCamera ( PlatformType platformType, |
||
platformType | PlatformType | |
pageParam | ||
cameraInfoList | List |
|
cameraGroupList | List |
|
nodeRelationList | List |
所属分组关系信息 |
pagesInfo | ||
Результат |
public RefreshMonitorCamera ( ) : |
||
Результат |
public SetMic ( string channelLabel, string cameraNo, bool isOn ) : |
||
channelLabel | string | |
cameraNo | string | |
isOn | bool | |
Результат |
public SetSpeaker ( string channelLabel, string cameraNo, bool isOn ) : |
||
channelLabel | string | |
cameraNo | string | |
isOn | bool | |
Результат |
public StartControlPtz ( string cameraNo, PtzCommandType ptzCommand, int param ) : |
||
cameraNo | string | 摄像头NO |
ptzCommand | PtzCommandType | 操作类型 |
param | int | 命令参数 |
Результат |
public StopControlPtz ( string cameraNo, PtzCommandType ptzCommandType ) : |
||
cameraNo | string | |
ptzCommandType | PtzCommandType | |
Результат |
public SwitchChannelVideoSource ( string channelLabel, string cameraNo ) : |
||
channelLabel | string | 通道label |
cameraNo | string | 摄像头NO |
Результат |
public SyncMonitorChannel ( List |
||
channelInfoList | List |
|
Результат |
public UpdateMonitorChannel ( List |
||
channelInfoList | List |
|
Результат |
public Validate ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void | ||
serviceDescription | System.ServiceModel.Description.ServiceDescription | |
serviceHostBase | ServiceHostBase | |
Результат | void |