public ucBatchSysProduction(EntityEquipmentInfo station) : this() { stationInfo = station; if (station != null) { GetPrdtTypes(); } }
private void GetBatchsFromEquipment(Entities.EntityEquipmentInfo station) { string strProcedureName = string.Format( "{0}.{1}", className, MethodBase.GetCurrentMethod().Name); WriteLog.Instance.WriteBeginSplitter(strProcedureName); try { int errCode = 0; string errText = ""; batchs.Clear(); IRAPMESClient.Instance.ufn_GetList_BatchByEquipment( IRAPUser.Instance.CommunityID, station.T133LeafID, "IQ", IRAPUser.Instance.SysLogID, ref batchs, out errCode, out errText); WriteLog.Instance.Write( string.Format("({0}){1}", errCode, errText), strProcedureName); if (errCode != 0) { XtraMessageBox.Show( errText, "", MessageBoxButtons.OK, MessageBoxIcon.Error); } } finally { WriteLog.Instance.WriteEndSplitter(strProcedureName); } }
public ucBatchQualityInspecting(Entities.EntityEquipmentInfo station) : this() { stationInfo = station; }