示例#1
0
        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));
        }
示例#2
0
        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));
        }