2015-04-15 18:32:56 +00:00
|
|
|
|
///
|
|
|
|
|
|
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
|
|
|
|
|
///
|
|
|
|
|
|
using System;
|
2014-07-28 07:54:35 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
2015-12-04 16:17:20 +00:00
|
|
|
|
using Config.Entities;
|
2014-07-28 07:54:35 +00:00
|
|
|
|
|
|
|
|
|
|
namespace TBF.BenchControl
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// This class keeps the current values used or measured by the test bench.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public class Current
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Procedure, Tests and TestResults data
|
|
|
|
|
|
/// </summary>
|
2015-12-04 16:17:20 +00:00
|
|
|
|
public static Procedure Procedure;
|
2014-07-28 07:54:35 +00:00
|
|
|
|
|
|
|
|
|
|
public static Test Test;
|
|
|
|
|
|
public static int TestId = 0;
|
|
|
|
|
|
|
|
|
|
|
|
public static TestResult TestResult;
|
|
|
|
|
|
public static int TestResultId = 0;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Measured data
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public static double StartMass;
|
|
|
|
|
|
public static double StopMass;
|
|
|
|
|
|
|
|
|
|
|
|
static Current()
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// Constructor
|
|
|
|
|
|
public Current()
|
|
|
|
|
|
{
|
|
|
|
|
|
/// There should always be some raw data
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Processes current 'tick' data during measurement.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public static void ProcessTickData()
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|