21 lines
741 B
C#
21 lines
741 B
C#
///
|
|
/// Copyright (c) 2017 Sensus Metering Systems
|
|
///
|
|
using System;
|
|
using TBF.BenchControl.Generic;
|
|
using Results.Entities;
|
|
|
|
namespace TBF.BenchControl.GenericDevices
|
|
{
|
|
public interface IErrorFlags : IComponent
|
|
{
|
|
Config.Entities.ErrorFlagsMode Mode { get; }
|
|
|
|
int GetErrorFlags(TestRslt testRslt, bool getE9E10, bool getE11E12, int switchTimeStart, int switchTimeEnd);
|
|
|
|
int GetE15(MeterTestRslt mtrQ3, MeterTestRslt mtrQ2, MeterTestRslt mtrQ1); /// Return value is either 0 (=OK) or 0x4000 (=E15), it should be OR-ed with error flags
|
|
|
|
int GetE16(MeterTestRslt mtrQ3, MeterTestRslt mtrQ2, MeterTestRslt mtrQ1); /// Return value is either 0 (=OK) or 0x8000 (=E16), it should be OR-ed with error flags
|
|
}
|
|
}
|