diff --git a/src/adapter/ThingsGateway.Plugin.Modbus/ModbusSlave/ModbusSlaveProperty.cs b/src/adapter/ThingsGateway.Plugin.Modbus/ModbusSlave/ModbusSlaveProperty.cs index c0110c1fc..23b475851 100644 --- a/src/adapter/ThingsGateway.Plugin.Modbus/ModbusSlave/ModbusSlaveProperty.cs +++ b/src/adapter/ThingsGateway.Plugin.Modbus/ModbusSlave/ModbusSlaveProperty.cs @@ -65,11 +65,11 @@ public class ModbusSlaveProperty : BusinessPropertyBase /// 允许写入 /// [DynamicProperty] - public bool DeviceRpcEnable { get; set; } + public bool DeviceRpcEnable { get; set; } = true; /// /// 立即写入内存 /// [DynamicProperty] - public bool IsWriteMemory { get; set; } -} \ No newline at end of file + public bool IsWriteMemory { get; set; } = true; +}