2015-04-15 18:32:56 +00:00
|
|
|
|
///
|
2023-09-13 11:09:23 +00:00
|
|
|
|
/// Copyright (c) 2013-2023 Sensus Slovensko a.s.
|
2015-04-15 18:32:56 +00:00
|
|
|
|
///
|
|
|
|
|
|
using FluentNHibernate.Mapping;
|
2015-12-04 16:17:20 +00:00
|
|
|
|
using Config.Entities;
|
2014-07-28 07:54:35 +00:00
|
|
|
|
|
2015-12-04 16:17:20 +00:00
|
|
|
|
namespace Config.Mappings
|
2014-07-28 07:54:35 +00:00
|
|
|
|
{
|
|
|
|
|
|
class TestMap : ClassMap<Test>
|
|
|
|
|
|
{
|
|
|
|
|
|
public TestMap()
|
|
|
|
|
|
{
|
|
|
|
|
|
Id(x => x.Id);
|
|
|
|
|
|
Map(x => x.ItemNr);
|
|
|
|
|
|
Map(x => x.Name);
|
2015-01-04 22:21:12 +00:00
|
|
|
|
Map(x => x.Part);
|
2019-11-27 10:22:32 +00:00
|
|
|
|
Map(x => x.Profile);
|
|
|
|
|
|
Map(x => x.Publish);
|
2021-02-24 16:42:50 +00:00
|
|
|
|
Map(x => x.DoEvaluate);
|
2019-09-21 16:03:25 +00:00
|
|
|
|
Map(x => x.Qtg);
|
|
|
|
|
|
Map(x => x.Qfrom);
|
2014-07-28 07:54:35 +00:00
|
|
|
|
Map(x => x.Qto);
|
2023-09-13 11:09:23 +00:00
|
|
|
|
Map(x => x.IsFromToInPct);
|
|
|
|
|
|
Map(x => x.Volume);
|
2021-02-24 16:42:50 +00:00
|
|
|
|
Map(x => x.TestTime);
|
2014-07-28 07:54:35 +00:00
|
|
|
|
Map(x => x.Repeats);
|
2021-02-24 16:42:50 +00:00
|
|
|
|
Map(x => x.DoDraining);
|
|
|
|
|
|
Map(x => x.DoDrainingAfter);
|
2017-06-08 13:42:47 +00:00
|
|
|
|
Map(x => x.TempLimLo);
|
|
|
|
|
|
Map(x => x.TempLimHi);
|
2022-05-13 07:35:38 +00:00
|
|
|
|
Map(x => x.TempControl);
|
|
|
|
|
|
Map(x => x.PumpPower);
|
2016-04-14 15:03:33 +00:00
|
|
|
|
Map(x => x.MassRepeats);
|
|
|
|
|
|
Map(x => x.MassSpread);
|
2017-03-28 19:40:27 +00:00
|
|
|
|
Map(x => x.MassMethod)
|
2021-02-24 16:42:50 +00:00
|
|
|
|
.CustomType<byte>();
|
2015-05-19 13:38:58 +00:00
|
|
|
|
Map(x => x.TimeBeforeFlow);
|
|
|
|
|
|
Map(x => x.TimeFlow2Mass);
|
2021-02-24 16:42:50 +00:00
|
|
|
|
Map(x => x.TimePump2StartV);
|
2015-05-19 13:38:58 +00:00
|
|
|
|
Map(x => x.TimeStop2Mass);
|
2014-07-28 07:54:35 +00:00
|
|
|
|
Map(x => x.Method);
|
|
|
|
|
|
Map(x => x.ErrLimLo);
|
|
|
|
|
|
Map(x => x.ErrLimHi);
|
2015-11-27 14:10:55 +00:00
|
|
|
|
Map(x => x.Uncertainty);
|
2021-02-24 16:42:50 +00:00
|
|
|
|
Map(x => x.ShortPulses);
|
2014-07-28 07:54:35 +00:00
|
|
|
|
Map(x => x.FeedingPath);
|
|
|
|
|
|
Map(x => x.BenchPath);
|
|
|
|
|
|
Map(x => x.OutputPath);
|
|
|
|
|
|
Map(x => x.MetersPath);
|
2017-02-14 12:25:43 +00:00
|
|
|
|
#if HEAT_METERS
|
2016-06-28 16:04:52 +00:00
|
|
|
|
Map(x => x.HeatMetersPath);
|
|
|
|
|
|
#endif
|
2021-02-24 16:42:50 +00:00
|
|
|
|
Map(x => x.TransBefore);
|
|
|
|
|
|
Map(x => x.TransBetween);
|
|
|
|
|
|
Map(x => x.TransAfter);
|
2019-11-27 10:22:32 +00:00
|
|
|
|
|
|
|
|
|
|
HasMany(x => x.MoreParams)
|
2014-07-28 07:54:35 +00:00
|
|
|
|
.Cascade.All();
|
|
|
|
|
|
References(x => x.Procedure);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|