From 6077a0ac42cbd0379e64d8dd26580cf58791684b Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 6 Oct 2025 11:07:54 +0200 Subject: [PATCH] OwnChat Teams eingebaut --- BeWo/BeWo.csproj | 6 +- BeWo/BeWoApp.xaml.cs | 2 +- BeWo/DebugConfig.cs | 5 +- .../AssessmentSheetValueControl.xaml.cs | 2 +- BeWo/View/Detail/ServiceCategoryView.xaml | 8 +- BeWo/View/Detail/ServiceDescriptionView.xaml | 6 +- BeWo/View/Detail/TeamView.xaml | 74 +++++++- BeWo/View/Detail/TeamView.xaml.cs | 158 ++++++++++++++++++ BeWo/ViewModel/TeamVM.cs | 44 ++++- BeWo/app.config | 6 +- .../BeWoDatabaseTerminator/Program.cs | 23 ++- Data/Data.csproj | 2 + Data/Entities/Customer.cs | 2 +- Data/Entities/Person2Team.cs | 24 +++ Data/Entities/Team.cs | 20 +++ Data/Mappings/Person2Team.hbm.xml | 22 +++ Data/Mappings/Team.hbm.xml | 5 + Model/Changes_2025-10-06_Person2Team.txt | 21 +++ Model/Changes_alle_fuer_neue_db.txt | 22 +++ ...ssmentSheetValueDC_AssessmentSheetValue.cs | 1 + Service/DCEntityMapper/MapperFactory.cs | 5 + .../Person2TeamDC_Person2Team.cs | 45 +++++ Service/DCEntityMapper/TeamDC_Team.cs | 4 + Service/Plugins/CustomerService.cs | 1 + Service/Plugins/PluginLoader.cs | 8 +- Service/Service.csproj | 1 + Shared/BeWoEntityEnums.cs | 3 +- .../DataContracts/AssessmentSheetValueDC.cs | 3 + .../ClientPartials/ValueListEntryDC.cs | 48 ++++++ .../Compact/ClientPartials/CompactPersonDC.cs | 2 +- Shared/DataContracts/Person2TeamDC.cs | 41 +++++ Shared/DataContracts/TeamDC.cs | 6 +- Shared/Shared.csproj | 1 + 33 files changed, 580 insertions(+), 41 deletions(-) create mode 100644 Data/Entities/Person2Team.cs create mode 100644 Data/Mappings/Person2Team.hbm.xml create mode 100644 Model/Changes_2025-10-06_Person2Team.txt create mode 100644 Service/DCEntityMapper/Person2TeamDC_Person2Team.cs create mode 100644 Shared/DataContracts/Person2TeamDC.cs diff --git a/BeWo/BeWo.csproj b/BeWo/BeWo.csproj index 6addf44e9..588baa13c 100644 --- a/BeWo/BeWo.csproj +++ b/BeWo/BeWo.csproj @@ -16,7 +16,7 @@ true Internet true - false + true 8E3A8E81F1C6F67A1C6D239593544EA33D8AC6A7 @@ -43,12 +43,12 @@ de-DE BeWoPlaner ownSoft GmbH - 2.0.1.277 + 2.0.1.279 true publish.htm false true - 278 + 279 2.0.1.%2a false true diff --git a/BeWo/BeWoApp.xaml.cs b/BeWo/BeWoApp.xaml.cs index da2f0582d..b2bc33919 100644 --- a/BeWo/BeWoApp.xaml.cs +++ b/BeWo/BeWoApp.xaml.cs @@ -58,7 +58,7 @@ namespace BeWo public static string ShortVersion = "3.27"; - public static string Version = "Version 3.27.2"; + public static string Version = "Version 3.27.3"; public static int RenderTier = 0; public static bool IsInDesignMode = DesignerProperties.GetIsInDesignMode(new DependencyObject()); diff --git a/BeWo/DebugConfig.cs b/BeWo/DebugConfig.cs index 43eca4a00..94d39cc51 100644 --- a/BeWo/DebugConfig.cs +++ b/BeWo/DebugConfig.cs @@ -24,8 +24,9 @@ namespace BeWo /// /// Wird verwendet, wenn keine DebugConfig geladen wurde oder DefaultProfilename empty ist /// - public static string ServerUrl { get; set; } - = "http://localhost:3777/Host"; + public static string ServerUrl { get; set; } + //= "https://app5.bewoplaner.de/service"; + = "http://localhost:3777/Host"; // = "http://178.63.79.124/service"; public DebugConfigMode DebugConfigMode { get; set; } diff --git a/BeWo/View/Controls/AssessmentSheetValueControl.xaml.cs b/BeWo/View/Controls/AssessmentSheetValueControl.xaml.cs index a2d45140b..e477ef077 100644 --- a/BeWo/View/Controls/AssessmentSheetValueControl.xaml.cs +++ b/BeWo/View/Controls/AssessmentSheetValueControl.xaml.cs @@ -29,7 +29,7 @@ namespace BeWo.View.Controls c.shine.Visibility = Visibility.Visible; c.tb.Text = vm.Sign; c.border.Background = vm.Brush; - c.border.ToolTip = vm.Description; + c.border.ToolTip = vm.DataContract.Tooltip; } else { diff --git a/BeWo/View/Detail/ServiceCategoryView.xaml b/BeWo/View/Detail/ServiceCategoryView.xaml index 6d30f053c..2eaf43a32 100644 --- a/BeWo/View/Detail/ServiceCategoryView.xaml +++ b/BeWo/View/Detail/ServiceCategoryView.xaml @@ -12,6 +12,7 @@ Height="Auto" Width="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Focusable="True"> + @@ -114,11 +115,11 @@ - + - - + + @@ -156,5 +157,6 @@ + \ No newline at end of file diff --git a/BeWo/View/Detail/ServiceDescriptionView.xaml b/BeWo/View/Detail/ServiceDescriptionView.xaml index 936319620..20e22ad64 100644 --- a/BeWo/View/Detail/ServiceDescriptionView.xaml +++ b/BeWo/View/Detail/ServiceDescriptionView.xaml @@ -120,7 +120,7 @@ - + @@ -133,8 +133,8 @@ - - + + diff --git a/BeWo/View/Detail/TeamView.xaml b/BeWo/View/Detail/TeamView.xaml index d4e3e6110..3eb781a83 100644 --- a/BeWo/View/Detail/TeamView.xaml +++ b/BeWo/View/Detail/TeamView.xaml @@ -1,5 +1,6 @@  @@ -92,6 +93,17 @@ + + + + + + + @@ -128,6 +140,7 @@ + @@ -136,17 +149,66 @@ - - - + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + +