public override void PageSearch(BISTel.PeakPerformance.Client.CommonLibrary.LinkedList llCondition) { if (!llCondition.Contains(Definition.CONDITION_SEARCH_KEY_SPCMODEL)) { MSGHandler.DisplayMessage(MSGType.Information, "SPC_INFO_SELECT_OR_CREATE_MODEL", null, null); return; } InitializePage(); if (!this.ApplyAuthory(llCondition)) { MSGHandler.DisplayMessage(MSGType.Warning, MSGHandler.GetMessage("GENERAL_NOT_ENOUGHT_SUFFICIENT"), null, null, true); return; } this.spcModelUC1.PageSearch(llCondition); this.dataExportUC1.PageSearch(llCondition); this.exportResult1.PageSearch(llCondition); SPCModel[] spcModels = this.spcModelUC1.SpcModels; //SPC-1109 by stella if (spcModels != null) { this.dataExportUC1.SetSPCModels(spcModels); } }
public void RefreshCondition(BISTel.PeakPerformance.Client.CommonLibrary.LinkedList llData) { if (llData.Contains(Definition.DynamicCondition_Search_key.PARAM_TYPE)) { DataTable dt = (DataTable)llData[Definition.DynamicCondition_Search_key.PARAM_TYPE]; string _sParamType = DCUtil.GetValueData(dt); } }
public override void RefreshCondition(BISTel.PeakPerformance.Client.CommonLibrary.LinkedList ll) { foreach (Control con in this.Controls) { if (con is ADynamicCondition) { ((ADynamicCondition)con).RefreshCondition(ll); } } }
public void SetParentValue(BISTel.PeakPerformance.Client.CommonLibrary.LinkedList llParentValue) { _llstParent = llParentValue; if (_llstParent.Contains(Definition.DynamicCondition_Search_key.PARAM_TYPE)) { DataTable dt = (DataTable)_llstParent[Definition.DynamicCondition_Search_key.PARAM_TYPE]; string _sParamType = DCUtil.GetValueData(dt); for (int i = 0; i < _btvCondition.Nodes.Count; i++) { } } }
public override void RefreshCondition(BISTel.PeakPerformance.Client.CommonLibrary.LinkedList ll) { bool needRefresh = false; if (ll.Contains(Definition.CONDITION_SEARCH_KEY_LINE)) { if (((DataTable)ll[Definition.CONDITION_SEARCH_KEY_LINE]).Rows.Count > 0) { sLineRawID = ((DataTable)ll[Definition.CONDITION_SEARCH_KEY_LINE]).Rows[0][Definition.CONDITION_SEARCH_KEY_VALUEDATA].ToString(); } else { sLineRawID = string.Empty; } needRefresh = true; } if (ll.Contains(Definition.CONDITION_SEARCH_KEY_AREA)) { if (((DataTable)ll[Definition.CONDITION_SEARCH_KEY_AREA]).Rows.Count > 0) { sAreaRawID = ((DataTable)ll[Definition.CONDITION_SEARCH_KEY_AREA]).Rows[0][Definition.CONDITION_SEARCH_KEY_VALUEDATA].ToString(); } else { sAreaRawID = string.Empty; } needRefresh = true; } if (ll.Contains(Definition.CONDITION_SEARCH_KEY_EQPMODEL)) { if (((DataTable)ll[Definition.CONDITION_SEARCH_KEY_EQPMODEL]).Rows.Count > 0) { sEQPModel = ((DataTable)ll[Definition.CONDITION_SEARCH_KEY_EQPMODEL]).Rows[0][Definition.CONDITION_SEARCH_KEY_VALUEDATA].ToString(); } else { sEQPModel = string.Empty; } needRefresh = true; } if (needRefresh) { RefreshTreeView(); } }
public void SetParentValue(BISTel.PeakPerformance.Client.CommonLibrary.LinkedList llParentValue) { _btvCondition.Nodes.Clear(); _llstParent = llParentValue; if (_llstParent.Contains(Definition.DynamicCondition_Search_key.PARAM)) { XSearchTypeTree searchTypeTree = new XSearchTypeTree(_btvCondition); searchTypeTree.IsShowCheck = true; searchTypeTree.IsLastNode = true; searchTypeTree.AddRootNode(); } }
public void SetParentValue(BISTel.PeakPerformance.Client.CommonLibrary.LinkedList llParentValue) { }
public void RefreshCondition(BISTel.PeakPerformance.Client.CommonLibrary.LinkedList llData) { }
public void GetParameter(BISTel.PeakPerformance.Client.CommonLibrary.LinkedList llData) { }
public override void PageSearch(BISTel.PeakPerformance.Client.CommonLibrary.LinkedList llCondition) { InitializePage(); }