Files
BeWoPlaner/Report/DefaultReports/FLSSollIstReport.cs
2025-12-01 19:08:37 +01:00

34 lines
869 B
C#

using System;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report.ReportObjects;
using BeWo.Report;
namespace BeWo.Report.DefaultReports
{
public partial class FLSSollIstReport : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<FLSSollIstReportRO>
{
public FLSSollIstReport()
{
InitializeComponent();
}
public void SetReportDataSource(FLSSollIstReportRO pRO)
{
//foreach (var group in pRO.FLSReportGroups)
//{
// foreach (var sr in group.ServiceRecords)
// {
// if (!sr.DistanceInMeter.HasValue && sr.ServiceRecordOid.HasValue)
// {
// var srBO = DAOFactory.GenericDAO.LoadByID<ServiceRecord>(sr.ServiceRecordOid.Value);
// sr.DistanceInMeter = srBO.DistanceInMeter;
// }
// }
//}
this.bindingSource1.DataSource = pRO;
}
}
}