From fa63d82dc557d2a568f28801908a0c2facb3c2cc Mon Sep 17 00:00:00 2001 From: Emmanuele Sassi Date: Fri, 16 Apr 2021 00:04:28 +0200 Subject: [PATCH] Liste funzionanti in Supervisor --- .../Controllers/MachGroupController.cs | 2 +- .../EgtBEAMWALL.Supervisor.vbproj | 22 +++ .../LeftPanel/LeftPanelV.xaml | 98 +++++++++++ .../LeftPanel/LeftPanelV.xaml.vb | 3 + .../LeftPanel/LeftPanelVM.vb | 155 ++++++++++++++++++ .../LeftPanel/PartInRawPartListV.xaml | 116 +++++++++++++ .../LeftPanel/PartInRawPartListV.xaml.vb | 15 ++ .../LeftPanel/RawPartListV.xaml | 95 +++++++++++ .../LeftPanel/RawPartListV.xaml.vb | 3 + .../MainWindow/MainWindowV.xaml | 47 ++---- .../MainWindow/MainWindowVM.vb | 125 -------------- EgtBEAMWALL.Supervisor/Project/ProjectV.xaml | 5 +- .../SupervisorManager/SupervisorManagerVM.vb | 3 +- .../Utility/Dictionary.xaml | 4 +- EgtBEAMWALL.Supervisor/Utility/Map.vb | 20 +-- 15 files changed, 539 insertions(+), 174 deletions(-) create mode 100644 EgtBEAMWALL.Supervisor/LeftPanel/LeftPanelV.xaml create mode 100644 EgtBEAMWALL.Supervisor/LeftPanel/LeftPanelV.xaml.vb create mode 100644 EgtBEAMWALL.Supervisor/LeftPanel/LeftPanelVM.vb create mode 100644 EgtBEAMWALL.Supervisor/LeftPanel/PartInRawPartListV.xaml create mode 100644 EgtBEAMWALL.Supervisor/LeftPanel/PartInRawPartListV.xaml.vb create mode 100644 EgtBEAMWALL.Supervisor/LeftPanel/RawPartListV.xaml create mode 100644 EgtBEAMWALL.Supervisor/LeftPanel/RawPartListV.xaml.vb diff --git a/EgtBEAMWALL.DataLayer/Controllers/MachGroupController.cs b/EgtBEAMWALL.DataLayer/Controllers/MachGroupController.cs index 91191e2d..95745d43 100644 --- a/EgtBEAMWALL.DataLayer/Controllers/MachGroupController.cs +++ b/EgtBEAMWALL.DataLayer/Controllers/MachGroupController.cs @@ -384,7 +384,7 @@ namespace EgtBEAMWALL.DataLayer.Controllers // aggiorno var currRecord = dbCtx .PartList - .Where(x => x.Prod.ProdId == ProdId && x.MachGroupId == MachGroupId && x.PartId == PartId) + .Where(x => x.MachGroup.Prod.ProdId == ProdId && x.MachGroup.MachGroupId == MachGroupId && x.PartId == PartId) .FirstOrDefault(); currRecord.DtStart = DtStart; diff --git a/EgtBEAMWALL.Supervisor/EgtBEAMWALL.Supervisor.vbproj b/EgtBEAMWALL.Supervisor/EgtBEAMWALL.Supervisor.vbproj index 8ad77044..6436e5d4 100644 --- a/EgtBEAMWALL.Supervisor/EgtBEAMWALL.Supervisor.vbproj +++ b/EgtBEAMWALL.Supervisor/EgtBEAMWALL.Supervisor.vbproj @@ -141,6 +141,16 @@ + + LeftPanelV.xaml + + + + PartInRawPartListV.xaml + + + RawPartListV.xaml + @@ -185,6 +195,18 @@ ViewPanelV.xaml + + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + MSBuild:Compile Designer diff --git a/EgtBEAMWALL.Supervisor/LeftPanel/LeftPanelV.xaml b/EgtBEAMWALL.Supervisor/LeftPanel/LeftPanelV.xaml new file mode 100644 index 00000000..8a778ea4 --- /dev/null +++ b/EgtBEAMWALL.Supervisor/LeftPanel/LeftPanelV.xaml @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +