//LDH, 2018.08.20, Serial Data Send public override void SendSerialData(eMainProcCmd _SendCmd, string _SendData = "") { string SendBit = ""; switch (_SendCmd) { case eMainProcCmd.RCP_CHANGE: SendBit = "@D_OK"; break; case eMainProcCmd.LOT_CHANGE: { if (_SendData == "RELOAD") { SendBit = "@N_OK"; } if (_SendData == "END") { SendBit = "@E_OK"; } //else SendBit = "@L_OK"; } break; case eMainProcCmd.REQUEST: { if (_SendData == "LOT") { SendBit = "@R_L"; } else { SendBit = "@R_D"; } } break; case eMainProcCmd.LOT_RETURN: SendBit = string.Format("@L_OK,{0}", _SendData); break; } CLogManager.AddInspectionLog(CLogManager.LOG_TYPE.INFO, SendBit + "," + '\r', CLogManager.LOG_LEVEL.LOW); SerialWnd.SendSequenceData(SendBit + "," + '\r'); }
//LDH, 2018.08.20, Serial Data Send public override void SendSerialData(eMainProcCmd _SendCmd, string _SendData = "") { string SendBit = ""; SerialWnd.SendSequenceData(SendBit + "," + '\r'); }