2015-04-15 18:32:56 +00:00
|
|
|
|
///
|
|
|
|
|
|
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
|
|
|
|
|
///
|
|
|
|
|
|
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 TransitionStepMap : ClassMap<TransitionStep>
|
|
|
|
|
|
{
|
|
|
|
|
|
public TransitionStepMap()
|
|
|
|
|
|
{
|
|
|
|
|
|
Id(x => x.Id);
|
|
|
|
|
|
Map(x => x.ItemNr);
|
|
|
|
|
|
Map(x => x.Duration);
|
2015-01-11 08:06:54 +00:00
|
|
|
|
Map(x => x.Message);
|
2015-05-22 08:29:56 +00:00
|
|
|
|
Map(x => x.EndCondition);
|
2014-07-28 07:54:35 +00:00
|
|
|
|
Map(x => x.ValvesOpen)
|
|
|
|
|
|
.CustomType("StringClob")
|
|
|
|
|
|
.CustomSqlType("varchar(8000)");
|
|
|
|
|
|
Map(x => x.ValvesClose)
|
|
|
|
|
|
.CustomType("StringClob")
|
|
|
|
|
|
.CustomSqlType("varchar(8000)");
|
|
|
|
|
|
Map(x => x.RegulValvesPct);
|
2014-09-07 15:01:30 +00:00
|
|
|
|
Map(x => x.PumpWithFMPcts);
|
2014-07-28 07:54:35 +00:00
|
|
|
|
|
|
|
|
|
|
References(x => x.TransitionSequence);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|