diff --git a/BeWo/BeWo.csproj b/BeWo/BeWo.csproj
index 8ed9d7433..a7539b52a 100644
--- a/BeWo/BeWo.csproj
+++ b/BeWo/BeWo.csproj
@@ -165,6 +165,7 @@
+
@@ -205,6 +206,9 @@
AiConfigView.xaml
+
+ AiPromptbausteinRoutineView.xaml
+
DatenbereinigungView.xaml
@@ -216,6 +220,7 @@
+
AnimatedBeWoWindow.xaml
@@ -343,6 +348,10 @@
Designer
MSBuild:Compile
+
+ Designer
+ MSBuild:Compile
+
MSBuild:Compile
Designer
diff --git a/BeWo/ServiceProxy/GeneratedAiEnhancedService.cs b/BeWo/ServiceProxy/GeneratedAiEnhancedService.cs
index c90adc2e7..c17dfc380 100644
--- a/BeWo/ServiceProxy/GeneratedAiEnhancedService.cs
+++ b/BeWo/ServiceProxy/GeneratedAiEnhancedService.cs
@@ -75,6 +75,11 @@ namespace BeWo.ServiceProxy
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/InsertAiPromptbausteinPromptBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List InsertAiPromptbausteinPrompt(System.Collections.Generic.List prompts);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/InsertAiPromptbausteinRoutine", ReplyAction="http://tempuri.org/IAiEnhancedService/InsertAiPromptbausteinRoutineResponse")]
+ [System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/InsertAiPromptbausteinRoutineBeWoFaultFault" +
+ "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
+ System.Collections.Generic.List InsertAiPromptbausteinRoutine(System.Collections.Generic.List routine);
+
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/UpdateAiPromptbausteinFolder", ReplyAction="http://tempuri.org/IAiEnhancedService/UpdateAiPromptbausteinFolderResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/UpdateAiPromptbausteinFolderBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List UpdateAiPromptbausteinFolder(System.Collections.Generic.List folders);
@@ -83,6 +88,11 @@ namespace BeWo.ServiceProxy
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/UpdateAiPromptbausteinPromptBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List UpdateAiPromptbausteinPrompt(System.Collections.Generic.List prompts);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/UpdateAiPromptbausteinRoutine", ReplyAction="http://tempuri.org/IAiEnhancedService/UpdateAiPromptbausteinRoutineResponse")]
+ [System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/UpdateAiPromptbausteinRoutineBeWoFaultFault" +
+ "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
+ System.Collections.Generic.List UpdateAiPromptbausteinRoutine(System.Collections.Generic.List routine);
+
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/DeleteAiPromptbausteinFolder", ReplyAction="http://tempuri.org/IAiEnhancedService/DeleteAiPromptbausteinFolderResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/DeleteAiPromptbausteinFolderBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteAiPromptbausteinFolder(System.Collections.Generic.Dictionary oid2version);
@@ -91,6 +101,11 @@ namespace BeWo.ServiceProxy
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/DeleteAiPromptbausteinPromptBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteAiPromptbausteinPrompt(System.Collections.Generic.Dictionary oid2version);
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/DeleteAiPromptbausteinRoutine", ReplyAction="http://tempuri.org/IAiEnhancedService/DeleteAiPromptbausteinRoutineResponse")]
+ [System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/DeleteAiPromptbausteinRoutineBeWoFaultFault" +
+ "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
+ void DeleteAiPromptbausteinRoutine(System.Collections.Generic.Dictionary oid2version);
+
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/ExecuteAiFunctionServiceRecordDocumentation" +
"", ReplyAction="http://tempuri.org/IAiEnhancedService/ExecuteAiFunctionServiceRecordDocumentation" +
"Response")]
@@ -211,6 +226,11 @@ namespace BeWo.ServiceProxy
return base.Channel.InsertAiPromptbausteinPrompt(prompts);
}
+ public System.Collections.Generic.List InsertAiPromptbausteinRoutine(System.Collections.Generic.List routine)
+ {
+ return base.Channel.InsertAiPromptbausteinRoutine(routine);
+ }
+
public System.Collections.Generic.List UpdateAiPromptbausteinFolder(System.Collections.Generic.List folders)
{
return base.Channel.UpdateAiPromptbausteinFolder(folders);
@@ -221,6 +241,11 @@ namespace BeWo.ServiceProxy
return base.Channel.UpdateAiPromptbausteinPrompt(prompts);
}
+ public System.Collections.Generic.List UpdateAiPromptbausteinRoutine(System.Collections.Generic.List routine)
+ {
+ return base.Channel.UpdateAiPromptbausteinRoutine(routine);
+ }
+
public void DeleteAiPromptbausteinFolder(System.Collections.Generic.Dictionary oid2version)
{
base.Channel.DeleteAiPromptbausteinFolder(oid2version);
@@ -231,6 +256,11 @@ namespace BeWo.ServiceProxy
base.Channel.DeleteAiPromptbausteinPrompt(oid2version);
}
+ public void DeleteAiPromptbausteinRoutine(System.Collections.Generic.Dictionary oid2version)
+ {
+ base.Channel.DeleteAiPromptbausteinRoutine(oid2version);
+ }
+
public BS.Shared.DataContracts.Feature.AI.Functions.ServiceRecords.AiFunctionDocResponse ExecuteAiFunctionServiceRecordDocumentation(BS.Shared.DataContracts.Feature.AI.Functions.ServiceRecords.AiFunctionDocRequest request)
{
return base.Channel.ExecuteAiFunctionServiceRecordDocumentation(request);
diff --git a/BeWo/Services/BeWoWindowService.cs b/BeWo/Services/BeWoWindowService.cs
index 978aff5d1..b2070620c 100644
--- a/BeWo/Services/BeWoWindowService.cs
+++ b/BeWo/Services/BeWoWindowService.cs
@@ -68,6 +68,10 @@ namespace BeWo.Services
{
ShowAiPromptbausteinSelectionComplexWindow(viewModel6);
}
+ else if (windowViewModel is AiPromptbausteinRoutineViewModel viewModel7)
+ {
+ ShowAiPromptbausteinRoutineWindow(viewModel7);
+ }
else
{
throw new NotImplementedException($"type not implemented: {typeof(T)}");
@@ -105,6 +109,16 @@ namespace BeWo.Services
};
Show("KI Promptbaustein Prompt", control, viewModel, options);
}
+ public void ShowAiPromptbausteinRoutineWindow(AiPromptbausteinRoutineViewModel viewModel)
+ {
+ var control = new AiPromptbausteinRoutineView(viewModel);
+ var options = new BeWoWindowOptions()
+ {
+ Height = 400,
+ Width = 600
+ };
+ Show("KI Promptbaustein Prompt", control, viewModel, options);
+ }
public void ShowAiPromptbausteinActionResultWindow(AiPromptbausteinActionResultViewModel viewModel)
{
var control = new AiPromptbausteinActionResultView(viewModel);
diff --git a/BeWo/Styles/DataTemplates/DataTemplates.xaml b/BeWo/Styles/DataTemplates/DataTemplates.xaml
index 71f5c2d98..f39d699df 100644
--- a/BeWo/Styles/DataTemplates/DataTemplates.xaml
+++ b/BeWo/Styles/DataTemplates/DataTemplates.xaml
@@ -12,14 +12,25 @@
ItemsSource="{Binding Path=SubFolders.VMList}">
+
+
+
+
@@ -48,6 +59,49 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BeWo/View/BeWoFileView.xaml b/BeWo/View/BeWoFileView.xaml
index 4b06691b2..4f19b2d73 100644
--- a/BeWo/View/BeWoFileView.xaml
+++ b/BeWo/View/BeWoFileView.xaml
@@ -37,7 +37,10 @@
@@ -54,7 +57,6 @@
Height="20"
Source="..\Ressources\Icons\Folder.png"
Stretch="Fill" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+