Method | Description | |
---|---|---|
Connect ( string monitorPwd ) : |
连接监控平台管理服务
|
|
Disconnect ( ) : |
断开监控平台管理服务
|
|
GetAllCameras ( Cgw platformType, Common pageParam, List |
获取监控设备列表
|
|
GetRefreshStatus ( SmcError &refreshStatus ) : |
获取监控摄像头列表刷新状态,返回结果为0是表示刷新完毕,为1是刷新操作中。当查询刷新状态为0时,可调用获取监控摄像头列表接口,获取刷新后监控摄像头列表
|
|
Instance ( ) : |
单实例
|
|
KeepAliver ( ) : |
保持连接
|
|
MakeIFrame ( string cameraNo ) : |
重发I帧(暂不支持)
|
|
RefreshMonitorCamera ( ) : |
刷新监控摄像头列表
|
|
SetDataCallBackFunc ( Common dataCallBack ) : void |
指定码流回调函数
|
|
SetDataExceptionCallBackFunc ( Common dataExceptionCallBack ) : void |
指定码流数据异常回调函数
|
|
SetMic ( string cameraNo, bool isOn ) : |
设置麦克风
|
|
SetSpeaker ( string cameraNo, bool isOn ) : |
设置扬声器
|
|
StartControlPtz ( string cameraNo, Common ptzCommand, int param ) : |
开始摄像头PTZ操作
|
|
StartReceiveVideoByPipe ( string cameraNo, string &pipeName ) : |
预览摄像头视频,使用命名管道方式接收数据
|
|
StopControlPtz ( string cameraNo, Common ptzCommandType ) : |
关闭PTZ操作
|
|
StopReceiveVideoByPipe ( string cameraNo ) : |
停止预览摄像头视频,并清理命名管道
|
Method | Description | |
---|---|---|
CgwMonitorManageAdapter ( ) : System |
私有构造函数
|
|
SetCgwErrNo ( CgwMonitorManageServiceReference monitorSmcErr ) : |
设置返回smc的错误码
|
public Connect ( string monitorPwd ) : |
||
monitorPwd | string | 加密后的密码字符串 |
return |
public GetAllCameras ( Cgw platformType, Common pageParam, List |
||
platformType | Cgw | |
pageParam | Common | |
cameraList | List |
|
groupList | List |
|
nodeRelationList | List |
所属分组关系信息 |
pageInfo | ||
licenseInfo | Cgw | |
return |
public GetRefreshStatus ( SmcError &refreshStatus ) : |
||
refreshStatus | SmcError | 返回值,刷新状态 |
return |
public static Instance ( ) : |
||
return |
public MakeIFrame ( string cameraNo ) : |
||
cameraNo | string | 摄像头编号 |
return |
public RefreshMonitorCamera ( ) : |
||
return |
public SetDataCallBackFunc ( Common dataCallBack ) : void | ||
dataCallBack | Common | 回调函数 |
return | void |
public SetDataExceptionCallBackFunc ( Common dataExceptionCallBack ) : void | ||
dataExceptionCallBack | Common | 回调函数 |
return | void |
public SetMic ( string cameraNo, bool isOn ) : |
||
cameraNo | string | |
isOn | bool | |
return |
public SetSpeaker ( string cameraNo, bool isOn ) : |
||
cameraNo | string | |
isOn | bool | |
return |
public StartControlPtz ( string cameraNo, Common ptzCommand, int param ) : |
||
cameraNo | string | 摄像头NO |
ptzCommand | Common | 操作类型 |
param | int | 命令参数 |
return |
public StartReceiveVideoByPipe ( string cameraNo, string &pipeName ) : |
||
cameraNo | string | |
pipeName | string | |
return |
public StopControlPtz ( string cameraNo, Common ptzCommandType ) : |
||
cameraNo | string | |
ptzCommandType | Common | |
return |
public StopReceiveVideoByPipe ( string cameraNo ) : |
||
cameraNo | string | |
return |