private string Format(PipettingInfo x) { return string.Format("{0},{1},{2},{3},{4},{5}", x.srcLabware, x.srcWellID, x.volume, x.dstLabware, x.dstWellID, x.barcode); }
private List<string> GenerateAspAndDisp(PipettingInfo x) { string asp = GetAspirate(x.srcLabware, x.srcWellID, x.volume); string disp = GetDispense(x.dstLabware, x.dstWellID, x.volume); return new List<string>() { asp, disp,"W;" }; }
private List<string> Format(PipettingInfo pipettingInfo,double maxVolPerTip) { double vol = pipettingInfo.volume; List<string> strs = new List<string>(); while(vol > 0) { double volThisTime = vol > maxVolPerTip ? maxVolPerTip : vol; vol -= volThisTime; strs.Add(GetAspirate(pipettingInfo.srcLabware, pipettingInfo.srcWellID, volThisTime)); strs.Add(GetDispense(pipettingInfo.dstLabware, pipettingInfo.dstWellID, volThisTime)); } return strs; }