2016-06-28 16:04:52 +00:00
|
|
|
|
///
|
|
|
|
|
|
/// Copyright (c) 2016 Sensus Metering Systems
|
|
|
|
|
|
///
|
|
|
|
|
|
using FluentNHibernate.Mapping;
|
|
|
|
|
|
using Config.Entities;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Config.Mappings
|
|
|
|
|
|
{
|
|
|
|
|
|
#if HEAT_METERS_SUPPORT
|
|
|
|
|
|
class HeatMetersPathMap : ClassMap<HeatMetersPath>
|
|
|
|
|
|
{
|
|
|
|
|
|
public HeatMetersPathMap()
|
|
|
|
|
|
{
|
|
|
|
|
|
Id(x => x.Id);
|
|
|
|
|
|
Map(x => x.ItemNr);
|
|
|
|
|
|
Map(x => x.Name);
|
2016-07-07 09:08:25 +00:00
|
|
|
|
|
2016-08-04 09:17:01 +00:00
|
|
|
|
Map(x => x.TempWarmFrom);
|
|
|
|
|
|
Map(x => x.TempWarmTo);
|
|
|
|
|
|
Map(x => x.TempColdFrom);
|
|
|
|
|
|
Map(x => x.TempColdTo);
|
|
|
|
|
|
|
|
|
|
|
|
Map(x => x.TempWarmRef1);
|
|
|
|
|
|
Map(x => x.TempWarmRef2);
|
|
|
|
|
|
Map(x => x.TempColdRef1);
|
|
|
|
|
|
Map(x => x.TempColdRef2);
|
2016-07-07 09:08:25 +00:00
|
|
|
|
|
|
|
|
|
|
Map(x => x.TempBath1);
|
|
|
|
|
|
Map(x => x.TempBath2);
|
|
|
|
|
|
Map(x => x.TempBath3);
|
|
|
|
|
|
Map(x => x.TempBath4);
|
2016-06-28 16:04:52 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
#endif
|
|
|
|
|
|
}
|