Beispiel #1
0
 public AmpsSignalTable AddTimePoint(int clock, LoopData loopData)
 {
     if (!timePoints.Select(x => x.TimePoint).Contains(clock))
     {
         char[] ap = Enumerable.Range('A', 'Z' - 'A' + 1).Select(i => (char)i).ToArray();
         timePoints.Add(new PsgPoint(ap[timePoints.Count].ToString(), clock, loopData));
     }
     return(new AmpsSignalTable(timePoints));
 }
Beispiel #2
0
 public void UpdatePsgPointLoopData(LoopData data)
 {
     PsgPointLoopData = data;
 }
Beispiel #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="name"></param>
 /// <param name="timePoint"></param>
 public PsgPoint(string name, int timePoint) : this()
 {
     Name             = name;
     TimePoint        = timePoint;
     PsgPointLoopData = new LoopData();
 }
Beispiel #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="name"></param>
 /// <param name="timePoint"></param>
 /// <param name="loopData"></param>
 public PsgPoint(string name, int timePoint, LoopData loopData) : this(name, timePoint)
 {
     PsgPointLoopData = loopData;
 }
Beispiel #5
0
 private PsgPoint()
 {
     digitalOutput    = new Dictionary <string, bool>();
     dcBias           = new Dictionary <string, double>();
     PsgPointLoopData = new LoopData();
 }