public static bool GetMesOnOff(string PART_NUMBER, string BOM_VERSION, string PROCESS_VERSION, out string MES) { Logger.Log.Info((object)"GetMesOnOff(): Method called ."); MES = ""; string[] OUTPUT_VECTOR; bool recipeData = ItacFunctions.getRecipeData("MES", new string[1] { "NOMINAL" }, PART_NUMBER, BOM_VERSION, PROCESS_VERSION, out OUTPUT_VECTOR); if (recipeData) { MES = OUTPUT_VECTOR[0]; Logger.Log.Info((object)string.Format("GetMesOnOff(): MES: {0}", (object)MES)); } Logger.Log.Info((object)string.Format("GetMesOnOff(): return with {0}", (object)recipeData)); return(recipeData); }
public static bool GetRecipeData(string MEASURE_NAME, string PART_NUMBER, string BOM_VERSION, string PROCESS_VERSION, out string NOMINAL_VALUE) { Logger.Log.Info((object)string.Format("Method called: GetRecipeData():")); NOMINAL_VALUE = ""; string[] OUTPUT_VECTOR; bool recipeData = ItacFunctions.getRecipeData(MEASURE_NAME, new string[1] { "NOMINAL" }, PART_NUMBER, BOM_VERSION, PROCESS_VERSION, out OUTPUT_VECTOR); if (recipeData) { NOMINAL_VALUE = OUTPUT_VECTOR[0]; Logger.Log.Info((object)string.Format("GetRecipeData(): MEASURE_NAME:{0} , NOMINAL_VALUE: {1}", (object)MEASURE_NAME, (object)NOMINAL_VALUE)); } Logger.Log.Info((object)string.Format("GetRecipeData(): return with {0}", (object)recipeData)); return(recipeData); }
public static bool GetRecipeName(string PART_NUMBER, string BOM_VERSION, string PROCESS_VERSION, out string PROGRAM_NAME) { Logger.Log.Info((object)"GetRecipeName(): Method called ."); PROGRAM_NAME = ""; string[] OUTPUT_VECTOR; bool recipeData = ItacFunctions.getRecipeData("PROGRAM_NAME", new string[1] { "NOMINAL" }, PART_NUMBER, BOM_VERSION, PROCESS_VERSION, out OUTPUT_VECTOR); if (recipeData) { PROGRAM_NAME = OUTPUT_VECTOR[0]; Logger.Log.Info((object)string.Format("GetRecipeName(): PROGRAM_NAME: {0}", (object)PROGRAM_NAME)); } Logger.Log.Info((object)string.Format("GetRecipeName(): return with {0}", (object)recipeData)); return(recipeData); }
public static bool GetRecipeMeasurementList(string PART_NUMBER, string BOM_VERSION, string PROCESS_VERSION, ref string[] MEASURE_LIST) { Logger.Log.Info((object)string.Format("Method called: GetRecipeMeasurementList():")); MEASURE_LIST = new string[0]; string[] OUTPUT_VECTOR; bool recipeData = ItacFunctions.getRecipeData("-1", new string[1] { "MEASURE_NAME" }, PART_NUMBER, BOM_VERSION, PROCESS_VERSION, out OUTPUT_VECTOR); if (recipeData) { MEASURE_LIST = OUTPUT_VECTOR; Logger.Log.Info((object)string.Format("GetRecipeMeasurementList(): MEASURE_LIST: \n {0} ", (object)string.Join(", \n", MEASURE_LIST))); } Logger.Log.Info((object)string.Format("GetRecipeMeasurementList(): return with {0}", (object)recipeData)); return(recipeData); }