Skip to content

Commit d1b78fa

Browse files
committed
make array of relayoutputs and digitalinputs
1 parent 4c9f12f commit d1b78fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

device/types.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -680,15 +680,15 @@ type GetRelayOutputs struct {
680680
}
681681

682682
type GetRelayOutputsResponse struct {
683-
RelayOutputs onvif.RelayOutput
683+
RelayOutputs []onvif.RelayOutput
684684
}
685685

686686
type GetDigitalInputs struct {
687687
XMLName string `xml:"tmd:GetDigitalInputs"`
688688
}
689689

690690
type GetDigitalInputsResponse struct {
691-
DigitalInputs onvif.DigitalInput
691+
DigitalInputs []onvif.DigitalInput
692692
}
693693

694694
type SetRelayOutputSettings struct {

0 commit comments

Comments
 (0)