重构CpuType

This commit is contained in:
2025-07-27 21:58:50 +08:00
parent 8b9b096df9
commit 824c3e4df6
12 changed files with 149 additions and 33 deletions

View File

@@ -25,7 +25,7 @@ namespace DMS.Infrastructure.UnitTests
dbDevice.Protocol = ProtocolType.S7;
dbDevice.Slot = 1;
dbDevice.Rack = 0;
dbDevice.CpuType = "S7-1200";
dbDevice.CpuType = CpuType.S71200;
dbDevice.DeviceType = Core.Enums.DeviceType.SiemensPLC;
return dbDevice;