Skip to content

Commit

Permalink
change enabled in EndDeviceFunction.proto to be nullable.
Browse files Browse the repository at this point in the history
Signed-off-by: Jimmy Tung <[email protected]>
  • Loading branch information
Esaotuelr committed Dec 3, 2024
1 parent 87353ca commit 9ec9573
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ option csharp_namespace = "Zepben.Protobuf.CIM.IEC61968.Metering";
package zepben.protobuf.cim.iec61968.metering;

import "zepben/protobuf/cim/iec61968/assets/AssetFunction.proto";
import "google/protobuf/struct.proto";

/**
* Function performed by an end device such as a meter, communication equipment, controllers, etc.
Expand All @@ -33,6 +34,9 @@ message EndDeviceFunction {
/**
* True if the function is enabled.
*/
bool enabled = 3;
oneof enabled {
google.protobuf.NullValue enabledNull = 3;
bool enabledSet = 4;
}

}

0 comments on commit 9ec9573

Please sign in to comment.