refactor: modbusSlave默认启用rpc

This commit is contained in:
Kimdiego2098
2024-04-28 15:20:10 +08:00
parent 1f5f405b52
commit f548c27179

View File

@@ -65,11 +65,11 @@ public class ModbusSlaveProperty : BusinessPropertyBase
/// 允许写入
/// </summary>
[DynamicProperty]
public bool DeviceRpcEnable { get; set; }
public bool DeviceRpcEnable { get; set; } = true;
/// <summary>
/// 立即写入内存
/// </summary>
[DynamicProperty]
public bool IsWriteMemory { get; set; }
}
public bool IsWriteMemory { get; set; } = true;
}