コード例 #1
0
        public ActionResult LsTaskHistoryDetail(string wfe_id)
        {
            EquipArchiManagment Em = new EquipArchiManagment();
            UI_MISSION          mi = new UI_MISSION();

            List <UI_MISSION> t = CWFEngine.GetHistoryMissions(int.Parse(wfe_id));

            mi = (UI_MISSION)t.ElementAt(1);
            Dictionary <string, object> mi_params = mi.Miss_Params;
            string cj_name      = mi.Miss_Params["Cj_Name"].ToString();
            string tempjob_name = mi.Miss_Params["Job_Name"].ToString();


            ViewBag.wfe_id = wfe_id;
            A6dot2dot2InfoModal infoModal = new A6dot2dot2InfoModal();

            infoModal.tempjob_name = tempjob_name;
            infoModal.cj_name      = cj_name;
            infoModal.wfe_id       = wfe_id;
            EquipManagment EM = new EquipManagment();

            infoModal.All_Zz = EM.getZzs_ofCj(Convert.ToInt32(cj_name));

            return(View(infoModal));
        }
コード例 #2
0
        public ActionResult Submit(string wfe_id)
        {
            EquipManagment EM = new EquipManagment();

            UI_MISSION mi = CWFEngine.GetActiveMission <Person_Info>(int.Parse(wfe_id), ((IObjectContextAdapter)(new EquipWebContext())).ObjectContext);
            Dictionary <string, object> mi_params = mi.Miss_Params;
            string                 cj_name        = mi.Miss_Params["Cj_Name"].ToString();
            string                 tempjob_name   = mi.Miss_Params["Job_Name"].ToString();
            A6dot2Managment        AM             = new A6dot2Managment();
            int                    i     = 1;
            List <A6dot2LsTaskTab> rList = AM.getLsTask(wfe_id);

            //string cj_name = "2";
            //string tempjob_name = "test";
            ViewBag.wfe_id = wfe_id;
            A6dot2dot2InfoModal infoModal = new A6dot2dot2InfoModal();

            infoModal.tempjob_name = tempjob_name;
            infoModal.cj_name      = cj_name;
            infoModal.wfe_id       = wfe_id;
            infoModal.All_Zz       = EM.getZzs_ofCj(Convert.ToInt32(cj_name));

            return(View(infoModal));
        }