Make NucuCar.Sensors\Grpc\Responses.cs field read only.

This commit is contained in:
Denis-Cosmin Nutiu 2021-05-27 22:22:48 +03:00
parent 082568c1c0
commit a9b3ec5aa2

View file

@ -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 = "{}"