public void TryConvert3Test()
        {
            MountStatusFromStreamConverter target = new MountStatusFromStreamConverter();
            MountStatus result = target.TryConvert(PlcHelper.GetMountStatusStream(2).Substring(4, 132));

            Assert.AreEqual<MountState>(MountState.StopAlarm, result.State);
            Assert.AreEqual<string>("LDPW8X2D", result.NewLotCassette.CassetteId);
            Assert.AreEqual<bool>(true, result.NewLotCassette.IsCassetteId);
            Assert.AreEqual<bool>(false, result.IsLotDataTimeout);
            Assert.AreEqual<string>("MZQPALJFIR2JCS", result.NewLotStarted.LotId);
            Assert.AreEqual<MountLine>(MountLine.Right, result.NewLotStarted.Line);
            Assert.AreEqual<bool>(false, result.NewLotStarted.IsLotStarted);
            Assert.AreEqual<bool>(true, result.IsCarrierPlateArrived);
            Assert.AreEqual<bool>(true, result.IsCarrierPlateMountingReady);
            Assert.AreEqual<int>(0, result.WaferBreakNumber);
            Assert.AreEqual<bool>(false, result.IsMountingErrorCarrierPlate);
            Assert.AreEqual<bool>(false, result.IsEndLot);
            Assert.AreEqual<bool>(true, result.IsReservationLotCanceled);
        }
        public void TryConvert2Test()
        {
            MountStatusFromStreamConverter target = new MountStatusFromStreamConverter();
            MountStatus result = target.TryConvert(PlcHelper.GetMountStatusStream(1).Substring(4, 132));

            Assert.AreEqual<MountState>(MountState.AutoMountAlarm, result.State);
            Assert.AreEqual<string>("IJKLMNOP", result.NewLotCassette.CassetteId);
            Assert.AreEqual<bool>(false, result.NewLotCassette.IsCassetteId);
            Assert.AreEqual<bool>(true, result.IsLotDataTimeout);
            Assert.AreEqual<string>("KCGE8PAQ1HC4HF", result.NewLotStarted.LotId);
            Assert.AreEqual<MountLine>(MountLine.Left, result.NewLotStarted.Line);
            Assert.AreEqual<bool>(true, result.NewLotStarted.IsLotStarted);
            Assert.AreEqual<bool>(false, result.IsCarrierPlateArrived);
            Assert.AreEqual<bool>(true, result.IsCarrierPlateMountingReady);
            Assert.AreEqual<int>(15, result.WaferBreakNumber);
            Assert.AreEqual<bool>(true, result.IsMountingErrorCarrierPlate);
            Assert.AreEqual<bool>(true, result.IsEndLot);
            Assert.AreEqual<bool>(true, result.IsReservationLotCanceled);
        }