@@ -94,7 +94,7 @@ func (e *UCLPCServer) AddFeatures() {
94
94
f .AddFunctionType (model .FunctionTypeDeviceConfigurationKeyValueListData , true , true )
95
95
96
96
var configId model.DeviceConfigurationKeyIdType = 0
97
- // get the heighest keyId
97
+ // get the highest keyId
98
98
if desc , err := spine .LocalFeatureDataCopyOfType [* model.DeviceConfigurationKeyValueDescriptionListDataType ](
99
99
f , model .FunctionTypeDeviceConfigurationKeyValueDescriptionListData ); err == nil && desc .DeviceConfigurationKeyValueDescriptionData != nil {
100
100
for _ , desc := range desc .DeviceConfigurationKeyValueDescriptionData {
@@ -139,10 +139,10 @@ func (e *UCLPCServer) AddFeatures() {
139
139
f .AddFunctionType (model .FunctionTypeDeviceDiagnosisHeartbeatData , true , false )
140
140
141
141
f = localEntity .GetOrAddFeature (model .FeatureTypeTypeElectricalConnection , model .RoleTypeServer )
142
- f .AddFunctionType (model .FunctionTypeElectricalConnectionCharacteristicListData , true , true )
142
+ f .AddFunctionType (model .FunctionTypeElectricalConnectionCharacteristicListData , true , false )
143
143
144
144
var elCharId model.ElectricalConnectionCharacteristicIdType = 0
145
- // get the heighest CharacteristicId
145
+ // get the highest CharacteristicId
146
146
if desc , err := spine .LocalFeatureDataCopyOfType [* model.ElectricalConnectionCharacteristicListDataType ](
147
147
f , model .FunctionTypeElectricalConnectionCharacteristicListData ); err == nil && desc .ElectricalConnectionCharacteristicData != nil {
148
148
for _ , desc := range desc .ElectricalConnectionCharacteristicData {
0 commit comments