Make NucuCar.Sensors\Grpc\Responses.cs field read only.
This commit is contained in:
parent
082568c1c0
commit
a9b3ec5aa2
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ namespace NucuCar.Sensors.Grpc
|
|||
{
|
||||
public static class Responses
|
||||
{
|
||||
public static NucuCarSensorResponse GrpcIsDisabledResponse = new NucuCarSensorResponse()
|
||||
public static readonly NucuCarSensorResponse GrpcIsDisabledResponse = new NucuCarSensorResponse()
|
||||
{
|
||||
State = SensorStateEnum.Disabled,
|
||||
JsonData = "{}"
|
||||
|
|
Loading…
Reference in a new issue