MySQL DB changes for IPERL : FWVersion and FlowMean added, no conflict with FlowMin.

This commit is contained in:
Milan Hanajik
2017-06-15 18:59:05 +02:00
parent 1bf118bdb9
commit 6773624cb4
7 changed files with 40 additions and 14 deletions
+6 -1
View File
@@ -1,4 +1,7 @@
using System;
///
/// Copyright (c) 2015-2017 Sensus Metering Systems
///
using System;
using System.Collections.Generic;
using System.Text;
using Config.Entities;
@@ -34,6 +37,7 @@ namespace Results.Entities
public virtual double Diff2Hz8Hz { get; set; }
public virtual bool Hz2CorrectionDone { get; set; } /// true = iPerl Q2 correction was done
public virtual int Hz2Correction { get; set; } /// iPerl Q2 correction used during the test
public virtual string FWVersion { get; set; }
#endif
#if ORACLE_DB
public virtual int Pruefindex { get; set; } /// Not mapped to DB !!! 0=unknown (saving to Oracle failed), >=1 ... pruefindex
@@ -196,6 +200,7 @@ namespace Results.Entities
Diff2Hz8Hz = src.Diff2Hz8Hz;
Hz2CorrectionDone = src.Hz2CorrectionDone;
Hz2Correction = src.Hz2Correction;
FWVersion = src.FWVersion;
#endif
#if ORACLE_DB
Pruefindex = src.Pruefindex;
+1
View File
@@ -38,6 +38,7 @@ namespace Results.Mappings
Map(x => x.Diff2Hz8Hz);
Map(x => x.Hz2CorrectionDone);
Map(x => x.Hz2Correction);
Map(x => x.FWVersion);
#endif
References(x => x.WaterMeterData);
References(x => x.Batch);