public static Trend_PointDto Map(Trend_Point tp)
 {
     return(new Trend_PointDto
     {
         Id = tp.Id,
         Trend = TrendDto.Map(tp.Trend),
         Point = PointDto.Map(tp.Point)
     });
 }
Esempio n. 2
0
 public static Trend_EventDto Map(Trend_Event te)
 {
     return(new Trend_EventDto
     {
         Id = te.Id,
         StartDateTime = te.StartDateTime,
         EndDateTime = te.EndDateTime,
         Trend = TrendDto.Map(te.Trend),
         PointCounts = te.PointCounts,
         TimeOutCounts = te.TimeOutCounts,
         ErrorCount = te.ErrorCount,
         Notifications = te.Notifications
     });
 }