PurchaseOrder handling in database and entry forms. DB table TestResult changed.

IHasCycleBeginForm and IHasCycleEndForm changed, values now available directly from forms, not only from Watermeters.
This commit is contained in:
Milan Hanajik
2015-03-26 05:53:15 +01:00
parent c85b65c2e1
commit 0323efe57c
12 changed files with 315 additions and 111 deletions
@@ -4,6 +4,21 @@ namespace TBF.BenchControl.GenericDevices
{
public interface IHasCycleBeginForm
{
/// <summary>
/// Purchase order selected/typed in the cycle beginning form
/// </summary>
string PurchaseOrder { get; }
/// <summary>
/// Water meter serial numbers typed in the cycle beginning form
/// </summary>
string SerialNr(int wmNr);
/// <summary>
/// Water meter not present/disregarded information (default = false = present)
/// </summary>
bool Disabled(int wmNr);
/// <summary>
/// Displays form at the beginning of the cycle (usually to enter S/N).
/// </summary>
@@ -4,7 +4,12 @@ namespace TBF.BenchControl.GenericDevices
{
public interface IHasCycleEndForm
{
/// <summary>
/// <summary>
/// Water meter states typed in the cycle end form
/// </summary>
string WMEndState(int wmNr);
/// <summary>
/// Displays form at the end of the cycle (usually to enter the end state).
/// </summary>
/// <param name="waterMeters">Watermetes to be updated by the operation</param>