This repository was archived by the owner on Jun 29, 2024. It is now read-only.
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ func (e *UCLPC) AddUseCase() {
66
66
localEntity := e .service .LocalDevice ().EntityForType (model .EntityTypeTypeCEM )
67
67
68
68
localEntity .AddUseCaseSupport (
69
- model .UseCaseActorTypeCEM ,
69
+ model .UseCaseActorTypeEnergyGuard ,
70
70
e .UseCaseName (),
71
71
model .SpecificationVersionType ("1.0.0" ),
72
72
"release" ,
@@ -77,7 +77,7 @@ func (e *UCLPC) AddUseCase() {
77
77
func (e * UCLPC ) UpdateUseCaseAvailability (available bool ) {
78
78
localEntity := e .service .LocalDevice ().EntityForType (model .EntityTypeTypeCEM )
79
79
80
- localEntity .SetUseCaseAvailability (model .UseCaseActorTypeCEM , e .UseCaseName (), available )
80
+ localEntity .SetUseCaseAvailability (model .UseCaseActorTypeEnergyGuard , e .UseCaseName (), available )
81
81
}
82
82
83
83
// returns if the entity supports the usecase
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ func (e *UCLPCServer) AddUseCase() {
173
173
localEntity := e .service .LocalDevice ().EntityForType (model .EntityTypeTypeCEM )
174
174
175
175
localEntity .AddUseCaseSupport (
176
- model .UseCaseActorTypeCEM ,
176
+ model .UseCaseActorTypeControllableSystem ,
177
177
e .UseCaseName (),
178
178
model .SpecificationVersionType ("1.0.0" ),
179
179
"release" ,
@@ -184,7 +184,7 @@ func (e *UCLPCServer) AddUseCase() {
184
184
func (e * UCLPCServer ) UpdateUseCaseAvailability (available bool ) {
185
185
localEntity := e .service .LocalDevice ().EntityForType (model .EntityTypeTypeCEM )
186
186
187
- localEntity .SetUseCaseAvailability (model .UseCaseActorTypeCEM , e .UseCaseName (), available )
187
+ localEntity .SetUseCaseAvailability (model .UseCaseActorTypeControllableSystem , e .UseCaseName (), available )
188
188
}
189
189
190
190
// returns if the entity supports the usecase
You can’t perform that action at this time.
0 commit comments