This repository was archived by the owner on Jun 29, 2024. It is now read-only.
File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ func (e *UCLPCServer) AddFeatures() {
108
108
f .SetData (model .FunctionTypeDeviceConfigurationKeyValueDescriptionListData , deviceConfigDesc )
109
109
110
110
f = localEntity .GetOrAddFeature (model .FeatureTypeTypeDeviceDiagnosis , model .RoleTypeServer )
111
- f .AddFunctionType (model .FunctionTypeDeviceDiagnosisHeartbeatData , true , true )
111
+ f .AddFunctionType (model .FunctionTypeDeviceDiagnosisHeartbeatData , true , false )
112
112
113
113
f = localEntity .GetOrAddFeature (model .FeatureTypeTypeElectricalConnection , model .RoleTypeServer )
114
114
f .AddFunctionType (model .FunctionTypeElectricalConnectionCharacteristicListData , true , true )
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ func (e *UCOPEV) AddFeatures() {
52
52
53
53
// server features
54
54
f := localEntity .GetOrAddFeature (model .FeatureTypeTypeDeviceDiagnosis , model .RoleTypeServer )
55
- f .AddFunctionType (model .FunctionTypeDeviceDiagnosisStateData , false , false )
55
+ f .AddFunctionType (model .FunctionTypeDeviceDiagnosisStateData , true , false )
56
+ f .AddFunctionType (model .FunctionTypeDeviceDiagnosisHeartbeatData , true , false )
56
57
}
57
58
58
59
func (e * UCOPEV ) AddUseCase () {
Original file line number Diff line number Diff line change @@ -58,7 +58,8 @@ func (e *UCOSCEV) AddFeatures() {
58
58
59
59
// server features
60
60
f := localEntity .GetOrAddFeature (model .FeatureTypeTypeDeviceDiagnosis , model .RoleTypeServer )
61
- f .AddFunctionType (model .FunctionTypeDeviceDiagnosisStateData , false , false )
61
+ f .AddFunctionType (model .FunctionTypeDeviceDiagnosisStateData , true , false )
62
+ f .AddFunctionType (model .FunctionTypeDeviceDiagnosisHeartbeatData , true , false )
62
63
}
63
64
64
65
func (e * UCOSCEV ) AddUseCase () {
You can’t perform that action at this time.
0 commit comments