public InjectParameter(InjectPhaseType p, int r, int v, int t, int pt)
 {
     phaseType = p;
     flowRate = r;
     volume = v;
     time = t;
     pauseTime = pt;
 }
 public void Reset()
 {
     phaseType = InjectPhaseType.NONE;
     flowRate = 0;
     volume = 0;
     time = 0;
     pauseTime = 0;
 }
 public void Copy(InjectParameter para)
 {
     this.phaseType = para.phaseType;
     this.flowRate = para.flowRate;
     this.volume = para.volume;
     this.time = para.time;
     this.pauseTime = para.pauseTime;
 }