| | |
| | | CommnadAcks[VisionToControlCommand.VisionReadyAck] = false; |
| | | CommnadAcks[VisionToControlCommand.InspReadyEnd] = false; |
| | | |
| | | EquipmentLogManager.Instance.WriteVisionLog($"Send Vision Ready, recipe name : {recipeName}"); |
| | | return SendData(sendData.ToArray()); |
| | | } |
| | | |
| | |
| | | sendData.InsertRange(sendData.Count, BitConverter.GetBytes((short)ControlToVisionCommand.InspReadyEndAck)); |
| | | sendData.InsertRange(sendData.Count, body); |
| | | |
| | | EquipmentLogManager.Instance.WriteVisionLog($"Send Insp Ready End Ack"); |
| | | return SendData(sendData.ToArray()); |
| | | } |
| | | |
| | |
| | | CommnadAcks[VisionToControlCommand.WaferDetectionReadyAck] = false; |
| | | CommnadAcks[VisionToControlCommand.WaferDetectionReadyEnd] = false; |
| | | |
| | | EquipmentLogManager.Instance.WriteVisionLog($"Send Wafer Detection Ready"); |
| | | return SendData(sendData.ToArray()); |
| | | } |
| | | |
| | |
| | | sendData.InsertRange(sendData.Count, BitConverter.GetBytes((short)ControlToVisionCommand.WaferDetectionReadyEndAck)); |
| | | sendData.InsertRange(sendData.Count, body); |
| | | |
| | | EquipmentLogManager.Instance.WriteVisionLog($"Send Wafer Detection End Ack"); |
| | | return SendData(sendData.ToArray()); |
| | | } |
| | | |
| | |
| | | CommnadAcks[VisionToControlCommand.WaferDetectionStartAck] = false; |
| | | CommnadAcks[VisionToControlCommand.WaferDetectionResult] = false; |
| | | |
| | | EquipmentLogManager.Instance.WriteVisionLog($"Send Wafer Detection Start"); |
| | | return SendData(sendData.ToArray()); |
| | | } |
| | | |
| | |
| | | sendData.InsertRange(sendData.Count, BitConverter.GetBytes((short)ControlToVisionCommand.WaferDetectionResultAck)); |
| | | sendData.InsertRange(sendData.Count, body); |
| | | |
| | | EquipmentLogManager.Instance.WriteVisionLog($"Send Wafer Detection Result Ack"); |
| | | return SendData(sendData.ToArray()); |
| | | } |
| | | |
| | |
| | | CommnadAcks[VisionToControlCommand.RecipeChangeSwitchAck] = false; |
| | | CommnadAcks[VisionToControlCommand.RecipeChangeUpdate] = false; |
| | | |
| | | EquipmentLogManager.Instance.WriteVisionLog($"Send Recipe Switch, recipe name : {recipeName}"); |
| | | return SendData(sendData.ToArray()); |
| | | } |
| | | |
| | |
| | | sendData.InsertRange(sendData.Count, BitConverter.GetBytes((short)ControlToVisionCommand.RecipeUpdateAck)); |
| | | sendData.InsertRange(sendData.Count, body); |
| | | |
| | | EquipmentLogManager.Instance.WriteVisionLog($"Send Recipe UpdateAck"); |
| | | return SendData(sendData.ToArray()); |
| | | } |
| | | |
| | |
| | | |
| | | CommnadAcks[VisionToControlCommand.Alarm] = false; |
| | | |
| | | EquipmentLogManager.Instance.WriteVisionLog($"Send Alarm Ack"); |
| | | return SendData(sendData.ToArray()); |
| | | } |
| | | |
| | |
| | | sendData.InsertRange(sendData.Count, body); |
| | | |
| | | CommnadAcks[VisionToControlCommand.AliveAck] = false; |
| | | |
| | | EquipmentLogManager.Instance.WriteVisionLog($"Send Request Alive"); |
| | | return SendData(sendData.ToArray()); |
| | | } |
| | | |
| | |
| | | |
| | | string resultRecipeName = BitConverter.ToString(recipeName, 0); |
| | | |
| | | EquipmentLogManager.Instance.WriteVisionLog($"Receive Insp Ready End, recipe name : {recipeName} "); |
| | | value = new InspReadyEnd(resultRecipeName); |
| | | } |
| | | |
| | |
| | | |
| | | resultY = -resultY; |
| | | |
| | | EquipmentLogManager.Instance.WriteVisionLog($"Receive Wafer Detection Result, result : {result}, X : {resultX}, Y : {resultY}, T : {resultT} "); |
| | | value = new WaferDetectionResult(result, resultX, resultY, resultT); |
| | | } |
| | | |
| | |
| | | copylength += byteResult.Length; |
| | | |
| | | int result = BitConverter.ToInt32(byteResult, 0); |
| | | |
| | | EquipmentLogManager.Instance.WriteVisionLog($"Receive Recipe Switch Ack, result : {result} "); |
| | | value = new RecipeSwitchAck(result); |
| | | } |
| | | |
| | |
| | | copylength += recipeName.Length; |
| | | |
| | | string resultRecipeName = BitConverter.ToString(recipeName, 0); |
| | | |
| | | |
| | | EquipmentLogManager.Instance.WriteVisionLog($"Receive Recipe Update, recipe name : {recipeName} "); |
| | | value = new RecipeUpdate(resultRecipeName); |
| | | } |
| | | |
| | |
| | | |
| | | int alarmCode = BitConverter.ToInt32(byteAlarmCode, 0); |
| | | |
| | | EquipmentLogManager.Instance.WriteVisionLog($"Receive Alarm, alarm code : {alarmCode} "); |
| | | value = new AlarmOccured(alarmCode); |
| | | } |
| | | |
| | |
| | | |
| | | int result = BitConverter.ToInt32(byteResult, 0); |
| | | |
| | | EquipmentLogManager.Instance.WriteVisionLog($"Receive Alive Ack, result : {result} "); |
| | | value = new AliveAck(result); |
| | | } |
| | | } |