public void Test_TAGProcessorStateBase_MachineControlType_EC520_Valid() { var state = new TAGProcessorStateBase(); state.HardwareID = "2432J011YU"; state.GetPlatformType().Should().Be(CWSDeviceTypeEnum.EC520W); }
public void Test_TAGProcessorStateBase_MachineControlType_Marine_Valid() { var state = new TAGProcessorStateBase(); state.HardwareID = Guid.NewGuid().ToString(); state.MachineType = MachineType.CutterSuctionDredge; state.GetPlatformType().Should().Be(CWSDeviceTypeEnum.TMC); }