protected virtual Boolean isSend(SXFY sxfy) { Boolean result = false; try { if (sxfy is S6F11) { S6F11 s6f11 = (sxfy as S6F11); if (s6f11.CEID == SECSConst.CEID_Equipment_OFF_LINE || s6f11.CEID == SECSConst.CEID_Control_Status_Local || s6f11.CEID == SECSConst.CEID_Control_Status_Remote) { return(true); } } result = scApp.getEQObjCacheManager().getLine().Host_Control_State == SCAppConstants.LineHostControlState.HostControlState.On_Line_Local || scApp.getEQObjCacheManager().getLine().Host_Control_State == SCAppConstants.LineHostControlState.HostControlState.On_Line_Remote; //if (bcf.Common.BCFUtility.isMatche(sxfy.StreamFunction, "S6F11")) //{ // S6F11 s6f11 = null; // string ceid = (string)sxfy.getField(bcf.Common.BCFUtility.getPropertyName(() => s6f11.CEID)); // if (!eventBLL.isEnableReport(ceid)) // { // return false; // } //} } catch (Exception ex) { logger.Error("MESDefaultMapAction has Error[Line Name:{0}],[Error method:{1}],[Error Message:{2}", line.LINE_ID, "isSendEAP", ex.ToString()); } return(result); }
public override void DoToolSpecificProcessCompleted(S6F11 eventMessage) { // Recipe Completed 5007 //TODO - verift that this is correct for Koyo - what data from their canned report needs to be uploaded uploadData.Clear(); // For now, I'm just handling the process completed event. Later, this will be modified ot happen with any // event, not just process completed. Dictionary <string, string> nameToCamstarName = new Dictionary <string, string>(); foreach (ToolConfigItem configItem in CurrentToolConfig.EndOfRunDataCollectionItems) { if (configItem.type.Equals("ERDATA", StringComparison.CurrentCultureIgnoreCase)) { nameToCamstarName.Add(configItem.name, configItem.camstarName); } } foreach (List <SECSData> report in eventMessage.Reports.Values) { foreach (SECSData vidData in report) { if (vidData.Name != null && nameToCamstarName.ContainsKey(vidData.Name)) { uploadData.Add(nameToCamstarName[vidData.Name], vidData.Value); } } } }
public override void DoToolSpecificProcessStarted(S6F11 eventMessage) { //TODO - anything go here for Koyo?? //throw new NotImplementedException(); }
public override void DoToolSpecificProcessStarted(S6F11 eventMessage) { }