36 lines
781 B
C#
36 lines
781 B
C#
///
|
|
/// 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);
|
|
|
|
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);
|
|
|
|
Map(x => x.TempBath1);
|
|
Map(x => x.TempBath2);
|
|
Map(x => x.TempBath3);
|
|
Map(x => x.TempBath4);
|
|
}
|
|
}
|
|
#endif
|
|
}
|