6#ifndef ZRC_ICONTROLSYSTEMHELPER_H
7#define ZRC_ICONTROLSYSTEMHELPER_H
87 std::vector<ControlSystemDeviceParam>
params;
100 std::vector<ControlSystemDeviceMethod>
methods;
253 virtual ZRCSDKError ControlZRCSDevice(
const std::string& deviceID,
const std::string& methodID,
const std::string& paramID,
const std::string& value) = 0;
ControlSystemDeviceMethodType
Control system device method type Here are more detailed structural descriptions.
@ ControlSystemDeviceMethodTypeRange
Range.
@ ControlSystemDeviceMethodTypeAction
Action.
@ ControlSystemDeviceMethodTypeInit
Init.
@ ControlSystemDeviceMethodTypeNone
None.
@ ControlSystemDeviceMethodTypeActions
Actions.
ControlSystemDeviceStatus
Control system device status Here are more detailed structural descriptions.
@ ControlSystemDeviceStatusConnected
Connected.
@ ControlSystemDeviceStatusConnecting
Connecting.
@ ControlSystemDeviceStatusDisconnected
Disconnected.
ControlSystemUpdateDeviceType
Control system update device type Here are more detailed structural descriptions.
@ ControlSystemUpdateDeviceTypeInit
Init.
@ ControlSystemUpdateDeviceTypeAdd
Add.
@ ControlSystemUpdateDeviceTypeUpdate
Update.
ControlSystemErrorCode
Control system error code Here are more detailed structural descriptions.
@ ControlSystemErrorCodeJsonSyntax
Json syntax error.
@ ControlSystemErrorCodeIP2SLSettings
IP2SL settings error.
@ ControlSystemErrorCodeJsonConfig
Json config error.
@ ControlSystemErrorCodeParamID
Param ID error.
@ ControlSystemErrorCodeSuccess
Success.
@ ControlSystemErrorCodeEmptyDevice
Empty device.
@ ControlSystemErrorCodeIP
IP error.
@ ControlSystemErrorCodeDeviceID
Device ID error.
@ ControlSystemErrorCodeIPIsPublic
IP is public.
@ ControlSystemErrorCodeNoConfig
No Config error.
@ ControlSystemErrorCodeUnknown
Unknown.
@ ControlSystemErrorCodeMethodID
Method ID error.
ZRCSDKError
SDK error types. Here are more detailed structural descriptions.
Control System helper interface.
virtual ZRCSDKError OpenRoomControls(bool open)=0
Notify ZR controller enter room control system state.
virtual ZRCSDKError GetZRCSSceneList(std::vector< ControlSystemSceneInfo > &scenes)=0
Query current control system scene list.
virtual ~IControlSystemHelper()
virtual ZRCSDKError ControlZRCSDevice(const std::string &deviceID, const std::string &methodID, const std::string ¶mID, const std::string &value)=0
Control ZRCS device, execute the action with specified params.
virtual ZRCSDKError ExecuteZRCSScene(const std::string &sceneID)=0
Execute control system scene.
virtual ZRCSDKError ConnectZRCSDevice(const std::string &deviceID)=0
Connect to ZRCS device.
virtual ZRCSDKError RegisterSink(IControlSystemHelperSink *pSink)=0
Register ControlSystem helper callback sink.
virtual ZRCSDKError GetZRCSDeviceList(ControlSystemDeviceList &deviceList)=0
Query current control system device list info.
virtual ZRCSDKError DeregisterSink(IControlSystemHelperSink *pSink)=0
Deregister meeting ControlSystem callback sink.
virtual ZRCSDKError IsZRCSEnabled(bool &enabled)=0
Query if control system is enabled currently.
Control System helper event callback.
virtual ~IControlSystemHelperSink()
virtual void OnUpdateZRCSSceneList(const std::vector< ControlSystemSceneInfo > &scenes)=0
Zoom Room Control System scene list update notification.
virtual void OnUpdateZRCSDeviceList(ControlSystemUpdateDeviceType type, const ControlSystemDeviceList &list)=0
Zoom Room Control System device list update notification.
virtual void OnEnableZRCSNotification(bool enable)=0
Enable Zoom Room Control System notification.
Control system device info.
std::string deviceID
Device ID.
ControlSystemDeviceStatus status
Device status, see ControlSystemDeviceStatus enum.
std::vector< ControlSystemDeviceMethod > methods
Supports methods.
Control system device list.
std::vector< ControlSystemDeviceInfo > devices
Devices.
ControlSystemErrorCode errorCode
Error code, see ControlSystemErrorCode enum.
Control system device method.
std::string command
Command.
std::vector< ControlSystemDeviceParam > params
Param list.
ControlSystemDeviceMethodType type
Method type, see ControlSystemDeviceMethodType enum.
std::string methodID
Method ID.
bool isHidden
TRUE indicates this is hidden.
bool isMain
TRUE indicates this is a main method.
Control system device param.
std::string paramID
Param ID.
Control system scene info.
std::string sceneID
Scene ID.