inputs method added

This commit is contained in:
Cedric Verstraeten
2023-12-25 20:57:16 +01:00
parent 8902e4e789
commit ba8bcf19bb
9 changed files with 50 additions and 0 deletions

View File

@@ -341,6 +341,15 @@ func (_ *GetRelayOutputsFunction) Response() interface{} {
return &GetRelayOutputsResponse{}
}
type GetDigitalInputsFunction struct{}
func (_ *GetDigitalInputsFunction) Request() interface{} {
return &GetDigitalInputs{}
}
func (_ *GetDigitalInputsFunction) Response() interface{} {
return &GetDigitalInputsResponse{}
}
type GetRemoteDiscoveryModeFunction struct{}
func (_ *GetRemoteDiscoveryModeFunction) Request() interface{} {

View File

@@ -683,6 +683,14 @@ type GetRelayOutputsResponse struct {
RelayOutputs onvif.RelayOutput
}
type GetDigitalInputs struct {
XMLName string `xml:"tmd:GetDigitalInputs"`
}
type GetDigitalInputsResponse struct {
DigitalInputs onvif.DigitalInput
}
type SetRelayOutputSettings struct {
XMLName string `xml:"tds:SetRelayOutputSettings"`
RelayOutputToken onvif.ReferenceToken `xml:"tds:RelayOutputToken"`