Changes for Xylem Nanjing, ver. 3.1.1676

This commit is contained in:
Milan Hanajik
2021-06-18 15:35:46 +02:00
parent f1ef16e1a3
commit 827a9f7c58
837 changed files with 46518 additions and 5851 deletions
+6 -7
View File
@@ -1,5 +1,5 @@
///
/// Copyright (c) 2013-2019 Sensus Slovensko a.s.
/// Copyright (c) 2013-2021 Sensus Slovensko a.s.
///
using System;
using System.Collections.Generic;
@@ -7,11 +7,10 @@ using System.Drawing;
using System.Windows.Forms;
using log4net;
using NHibernate;
using Config.Entities;
using Common;
using Results;
using Results.Forms;
using Results.Entities;
using TracingDB.Entities;
using SharedDatabase.Entities;
using TBF.Resources;
using TBF.UiBridge;
@@ -549,15 +548,15 @@ namespace TBF.UI.ResultsMI
}
void ShowMoreWMResults(WaterMeter wm)
void ShowMoreWMResults(Results.Entities.WaterMeter wm)
{
if ((TracingDB.DB.SessionFactory == null) || string.IsNullOrEmpty(wm.SerialNr))
if ((SharedDatabase.TracingDB.SessionFactory == null) || string.IsNullOrEmpty(wm.SerialNr))
{
new MoreWMResultsDlg(wm, null).ShowDialog();
}
else
{
using (ISession session = TracingDB.DB.SessionFactory.OpenSession())
using (ISession session = SharedDatabase.TracingDB.SessionFactory.OpenSession())
{
IList<ReferenceRecord> refRecords = session.QueryOver<ReferenceRecord>()
.Where(x => (x.Code == wm.SerialNr))