Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 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;" };
 }
Esempio n. 3
0
 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;
 }