@@ -3,34 +3,33 @@ package api
33import (
44 "github.com/enbility/eebus-go/api"
55 spineapi "github.com/enbility/spine-go/api"
6- "github.com/enbility/spine-go/model"
76)
87
98type CaCDTInterface interface {
109 api.UseCaseInterface
1110
1211 // Scenario 1
1312
14- // Return the current setpoints data
13+ // Return the setpoints.
1514 //
1615 // parameters:
1716 // - entity: the entity to get the setpoints data from
1817 //
1918 // return values:
20- // - setpoints: A map of the setpoints for supported modes
19+ // - setpoints: A list of setpoints
2120 //
2221 // possible errors:
2322 // - ErrDataNotAvailable if no such limit is (yet) available
2423 // - and others
2524 Setpoints (entity spineapi.EntityRemoteInterface ) ([]Setpoint , error )
2625
27- // Return the constraints for the setpoints
26+ // Return the constraints for the setpoints.
2827 //
2928 // parameters:
3029 // - entity: the entity to get the setpoints constraints from
3130 //
3231 // return values:
33- // - setpointConstraints: A map of the constraints for supported modes
32+ // - setpointConstraints: A list of setpoint constraints
3433 //
3534 // possible errors:
3635 // - ErrDataNotAvailable if no such limit is (yet) available
@@ -42,6 +41,6 @@ type CaCDTInterface interface {
4241 // parameters:
4342 // - entity: the entity to write the setpoint to
4443 // - mode: the mode to write the setpoint for
45- // - degC : the temperature setpoint value to write
46- WriteSetpoint (entity spineapi.EntityRemoteInterface , mode model. HvacOperationModeTypeType , degC float64 ) error
44+ // - temperature : the temperature setpoint value to write
45+ WriteSetpoint (entity spineapi.EntityRemoteInterface , mode HvacOperationModeType , temperature float64 ) error
4746}
0 commit comments