public void SendLargeBoxAutoShipRequest(string lotID, string operatorID, string workLineID, string subLineID, string LBox_ID, ECResult result) { string command = "CMD=PACKING_SLIP"; command += " LOTID=" + lotID; command += " OPERID=" + operatorID; command += " WORKLINEID=" + workLineID; command += " SUBLINEID=" + subLineID; command += " LBOXLIST=" + LBox_ID; //SendData(command); AddCommand("LBOX_AUTO_SHIP", command, result); }
public void SendLargeBoxLabelRequest(string lotID, string operatorID, string workLineID , string subLineID, string mergeData, ECResult result) { string command = "CMD=PACKING_LBOX"; command += " LOTID=" + lotID; command += " OPERID=" + operatorID; command += " WORKLINEID=" + workLineID; command += " SUBLINEID=" + subLineID; command += " SBOXLIST=" + "\"" + mergeData + "\""; //SendData(command); AddCommand("LBOX_LABEL_REQUSET", command, result); }
public void SendLabelRequest(string eqpID, string operatorID, string barcode, string lotClose, ECResult result) { string command = "CMD=LABEL_PRINT_INFO"; command += " EQPID=" + eqpID; command += " OPERID=" + operatorID; command += " MODE=ONLINE"; command += " BAR_LOT=" + '"' + barcode + '"'; command += " LOTCLOSE=" + lotClose; AddCommand("LABEL_REQUEST", command, result); //SendData(command); //Manager.LogManager.Instance.WriteECCommLog("[SEND], " + command); }
public void SendLargeBoxAutoShipCheckRequest(string lBox_ID, string operatorID, ECResult result) { string command = "CMD=PACKING_SLIP_CHECK"; command += " LBOX_ID=" + lBox_ID; command += " OPERID=" + operatorID; AddCommand("LBOX_AUTO_SHIP_CHECK", command, result); }
public void SendLabelDisplayInfoRequest(string barcode, string eqpID, ECResult result) { string command = "CMD=LOTDISPLAY"; command += " BAR_LOT=" + "\"" + barcode + "\""; command += " EQPID=" + eqpID; AddCommand("LABEL_REQUEST", command, result); }
public void AddCommand(string commandType, string command, ECResult result) { if (result == null) result = new ECResult(); ECCommandData cmd = new ECCommandData(); cmd.CommandType = commandType; cmd.Command = command; cmd.Result = result; _commandQueue.Enqueue(cmd); }
public void SendLabelRequest(string eqpID, string operatorID, string barcode, ECResult result) { }
public void AddCommand(FAECInfo.ECCommand command, ECResult result) { if (result == null) result = new ECResult(); if (command is FAECInfo.RetryableCommand) { ((FAECInfo.RetryableCommand)command).RETRY = FAECInfo.FAECYesNo.NO; ((FAECInfo.RetryableCommand)command).RETRY_CNT = 0; } result.LastAlarmNo = 0; ECCommandData cmd = new ECCommandData(); cmd.Command = command; cmd.Result = result; _commandQueue.Enqueue(cmd); }
public void AddCommand(FAECInfo.ECCommand command, ECResult result) { if (result == null) result = new ECResult(); if (command is FAECInfo.RetryableCommand) { ((FAECInfo.RetryableCommand)command).IsRetry = false; ((FAECInfo.RetryableCommand)command).RetryCount = 0; } result.LastAlarmNo = 0; ECCommandData cmd = new ECCommandData(); cmd.Command = command; cmd.Result = result; _commandQueue.Enqueue(cmd); }