Esempio n. 1
0
        public JsonResult check_track_by_lot(FOL_DATA access)
        {
            IDictionary <string, string> results = new Dictionary <string, string>();

            results = promisObject.check_track_by_lot(access.lotNo);

            return(Json(results));
        }
Esempio n. 2
0
        public JsonResult check_track_by_machine(FOL_DATA access)
        {
            IDictionary <string, string> results = new Dictionary <string, string>();

            results = promisObject.check_track_by_machine(access.machineID);

            return(Json(results));
        }
Esempio n. 3
0
        [ValidateInput(true)] // Checks if inputs are true
        public JsonResult track_lot(FOL_DATA access)
        {
            IDictionary <string, string> results = new Dictionary <string, string>();


            promisObject.track_lot(access.machineID, access.track_in, access.track_out, access.lotNo, access.user);

            //if (access.track_out == "1")
            //{
            //    promisObject.pbft_reset(access.machineID);
            //}

            results["done"] = "TRUE";
            results["msg"]  = "<strong class='success'>UPDATE TRACK DATA SUCCESSFULLY</strong>";
            return(Json(results));
        }
Esempio n. 4
0
        [ValidateInput(true)] // Checks if inputs are true
        public JsonResult update_machine(FOL_DATA access)
        {
            IDictionary <string, string> results = new Dictionary <string, string>();


            promisObject.insert_Data(access.machineID, access.machinePF, access.stsOwner, access.stsDes, access.prodName, access.lotNo, access.pkgType, access.remarks, access.group, access.user,
                                     access.date3, access.pkgLine, access.waferID, access.set_temp, access.actual_temp, access.set_timer_1, access.set_timer_2, access.voltage_set, access.chamber_condition,
                                     access.wafer_size, access.sampling_qty, access.bi_aging_board_name, access.device_qty_per_loading, access.item_isolation, access.handlerModel, access.aging_tray_no,
                                     access.ps_1, access.ps_2, access.ps_3, access.clk_1, access.clk_2, access.clk_3, access.clk_4, access.clk_5, access.clk_6, access.clk_7, access.clk_8, access.no_of_running_slot, access.max_no_of_slot, access.burn_in_board_cleaning, access.Handler_ID);

            promisObject.insert_Data_History(access.Handler_ID, access.stsDes, access.machineID, access.prodName, access.remarks, access.user, access.date1, access.date2, access.set_temp, access.actual_temp,
                                             access.set_timer_1, access.set_timer_2, access.voltage_set, access.chamber_condition, access.wafer_size, access.sampling_qty, access.bi_aging_board_name, access.device_qty_per_loading,
                                             access.item_isolation, access.handlerModel, access.aging_tray_no, access.ps_1, access.ps_2, access.ps_3, access.clk_1, access.clk_2, access.clk_3, access.clk_4, access.clk_5, access.clk_6, access.clk_7, access.clk_8, access.no_of_running_slot,
                                             access.max_no_of_slot, access.burn_in_board_cleaning);

            results["done"] = "TRUE";
            results["msg"]  = "<strong class='success'>UPDATE SUCCESSFULLY</strong>";
            return(Json(results));
        }