Example #1
0
        public void Test_TAGProcessorStateBase_MachineControlType_EC520_Valid()
        {
            var state = new TAGProcessorStateBase();

            state.HardwareID = "2432J011YU";
            state.GetPlatformType().Should().Be(CWSDeviceTypeEnum.EC520W);
        }
Example #2
0
        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);
        }