Esempio n. 1
0
        public IndexVM GetL04MF(HttpContext context)
        {
            var vm = new IndexVM();

            vm.hasError = false;
            var list = new List <VM_PROCESS>();

            list = KanbanProcessLoader.GetMFGL("L04", "MF");


            vm.data  = JsonSerializeHelper.SerializeObject(list);
            vm.data1 = KanbanProcessLoader.GetLWAlarm("L04");
            return(vm);
        }
Esempio n. 2
0
        public IndexVM GetL03LW(HttpContext context)
        {
            var vm = new IndexVM();

            vm.hasError = false;
            var list = new List <VM_PROCESS>();

            list = KanbanProcessLoader.GetLW("L03", "炉子");


            vm.data = JsonSerializeHelper.SerializeObject(list);
            var total = KanbanProcessLoader.GetTotal("L03");

            vm.data1 = total + KanbanProcessLoader.GetLWAlarm("L03");
            return(vm);
        }