private void InitWorkTableUI() { //package setting int smpCount = Helper.ReadSampleCount(); txtSampleCount.Text = smpCount.ToString(); PipettingSettings pipettingSettings = Utility.LoadPipettingSettings(); txtPlasmaCount.Text = pipettingSettings.dstPlasmaSlice.ToString();//pipettingSettings.dstPlasmaSlice.ToString(); txtBuffyCount.Text = pipettingSettings.dstbuffySlice.ToString(); PackageInfo packageInfo = new PackageInfo(smpCount, runResult.plasmaTotalSlice, runResult.buffySlice); prgController = new ProgressController(txtThisStageUsed, txtThisStageRemaining, txtTotalUsed, txtTotalRemaining, prgThisStage, prgTotal, packageInfo); int wellsPerLabware = 16; int srcSmpGrids = labwareSettings.sourceLabwareGrids; owenerDrawGrid.RowDefinitions[0].Height = new GridLength(this.ActualHeight * 0.8); workTableUI = new WorkTableUI(workTableGrid.ActualWidth, workTableGrid.ActualHeight, srcSmpGrids, wellsPerLabware, prgController); workTableGrid.Children.Add(workTableUI); stageInfo.curStage = Stage.Measure; stageInfo.farthestStage = Stage.Measure; lstSteps.SelectedIndex = 0; }
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); }
public WorkTableUI(double w, double h, int srcGrids, int wellsPerLabware, ProgressController prgController) : base(w, h) { width = w; height = h; this.prgController = prgController; this.srcGrids = srcGrids; this.wellsPerLabware = wellsPerLabware; frame = 0; curStage = Stage.Measure; smpCount = Helper.ReadSampleCount(); EVOMeasureInfo = new EVOMeasureInfo(0, true); }
public WorkTableUI(double w, double h, int srcGrids , int wellsPerLabware,ProgressController prgController) : base(w,h) { width = w; height = h; this.prgController = prgController; this.srcGrids = srcGrids; this.wellsPerLabware = wellsPerLabware; frame = 0; curStage = Stage.Measure; smpCount = Helper.ReadSampleCount(); EVOMeasureInfo = new EVOMeasureInfo(0,true); }
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); }