public JsonResult GetbyMachinePattern(string lineID, string machineID, string patternCode) { ConditionSettingDB conditionSettingDB = new ConditionSettingDB(); ReturnConditionSetting _returnConditionSetting = new ReturnConditionSetting(); _returnConditionSetting = conditionSettingDB.GetbyMachinePattern(lineID, machineID, patternCode); return(Json(_returnConditionSetting, JsonRequestBehavior.AllowGet)); }
public JsonResult GetbyMachineTypeID(string MachineID, string BatchNo) { //ConditionSettingDB conditionSettingDB = new ConditionSettingDB(); check ConditionSettingDB conditionSettingDB = new ConditionSettingDB(); ReturnConditionSetting _returnConditionSetting = new ReturnConditionSetting(); _returnConditionSetting = conditionSettingDB.GetbyMachineTypeID(MachineID, BatchNo); return(Json(_returnConditionSetting, JsonRequestBehavior.AllowGet)); }