From f57fef804da6590407b0ae5cc73bb86f60bccb6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Szab=C3=B3?= Date: Wed, 12 Feb 2025 20:00:49 +0100 Subject: [PATCH] =?UTF-8?q?Alap=20funkci=C3=B3=20m=C5=B1k=C3=B6d=C3=A9s=20?= =?UTF-8?q?CheckPoints?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/WorkFlowCheck.MAUI/AppShell.xaml | 7 ++++ .../ContentViews/HeaderView.xaml | 11 ++++++ .../ContentViews/HeaderView.xaml.cs | 9 +++++ src/WorkFlowCheck.MAUI/MainPage.xaml | 8 ++++- src/WorkFlowCheck.MAUI/MainPage.xaml.cs | 6 +++- src/WorkFlowCheck.MAUI/MauiProgram.cs | 4 ++- .../Pages/BaseStock/BaseStockPage.xaml | 18 ++++++++++ .../Pages/BaseStock/BaseStockPage.xaml.cs | 28 +++++++++++++++ .../CheckPoints/CheckPointsPage.xaml | 18 ++++++++++ .../CheckPoints/CheckPointsPage.xaml.cs | 36 +++++++++++++++++++ .../BaseStock/Equipments/EquipmentsPage.xaml | 12 +++++++ .../Equipments/EquipmentsPage.xaml.cs | 14 ++++++++ .../Pages/BaseStock/LocationsPage.xaml | 12 +++++++ .../Pages/BaseStock/LocationsPage.xaml.cs | 14 ++++++++ .../Pages/Security/LoginPage.xaml.cs | 3 +- .../Pages/System/SyncPage.xaml.cs | 2 +- .../Services/BaseStockService.cs | 33 +++++++++++++++++ .../Services/Interfaces/IBaseStockService.cs | 18 ++++++++++ .../Services/{ => Interfaces}/ISyncService.cs | 2 +- .../Services/{ => Interfaces}/IUserService.cs | 2 +- .../Services/SyncService.cs | 1 + .../Services/UserService.cs | 1 + .../WorkFlowCheck.MAUI.csproj | 15 ++++++++ 23 files changed, 266 insertions(+), 8 deletions(-) create mode 100644 src/WorkFlowCheck.MAUI/ContentViews/HeaderView.xaml create mode 100644 src/WorkFlowCheck.MAUI/ContentViews/HeaderView.xaml.cs create mode 100644 src/WorkFlowCheck.MAUI/Pages/BaseStock/BaseStockPage.xaml create mode 100644 src/WorkFlowCheck.MAUI/Pages/BaseStock/BaseStockPage.xaml.cs create mode 100644 src/WorkFlowCheck.MAUI/Pages/BaseStock/CheckPoints/CheckPointsPage.xaml create mode 100644 src/WorkFlowCheck.MAUI/Pages/BaseStock/CheckPoints/CheckPointsPage.xaml.cs create mode 100644 src/WorkFlowCheck.MAUI/Pages/BaseStock/Equipments/EquipmentsPage.xaml create mode 100644 src/WorkFlowCheck.MAUI/Pages/BaseStock/Equipments/EquipmentsPage.xaml.cs create mode 100644 src/WorkFlowCheck.MAUI/Pages/BaseStock/LocationsPage.xaml create mode 100644 src/WorkFlowCheck.MAUI/Pages/BaseStock/LocationsPage.xaml.cs create mode 100644 src/WorkFlowCheck.MAUI/Services/BaseStockService.cs create mode 100644 src/WorkFlowCheck.MAUI/Services/Interfaces/IBaseStockService.cs rename src/WorkFlowCheck.MAUI/Services/{ => Interfaces}/ISyncService.cs (80%) rename src/WorkFlowCheck.MAUI/Services/{ => Interfaces}/IUserService.cs (88%) diff --git a/src/WorkFlowCheck.MAUI/AppShell.xaml b/src/WorkFlowCheck.MAUI/AppShell.xaml index b3262c6..076db3a 100644 --- a/src/WorkFlowCheck.MAUI/AppShell.xaml +++ b/src/WorkFlowCheck.MAUI/AppShell.xaml @@ -7,6 +7,7 @@ xmlns:security="clr-namespace:WorkFlowCheck.MAUI.Pages.Security" xmlns:nfc="clr-namespace:WorkFlowCheck.MAUI.Pages.NFC" xmlns:system="clr-namespace:WorkFlowCheck.MAUI.Pages.System" + xmlns:base="clr-namespace:WorkFlowCheck.MAUI.Pages.BaseStock" Shell.FlyoutBehavior="Disabled" Title="WorkFlowCheck.MAUI"> @@ -15,4 +16,10 @@ + + + + + + diff --git a/src/WorkFlowCheck.MAUI/ContentViews/HeaderView.xaml b/src/WorkFlowCheck.MAUI/ContentViews/HeaderView.xaml new file mode 100644 index 0000000..58a61af --- /dev/null +++ b/src/WorkFlowCheck.MAUI/ContentViews/HeaderView.xaml @@ -0,0 +1,11 @@ + + + + + diff --git a/src/WorkFlowCheck.MAUI/ContentViews/HeaderView.xaml.cs b/src/WorkFlowCheck.MAUI/ContentViews/HeaderView.xaml.cs new file mode 100644 index 0000000..a0cd16e --- /dev/null +++ b/src/WorkFlowCheck.MAUI/ContentViews/HeaderView.xaml.cs @@ -0,0 +1,9 @@ +namespace WorkFlowCheck.MAUI.ContentViews; + +public partial class HeaderView : ContentView +{ + public HeaderView() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/src/WorkFlowCheck.MAUI/MainPage.xaml b/src/WorkFlowCheck.MAUI/MainPage.xaml index 33f5b5c..b5f56ff 100644 --- a/src/WorkFlowCheck.MAUI/MainPage.xaml +++ b/src/WorkFlowCheck.MAUI/MainPage.xaml @@ -36,7 +36,13 @@ Text="Sync data" SemanticProperties.Hint="Sync data" Clicked="OnButtonSync" - HorizontalOptions="Fill" /> + HorizontalOptions="Fill" /> +