Example #1
0
 protected static void AddSamplesOverload(Compute c, ICurrentMeasurement charge)
 {
     for (int i = 0; i < c.MinimumDataPoints; i++)
     {
         c.AddMeasurement(new CurrentMeasurement(19, 11, 39), charge);
     }
 }
Example #2
0
 protected static void AddSamplesLoadSinglePhase2(Compute c, ICurrentMeasurement charge)
 {
     c.AddMeasurement(new CurrentMeasurement(17, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(18, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(18, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(17, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(18, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(18, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(17, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(18, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(18, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(17, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(18, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(18, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(17, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(18, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(18, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(17, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(18, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(18, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(18, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(17, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(17, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(17, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(18, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(18, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(18, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(17, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(17, 1, 5), charge);
     c.AddMeasurement(new CurrentMeasurement(17, 1, 5), charge);
 }
Example #3
0
 protected static void AddSamplesLoadSinglePhase1(Compute c, ICurrentMeasurement charge)
 {
     c.AddMeasurement(new CurrentMeasurement(3, 1, 0), charge);
     c.AddMeasurement(new CurrentMeasurement(3, 1, 1), charge);
     c.AddMeasurement(new CurrentMeasurement(3, 1, 1), charge);
     c.AddMeasurement(new CurrentMeasurement(3, 1, 1), charge);
     c.AddMeasurement(new CurrentMeasurement(3, 1, 1), charge);
     c.AddMeasurement(new CurrentMeasurement(3, 1, 1), charge);
     c.AddMeasurement(new CurrentMeasurement(3, 1, 1), charge);
     c.AddMeasurement(new CurrentMeasurement(2, 1, 1), charge);
     c.AddMeasurement(new CurrentMeasurement(2, 1, 0), charge);
     c.AddMeasurement(new CurrentMeasurement(4, 1, 1), charge);
     c.AddMeasurement(new CurrentMeasurement(7, 1, 0), charge);
     c.AddMeasurement(new CurrentMeasurement(10, 1, 1), charge);
     c.AddMeasurement(new CurrentMeasurement(13, 1, 1), charge);
     c.AddMeasurement(new CurrentMeasurement(13, 1, 1), charge);
     c.AddMeasurement(new CurrentMeasurement(13, 1, 1), charge);
     c.AddMeasurement(new CurrentMeasurement(12, 1, 1), charge);
     c.AddMeasurement(new CurrentMeasurement(12, 1, 1), charge);
     c.AddMeasurement(new CurrentMeasurement(12, 1, 0), charge);
     c.AddMeasurement(new CurrentMeasurement(12, 1, 1), charge);
     c.AddMeasurement(new CurrentMeasurement(12, 1, 1), charge);
     c.AddMeasurement(new CurrentMeasurement(12, 1, 0), charge);
     c.AddMeasurement(new CurrentMeasurement(12, 1, 0), charge);
     c.AddMeasurement(new CurrentMeasurement(12, 1, 0), charge);
     c.AddMeasurement(new CurrentMeasurement(12, 1, 0), charge);
     c.AddMeasurement(new CurrentMeasurement(12, 1, 1), charge);
     c.AddMeasurement(new CurrentMeasurement(12, 1, 1), charge);
     c.AddMeasurement(new CurrentMeasurement(12, 1, 0), charge);
     c.AddMeasurement(new CurrentMeasurement(12, 1, 1), charge);
 }