示例#1
0
 public static RunResult Read()
 {
     //if (runResult != null)
     //    return runResult;
     string sResultFile = ConfigurationManager.AppSettings["runResultFile"];
     string sContent = File.ReadAllText(sResultFile, Encoding.Default);
     runResult = Utility.Deserialize<RunResult>(sContent);
     return runResult;
 }
 public PipettingUI(double w, double h, int wellsPerLabware,ProgressController prgController)
     : base(w, h)
 {
     this.prgController = prgController;
     this.wellsPerLabware = wellsPerLabware;
     runResult = RunResultReader.Read();
     //smpInfos = RunResultReader.Read();
     pipettingSettings = Utility.LoadPipettingSettings();
     layoutInfo = new LayoutInfo(pipettingSettings);
 }