IperlHead as in 2.26, MeterTestRslt.ExtraDataPath and related changes, set in FlyingStart, FlStMassCollection and FlStMassCollProlonged.

This commit is contained in:
Milan Hanajik
2021-06-27 15:52:05 +02:00
parent ac7c737d1b
commit cd15ab2432
6 changed files with 149 additions and 132 deletions
+12
View File
@@ -31,6 +31,9 @@ namespace Results.Entities
public virtual double KorrErrQ { get; set; } /// [%] not mapped to results DB, saved to Oracle DB
public virtual bool TestDone { get; set; } /// true = test was completed
public virtual bool Passed { get; set; } /// true = test passed, water meter is OK
#if IPERL
public virtual string ExtraDataPath { get; set; } /// Relative path to a file with opto-data/raw-data
#endif
#if ORACLE_DB
public virtual double LastError { get; set; } /// [%] Previous test error at this Q in case Pruefindex > 1
#endif
@@ -146,6 +149,9 @@ namespace Results.Entities
KorrErrQ = src.KorrErrQ;
TestDone = src.TestDone;
Passed = src.Passed;
#if IPERL
ExtraDataPath = src.ExtraDataPath;
#endif
#if ORACLE_DB
LastError = src.LastError;
#endif
@@ -177,6 +183,9 @@ namespace Results.Entities
writer.Write(KorrErrQ);
writer.Write(TestDone);
writer.Write(Passed);
#if IPERL
writer.Write((ExtraDataPath != null) ? ExtraDataPath : string.Empty);
#endif
#if ORACLE_DB
writer.Write(LastError);
#endif
@@ -205,6 +214,9 @@ namespace Results.Entities
KorrErrQ = reader.ReadDouble();
TestDone = reader.ReadBoolean();
Passed = reader.ReadBoolean();
#if IPERL
ExtraDataPath = reader.ReadString();
#endif
#if ORACLE_DB
LastError = reader.ReadDouble();
#endif