Beispiel #1
0
        // GET: LangleyExperiment
        public ActionResult LangleyExperiment(int let_id)
        {
            LangleyExperimentTable langlryExpTable = dbDrive.GetLangleyExperimentTable(let_id);

            ViewData["langlryExpTableId"] = langlryExpTable.let_Id;
            ViewData["langLeyStringName"] = langlryExpTable.let_ProductName;
            ViewData["langLeyNameString"] = LangleyPublic.DistributionState(langlryExpTable) + "/" + LangleyPublic.Correction(langlryExpTable.let_Correction);
            return(View());
        }
Beispiel #2
0
        // GET: ParameterSetting
        public ActionResult ParameterSetting(int langlryExpTableId)
        {
            var let = dbDrive.GetLangleyExperimentTable(langlryExpTableId);

            ViewData["ds"]                = let.let_DistributionState;
            ViewData["correction"]        = let.let_Correction;
            ViewData["langlryExpTableId"] = langlryExpTableId;
            return(View());
        }
Beispiel #3
0
 // GET: TechnicalConditions
 public ActionResult TechnicalConditions(int id, string name)
 {
     if (name.Equals("D"))
     {
         var det = dbDrive.GetDoptimizeExperimentTable(id);
         ViewData["tc"]   = det.det_TechnicalConditions;
         ViewData["id"]   = id;
         ViewData["type"] = "D";
     }
     if (name.Equals("L"))
     {
         var let = dbDrive.GetLangleyExperimentTable(id);
         ViewData["tc"]   = let.let_TechnicalConditions;
         ViewData["id"]   = id;
         ViewData["type"] = "L";
     }
     return(View());
 }
        public ActionResult Langley_delete(int id)
        {
            var let = dbDrive.GetLangleyExperimentTable(id);

            return(Json(dbDrive.Delete(let)));
        }