Class: TencentCloud::Iotvideoindustry::V20201201::ControlDevicePTZRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::ControlDevicePTZRequest
- Defined in:
- lib/v20201201/models.rb
Overview
ControlDevicePTZ请求参数结构体
Instance Attribute Summary collapse
-
#ChannelId ⇒ Object
stop - 停止当前PTZ信令 left - 向左移动 right - 向右移动 up - 向上移动 down - 向下移动 leftUp - 左上移动 leftDown - 左下移动 rightUp - 右上移动 rightDown - 右下移动 zoomOut - 镜头缩小 zoomIn - 镜头放大 irisIn - 光圈缩小 irisOut - 光圈放大 focusIn - 焦距变近 focusOut - 焦距变远.
-
#Command ⇒ Object
stop - 停止当前PTZ信令 left - 向左移动 right - 向右移动 up - 向上移动 down - 向下移动 leftUp - 左上移动 leftDown - 左下移动 rightUp - 右上移动 rightDown - 右下移动 zoomOut - 镜头缩小 zoomIn - 镜头放大 irisIn - 光圈缩小 irisOut - 光圈放大 focusIn - 焦距变近 focusOut - 焦距变远.
-
#DeviceId ⇒ Object
stop - 停止当前PTZ信令 left - 向左移动 right - 向右移动 up - 向上移动 down - 向下移动 leftUp - 左上移动 leftDown - 左下移动 rightUp - 右上移动 rightDown - 右下移动 zoomOut - 镜头缩小 zoomIn - 镜头放大 irisIn - 光圈缩小 irisOut - 光圈放大 focusIn - 焦距变近 focusOut - 焦距变远.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(deviceid = nil, command = nil, channelid = nil) ⇒ ControlDevicePTZRequest
constructor
A new instance of ControlDevicePTZRequest.
Constructor Details
#initialize(deviceid = nil, command = nil, channelid = nil) ⇒ ControlDevicePTZRequest
Returns a new instance of ControlDevicePTZRequest.
365 366 367 368 369 |
# File 'lib/v20201201/models.rb', line 365 def initialize(deviceid=nil, command=nil, channelid=nil) @DeviceId = deviceid @Command = command @ChannelId = channelid end |
Instance Attribute Details
#ChannelId ⇒ Object
stop - 停止当前PTZ信令left - 向左移动right - 向右移动up - 向上移动down - 向下移动leftUp - 左上移动leftDown - 左下移动rightUp - 右上移动rightDown - 右下移动zoomOut - 镜头缩小zoomIn - 镜头放大irisIn - 光圈缩小irisOut - 光圈放大focusIn - 焦距变近focusOut - 焦距变远
363 364 365 |
# File 'lib/v20201201/models.rb', line 363 def ChannelId @ChannelId end |
#Command ⇒ Object
stop - 停止当前PTZ信令left - 向左移动right - 向右移动up - 向上移动down - 向下移动leftUp - 左上移动leftDown - 左下移动rightUp - 右上移动rightDown - 右下移动zoomOut - 镜头缩小zoomIn - 镜头放大irisIn - 光圈缩小irisOut - 光圈放大focusIn - 焦距变近focusOut - 焦距变远
363 364 365 |
# File 'lib/v20201201/models.rb', line 363 def Command @Command end |
#DeviceId ⇒ Object
stop - 停止当前PTZ信令left - 向左移动right - 向右移动up - 向上移动down - 向下移动leftUp - 左上移动leftDown - 左下移动rightUp - 右上移动rightDown - 右下移动zoomOut - 镜头缩小zoomIn - 镜头放大irisIn - 光圈缩小irisOut - 光圈放大focusIn - 焦距变近focusOut - 焦距变远
363 364 365 |
# File 'lib/v20201201/models.rb', line 363 def DeviceId @DeviceId end |
Instance Method Details
#deserialize(params) ⇒ Object
371 372 373 374 375 |
# File 'lib/v20201201/models.rb', line 371 def deserialize(params) @DeviceId = params['DeviceId'] @Command = params['Command'] @ChannelId = params['ChannelId'] end |