Alten Stuff entfernt

This commit is contained in:
2026-01-23 16:28:47 +01:00
parent da88bfa953
commit 2e48e20768
75 changed files with 297 additions and 3516 deletions

View File

@@ -128,23 +128,16 @@
<Compile Include="ViewModel\AiConfigVM.cs" />
<Compile Include="ViewModel\AiPromptbausteinFolderVM.cs" />
<Compile Include="ViewModel\AiPromptbausteinPromptVM.cs" />
<Compile Include="ViewModel\AiPromptbausteinTreeVM.cs" />
<Compile Include="ViewModel\ListViewModel\AiPromptbausteinPromptListVM.cs" />
<Compile Include="ViewModel\ListViewModel\AiPromptbausteinFolderListVM.cs" />
<Compile Include="ViewModel\ListViewModel\AiPromptbausteinTreeListVM.cs" />
<Compile Include="ViewModel\ListViewModel\AiPromptbausteinListVM.cs" />
<Compile Include="ViewModel\ListViewModel\TextModuleListVM.cs" />
<Compile Include="ViewModel\AiPromptbausteinVM.cs" />
<Compile Include="ViewModel\View\AcceptCancelDialogViewModel.cs" />
<Compile Include="ViewModel\View\Administration\AiPromptbausteinDetailViewModel.cs" />
<Compile Include="ViewModel\View\Administration\AiPromptbausteinComplexTreeViewModel.cs" />
<Compile Include="ViewModel\View\Administration\AiPromptbausteinFolderViewModel.cs" />
<Compile Include="ViewModel\View\Administration\AiPromptbausteinPromptViewModel.cs" />
<Compile Include="ViewModel\View\Administration\AiPromptbausteinTreeViewModel.cs" />
<Compile Include="ViewModel\View\AI\AiConversationChatViewModel.cs" />
<Compile Include="ViewModel\View\AI\AiPromptbausteinActionResultViewModel.cs" />
<Compile Include="ViewModel\View\AI\AiPromptbausteinComplexSelectionViewModel.cs" />
<Compile Include="ViewModel\View\AI\AiPromptbausteinSelectionViewModel.cs" />
<Compile Include="ViewModel\View\DialogViewModel.cs" />
<Compile Include="ViewModel\View\Gkv\GkvAbrechnungDialogViewModel.cs" />
<Compile Include="ViewModel\View\WindowViewModel.cs" />
@@ -160,28 +153,16 @@
<Compile Include="View\Detail\AI\AiPromptbausteinFolderView.xaml.cs">
<DependentUpon>AiPromptbausteinFolderView.xaml</DependentUpon>
</Compile>
<Compile Include="View\Detail\AI\AiPromptbausteinDetailView.xaml.cs">
<DependentUpon>AiPromptbausteinDetailView.xaml</DependentUpon>
</Compile>
<Compile Include="View\Core\WaitLayer3.xaml.cs">
<DependentUpon>WaitLayer3.xaml</DependentUpon>
</Compile>
<Compile Include="View\Detail\AI\AiPromptbausteinComplexTreeView.xaml.cs">
<DependentUpon>AiPromptbausteinComplexTreeView.xaml</DependentUpon>
</Compile>
<Compile Include="View\Detail\AI\AiPromptbausteinTreeView.xaml.cs">
<DependentUpon>AiPromptbausteinTreeView.xaml</DependentUpon>
</Compile>
<Compile Include="ViewModel\StoredFileVM.cs" />
<Compile Include="View\Detail\AI\AiConfigView.xaml.cs">
<DependentUpon>AiConfigView.xaml</DependentUpon>
</Compile>
<Compile Include="View\Detail\AI\AiPromptbausteinSelectionView.xaml.cs">
<DependentUpon>AiPromptbausteinSelectionView.xaml</DependentUpon>
</Compile>
<Compile Include="View\Detail\AI\AiPromptbausteinView.xaml.cs">
<DependentUpon>AiPromptbausteinView.xaml</DependentUpon>
</Compile>
<Compile Include="View\Document\RtfEditView.xaml.cs">
<DependentUpon>RtfEditView.xaml</DependentUpon>
</Compile>
@@ -241,10 +222,6 @@
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="View\Detail\AI\AiPromptbausteinDetailView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\Core\WaitLayer3.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
@@ -253,22 +230,10 @@
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="View\Detail\AI\AiPromptbausteinTreeView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\Detail\AI\AiConfigView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\Detail\AI\AiPromptbausteinSelectionView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\Detail\AI\AiPromptbausteinView.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="View\Document\RtfEditView.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>

View File

@@ -59,61 +59,25 @@ namespace BeWo.ServiceProxy
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/SendNewMessageBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiConversationMessageDC> SendNewMessage(long conversation, string message);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/GetAiPromptbausteineSubTree", ReplyAction="http://tempuri.org/IAiEnhancedService/GetAiPromptbausteineSubTreeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/GetAiPromptbausteineSubTreeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinTreeDC> GetAiPromptbausteineSubTree(BS.Shared.AiActionType aiActionType);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/GetAiPromptbausteineTree", ReplyAction="http://tempuri.org/IAiEnhancedService/GetAiPromptbausteineTreeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/GetAiPromptbausteineTreeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinTreeDC> GetAiPromptbausteineTree();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/CreateAiPromptbausteineTree", ReplyAction="http://tempuri.org/IAiEnhancedService/CreateAiPromptbausteineTreeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/CreateAiPromptbausteineTreeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinTreeDC> CreateAiPromptbausteineTree(System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinTreeDC> aiPromptbausteinDC);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/UpdateAiPromptbausteineTree", ReplyAction="http://tempuri.org/IAiEnhancedService/UpdateAiPromptbausteineTreeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/UpdateAiPromptbausteineTreeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.Dictionary<long, long> UpdateAiPromptbausteineTree(System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinTreeDC> aiPromptbausteinDCs);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/DeleteAiPromptbausteineTree", ReplyAction="http://tempuri.org/IAiEnhancedService/DeleteAiPromptbausteineTreeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/DeleteAiPromptbausteineTreeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteAiPromptbausteineTree(System.Collections.Generic.Dictionary<long, long> oid2version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/GetAiPromptbausteine", ReplyAction="http://tempuri.org/IAiEnhancedService/GetAiPromptbausteineResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/GetAiPromptbausteineBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinDC> GetAiPromptbausteine();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/CreateAiPromptbausteine", ReplyAction="http://tempuri.org/IAiEnhancedService/CreateAiPromptbausteineResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/CreateAiPromptbausteineBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinDC> CreateAiPromptbausteine(System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinDC> aiPromptbausteinDC);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/UpdateAiPromptbausteine", ReplyAction="http://tempuri.org/IAiEnhancedService/UpdateAiPromptbausteineResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/UpdateAiPromptbausteineBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.Dictionary<long, long> UpdateAiPromptbausteine(System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinDC> aiPromptbausteinDCs);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/DeleteAiPromptbausteine", ReplyAction="http://tempuri.org/IAiEnhancedService/DeleteAiPromptbausteineResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/DeleteAiPromptbausteineBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteAiPromptbausteine(System.Collections.Generic.Dictionary<long, long> oid2version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/GetAiPromptbausteinFolder", ReplyAction="http://tempuri.org/IAiEnhancedService/GetAiPromptbausteinFolderResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/GetAiPromptbausteinFolderBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinFolderDC> GetAiPromptbausteinFolder(BS.Shared.AiActionType aiActionType);
System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinFolderDC> GetAiPromptbausteinFolder(BS.Shared.AiActionType aiActionType);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/InsertAiPromptbausteinFolder", ReplyAction="http://tempuri.org/IAiEnhancedService/InsertAiPromptbausteinFolderResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/InsertAiPromptbausteinFolderBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinFolderDC> InsertAiPromptbausteinFolder(System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinFolderDC> folders);
System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinFolderDC> InsertAiPromptbausteinFolder(System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinFolderDC> folders);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/InsertAiPromptbausteinPrompt", ReplyAction="http://tempuri.org/IAiEnhancedService/InsertAiPromptbausteinPromptResponse")]
[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<BS.Shared.DataContracts.AiPromptbausteinPromptDC> InsertAiPromptbausteinPrompt(System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinPromptDC> prompts);
System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinPromptDC> InsertAiPromptbausteinPrompt(System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinPromptDC> prompts);
[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<BS.Shared.DataContracts.AiPromptbausteinFolderDC> UpdateAiPromptbausteinFolder(System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinFolderDC> folders);
System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinFolderDC> UpdateAiPromptbausteinFolder(System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinFolderDC> folders);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/UpdateAiPromptbausteinPrompt", ReplyAction="http://tempuri.org/IAiEnhancedService/UpdateAiPromptbausteinPromptResponse")]
[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<BS.Shared.DataContracts.AiPromptbausteinPromptDC> UpdateAiPromptbausteinPrompt(System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinPromptDC> prompts);
System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinPromptDC> UpdateAiPromptbausteinPrompt(System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinPromptDC> prompts);
[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")]
@@ -215,72 +179,27 @@ namespace BeWo.ServiceProxy
return base.Channel.SendNewMessage(conversation, message);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinTreeDC> GetAiPromptbausteineSubTree(BS.Shared.AiActionType aiActionType)
{
return base.Channel.GetAiPromptbausteineSubTree(aiActionType);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinTreeDC> GetAiPromptbausteineTree()
{
return base.Channel.GetAiPromptbausteineTree();
}
public System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinTreeDC> CreateAiPromptbausteineTree(System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinTreeDC> aiPromptbausteinDC)
{
return base.Channel.CreateAiPromptbausteineTree(aiPromptbausteinDC);
}
public System.Collections.Generic.Dictionary<long, long> UpdateAiPromptbausteineTree(System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinTreeDC> aiPromptbausteinDCs)
{
return base.Channel.UpdateAiPromptbausteineTree(aiPromptbausteinDCs);
}
public void DeleteAiPromptbausteineTree(System.Collections.Generic.Dictionary<long, long> oid2version)
{
base.Channel.DeleteAiPromptbausteineTree(oid2version);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinDC> GetAiPromptbausteine()
{
return base.Channel.GetAiPromptbausteine();
}
public System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinDC> CreateAiPromptbausteine(System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinDC> aiPromptbausteinDC)
{
return base.Channel.CreateAiPromptbausteine(aiPromptbausteinDC);
}
public System.Collections.Generic.Dictionary<long, long> UpdateAiPromptbausteine(System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinDC> aiPromptbausteinDCs)
{
return base.Channel.UpdateAiPromptbausteine(aiPromptbausteinDCs);
}
public void DeleteAiPromptbausteine(System.Collections.Generic.Dictionary<long, long> oid2version)
{
base.Channel.DeleteAiPromptbausteine(oid2version);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinFolderDC> GetAiPromptbausteinFolder(BS.Shared.AiActionType aiActionType)
public System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinFolderDC> GetAiPromptbausteinFolder(BS.Shared.AiActionType aiActionType)
{
return base.Channel.GetAiPromptbausteinFolder(aiActionType);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinFolderDC> InsertAiPromptbausteinFolder(System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinFolderDC> folders)
public System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinFolderDC> InsertAiPromptbausteinFolder(System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinFolderDC> folders)
{
return base.Channel.InsertAiPromptbausteinFolder(folders);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinPromptDC> InsertAiPromptbausteinPrompt(System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinPromptDC> prompts)
public System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinPromptDC> InsertAiPromptbausteinPrompt(System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinPromptDC> prompts)
{
return base.Channel.InsertAiPromptbausteinPrompt(prompts);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinFolderDC> UpdateAiPromptbausteinFolder(System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinFolderDC> folders)
public System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinFolderDC> UpdateAiPromptbausteinFolder(System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinFolderDC> folders)
{
return base.Channel.UpdateAiPromptbausteinFolder(folders);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinPromptDC> UpdateAiPromptbausteinPrompt(System.Collections.Generic.List<BS.Shared.DataContracts.AiPromptbausteinPromptDC> prompts)
public System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinPromptDC> UpdateAiPromptbausteinPrompt(System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiPromptbausteinPromptDC> prompts)
{
return base.Channel.UpdateAiPromptbausteinPrompt(prompts);
}

View File

@@ -17,50 +17,6 @@ namespace BeWo.ServiceProxy
public interface IOperationsService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateAiSettings", ReplyAction="http://tempuri.org/IOperationsService/UpdateAiSettingsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateAiSettingsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.AiSettingsDC UpdateAiSettings(BS.Shared.DataContracts.AiSettingsDC settings);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CheckObjectDeletionAllowed", ReplyAction="http://tempuri.org/IOperationsService/CheckObjectDeletionAllowedResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/CheckObjectDeletionAllowedBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.CheckObjectDeletionResultDC CheckObjectDeletionAllowed(long objectoid, BS.Shared.TableID tableId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/HasConfirmationReceiptSignatureByDateAndEmp" +
"loyeeAndCustomer", ReplyAction="http://tempuri.org/IOperationsService/HasConfirmationReceiptSignatureByDateAndEmp" +
"loyeeAndCustomerResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/HasConfirmationReceiptSignatureByDateAndEmp" +
"loyeeAndCustomerBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
bool HasConfirmationReceiptSignatureByDateAndEmployeeAndCustomer(out System.Collections.Generic.List<BS.Shared.DataContracts.ConfirmationReceiptSignatureDC> confirmationReceiptSignatures, long customerOid, long employeeOid, System.DateTime start, System.DateTime end, long costBearer2SupportConceptOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CreateRtfDocumentFromTemplate", ReplyAction="http://tempuri.org/IOperationsService/CreateRtfDocumentFromTemplateResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateRtfDocumentFromTemplateBeWoFaultFault" +
"", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string CreateRtfDocumentFromTemplate(long vorlageOid, BS.Shared.TableID objectTid, System.Collections.Generic.List<long> objectOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertRegelmaessigerDienst2", ReplyAction="http://tempuri.org/IOperationsService/InsertRegelmaessigerDienst2Response")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertRegelmaessigerDienst2BeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.DienstEintragDC> InsertRegelmaessigerDienst2(BS.Shared.DataContracts.RegelmaessigerDienstDC dienst, System.Collections.Generic.List<BS.Shared.DataContracts.DienstEintragDC> alleDienstEintraege, System.Collections.Generic.List<BS.Shared.DataContracts.DienstvertretungDC> alleDienstvertretungen, System.Collections.Generic.List<BS.Shared.DataContracts.AbsenceTimeDC> absenceTimes, bool enableDiensteAnFeiertagen, System.Collections.Generic.List<BS.Shared.DataContracts.FeiertagDC> feiertage, System.Collections.Generic.List<BS.Shared.DataContracts.DienstZeileDC> dienstZeilenListe, System.DateTime pflichtStart, System.DateTime pflichtEnde, bool enableStatusZeile, System.DateTime datum);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteRegelmaessigerDienst", ReplyAction="http://tempuri.org/IOperationsService/DeleteRegelmaessigerDienstResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/DeleteRegelmaessigerDienstBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteRegelmaessigerDienst(BS.Shared.DataContracts.RegelmaessigerDienstDC dienst);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewDienstvertretung", ReplyAction="http://tempuri.org/IOperationsService/InsertNewDienstvertretungResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewDienstvertretungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void InsertNewDienstvertretung(BS.Shared.DataContracts.DienstvertretungDC dienstvertretung);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewDienstvertretung2", ReplyAction="http://tempuri.org/IOperationsService/InsertNewDienstvertretung2Response")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewDienstvertretung2BeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
bool InsertNewDienstvertretung2(BS.Shared.DataContracts.DienstvertretungDC dienstvertretung, System.Collections.Generic.List<BS.Shared.DataContracts.DienstEintragDC> alleDiensteintraege, System.Collections.Generic.List<BS.Shared.DataContracts.DienstvertretungDC> alleDienstvertretungen, int day, System.DateTime pflichtStart, System.DateTime pflichtEnde);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateDienstEintrag", ReplyAction="http://tempuri.org/IOperationsService/UpdateDienstEintragResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateDienstEintragBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void UpdateDienstEintrag(BS.Shared.DataContracts.DienstEintragDC dienstEintrag);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteDienstEintrag", ReplyAction="http://tempuri.org/IOperationsService/DeleteDienstEintragResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/DeleteDienstEintragBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteDienstEintrag(long empId, long wohnId, int Zeile, System.DateTime date);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteDienstvertretung", ReplyAction="http://tempuri.org/IOperationsService/DeleteDienstvertretungResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/DeleteDienstvertretungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteDienstvertretung(long empId, long wohnId, int zeile, System.DateTime date);
@@ -394,10 +350,13 @@ namespace BeWo.ServiceProxy
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Reports.AuslastungAnalysisEmployeeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Reports.AuslastungAnalysisSupportConceptDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Reports.AuslastungAnalysisSupportConceptDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AiSettingsDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.CheckObjectDeletionResultDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ConfirmationReceiptSignatureDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ConfirmationReceiptSignatureDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Core.BeWoFault))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Core.BeWoFaultType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Core.DateTimeSpan))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.DienstvertretungDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.DienstEintragDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.DienstEintragDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.DienstvertretungDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ServiceRecordDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceRecordDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.CostRatePeriodDC>))]
@@ -409,51 +368,9 @@ namespace BeWo.ServiceProxy
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceDescriptionDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceCategoryDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.RegelmaessigerDienstDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.DienstEintragDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.DienstEintragDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.DienstvertretungDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.DienstvertretungDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.FeiertagDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.FeiertagDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.DienstZeileDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.DienstZeileDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ContractDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ContractDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.EmploymentTypeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.DienstInfoDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.WohnheimDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.WohnheimCustomerRelationDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.WohnheimCustomerRelationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.WohnheimEmployeeRelationDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.WohnheimEmployeeRelationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.VarFieldDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.VarFieldDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.WohneinheitDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.WohneinheitDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.BeWoDataContract))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.WohneinheitBelegungDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.WohneinheitBelegungDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ImageDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ImageDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.EmployeeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.PersonDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ContactDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ContactDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Organisation2PersonDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Organisation2PersonDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ArbeitszeitDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ArbeitszeitDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ArbeitszeitEintragDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ArbeitszeitEintragDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.OvertimeDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.OvertimeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AuszahlungsartDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.CustomerEmployeeRelationDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.CustomerEmployeeRelationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.UrlaubskontoDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.BesetzungsstatusDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.BesetzungsstatusDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ConfirmationReceiptSignatureDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ConfirmationReceiptSignatureDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.VorlagentabelleDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.VorlagentabelleDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.DokumentvorlageDC))]
@@ -473,6 +390,8 @@ namespace BeWo.ServiceProxy
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.BudgetDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptApprovalPeriodEmployeeRelDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.SupportConceptApprovalPeriodEmployeeRelDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Organisation2PersonDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Organisation2PersonDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.UserDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ResetPasswordInfoDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ResetPasswordInfoDC))]
@@ -487,12 +406,50 @@ namespace BeWo.ServiceProxy
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.RatingTypeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ServiceAccountingDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceAccountingDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.VarFieldDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.VarFieldDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.RegelmaessigerDienstDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.RegelmaessigerDienstDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.DienstplanerRootDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.EmployeeDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.EmployeeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.PersonDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ContactDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ContactDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ArbeitszeitDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ArbeitszeitDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ArbeitszeitEintragDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ArbeitszeitEintragDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ContractDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ContractDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.EmploymentTypeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.OvertimeDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.OvertimeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AuszahlungsartDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.CustomerEmployeeRelationDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.CustomerEmployeeRelationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.DienstInfoDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.DienstInfoDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.WohnheimDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.WohnheimCustomerRelationDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.WohnheimCustomerRelationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.WohnheimEmployeeRelationDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.WohnheimEmployeeRelationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.WohneinheitDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.WohneinheitDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.BeWoDataContract))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.WohneinheitBelegungDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.WohneinheitBelegungDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ImageDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ImageDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.DienstBlockDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.DienstBlockDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.DienstZeileDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.DienstZeileDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.BesetzungsstatusDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.BesetzungsstatusDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.FeiertagDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.FeiertagDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.DienstplanerMonthlySummaryDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.DienstplanerMonthlySummaryDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.RatingTypeDC>))]
@@ -507,7 +464,8 @@ namespace BeWo.ServiceProxy
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.SignatureDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.SignatureDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AiChatDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.VertretungDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AiSettingsDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.CheckObjectDeletionResultDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.TokenDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.CustomerTokenRelationDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.CustomerTokenRelationDC))]
@@ -601,6 +559,7 @@ namespace BeWo.ServiceProxy
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.NotizenKategorieDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.NotizenEintragDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.NotizenEintragDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.VertretungDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.VertretungsItemDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.VertretungsItemDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.VertretungDC>))]
@@ -636,13 +595,26 @@ namespace BeWo.ServiceProxy
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceRecordHistoryDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.AdditionalServiceGroupOfPeopleRelationDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AdditionalServiceGroupOfPeopleRelationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Core.BeWoFault))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Core.BeWoFaultType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Core.DateTimeSpan))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.TableID))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactOrganisationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactCustomerDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactEmployeeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactSupportConceptDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactCostBearerDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactCostBearerDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactPersonDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactWohnheimDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactEmployeeDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactCustomerDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactSupportConceptDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactTokenDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactTeamDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactVertreterEmployeeDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactVertreterEmployeeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactTeamDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactTokenDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ActivationTypeId))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ValueListEntryType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.CostRatePeriodType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ValueListEntryType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AbsenceReasonVisibilityType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Sex))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SubstitutionNeed))]
@@ -655,25 +627,26 @@ namespace BeWo.ServiceProxy
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ServiceRecordTypeId))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.CostBearer2SupportConceptStatus))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SignatureType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ControlType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ContactType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.FamilyStatus))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.PersonType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AppointmentDayOfWeek))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SystemEntryID))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.FileAttachmentType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.TableID))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SupportConceptApprovalInterval))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Bewilligungsart))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.FamilyStatus))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.PersonType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SettingsType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.UserRightType>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.UserRightType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ControlType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ContactType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AppointmentDayOfWeek))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ServiceRecordValidationResult))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ParticipationAnswer))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.StatementType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SignatureStateType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Zahlungstyp))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SchulbegleitenderZugehoerigkeitsTyp))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.TokenTyp))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SchulbegleitenderZugehoerigkeitsTyp))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.Behinderungsart>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Behinderungsart))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.VgaTypeEnum))]
@@ -688,43 +661,6 @@ namespace BeWo.ServiceProxy
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Priority))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Status))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.VertretungsStatus))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactEmployeeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactOrganisationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactCustomerDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactSupportConceptDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactCostBearerDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactCostBearerDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactWohnheimDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactPersonDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactEmployeeDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactCustomerDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactSupportConceptDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactTokenDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactTokenDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactTeamDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactVertreterEmployeeDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactVertreterEmployeeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactTeamDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<long>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, BS.Shared.ValueListEntryType>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, string>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, long>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<string>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<int, BS.Shared.DataContracts.DienstInfoDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<byte[]>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<BS.Shared.SignatureType, System.Collections.Generic.List<long>>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<System.Collections.Generic.Dictionary<int, long>>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<int, long>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<int, bool>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<System.Nullable<long>, decimal>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, string>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<System.DateTime, BS.Shared.DataContracts.Compact.CompactCustomerDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<BS.Shared.DataContracts.Compact.CompactCustomerDC, System.Collections.Generic.List<BS.Shared.DataContracts.AccountingTransactionDC>>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, BS.Shared.DataContracts.Compact.CompactTokenDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<BS.Shared.UserRightType, bool>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, bool>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<BS.Shared.DataContracts.ServiceRecordDC, System.Collections.Generic.List<BS.Shared.ServiceRecordValidationResult>>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<BS.Shared.DataContracts.Compact.CompactCustomerDC, bool>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Wohnhilfe.CustomerWohnhilfeDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Wohnhilfe.CustomerWohnhilfeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Wohnhilfe.CustomerWohnhilfeBereichBundDC))]
@@ -752,6 +688,26 @@ namespace BeWo.ServiceProxy
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Wohnhilfe.Haushaltsstruktur))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Wohnhilfe.HochsterSchulabschluss))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Wohnhilfe.Staatsangehorigkeit))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<long>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, string>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, BS.Shared.ValueListEntryType>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, long>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<string>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<BS.Shared.SignatureType, System.Collections.Generic.List<long>>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<byte[]>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<System.Collections.Generic.Dictionary<int, long>>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<int, long>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<int, bool>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<int, BS.Shared.DataContracts.DienstInfoDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<System.Nullable<long>, decimal>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, string>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<System.DateTime, BS.Shared.DataContracts.Compact.CompactCustomerDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<BS.Shared.DataContracts.Compact.CompactCustomerDC, System.Collections.Generic.List<BS.Shared.DataContracts.AccountingTransactionDC>>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, BS.Shared.DataContracts.Compact.CompactTokenDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<BS.Shared.UserRightType, bool>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, bool>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<BS.Shared.DataContracts.ServiceRecordDC, System.Collections.Generic.List<BS.Shared.ServiceRecordValidationResult>>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<BS.Shared.DataContracts.Compact.CompactCustomerDC, bool>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Invoicing.BankAccountDC))]
string GetDakotaFileFormat(object param);
@@ -821,30 +777,25 @@ namespace BeWo.ServiceProxy
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAiSettingsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.AiSettingsDC GetAiSettings(int settingsId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CreateVertretung", ReplyAction="http://tempuri.org/IOperationsService/CreateVertretungResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateVertretungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void CreateVertretung(BS.Shared.DataContracts.VertretungDC vertretung);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateAiSettings", ReplyAction="http://tempuri.org/IOperationsService/UpdateAiSettingsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateAiSettingsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.AiSettingsDC UpdateAiSettings(BS.Shared.DataContracts.AiSettingsDC settings);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivateAbsenceTime", ReplyAction="http://tempuri.org/IOperationsService/DeactivateAbsenceTimeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateAbsenceTimeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeactivateAbsenceTime(System.Collections.Generic.Dictionary<long, long> pOid2Version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CheckObjectDeletionAllowed", ReplyAction="http://tempuri.org/IOperationsService/CheckObjectDeletionAllowedResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/CheckObjectDeletionAllowedBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.CheckObjectDeletionResultDC CheckObjectDeletionAllowed(long objectoid, BS.Shared.TableID tableId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateVertretungAndAbsenceTime", ReplyAction="http://tempuri.org/IOperationsService/UpdateVertretungAndAbsenceTimeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateVertretungAndAbsenceTimeBeWoFaultFaul" +
"t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void UpdateVertretungAndAbsenceTime(BS.Shared.DataContracts.VertretungDC vert, BS.Shared.DataContracts.AbsenceTimeDC abs);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/HasConfirmationReceiptSignatureByDateAndEmp" +
"loyeeAndCustomer", ReplyAction="http://tempuri.org/IOperationsService/HasConfirmationReceiptSignatureByDateAndEmp" +
"loyeeAndCustomerResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/HasConfirmationReceiptSignatureByDateAndEmp" +
"loyeeAndCustomerBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
bool HasConfirmationReceiptSignatureByDateAndEmployeeAndCustomer(out System.Collections.Generic.List<BS.Shared.DataContracts.ConfirmationReceiptSignatureDC> confirmationReceiptSignatures, long customerOid, long employeeOid, System.DateTime start, System.DateTime end, long costBearer2SupportConceptOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateAbsenceTime", ReplyAction="http://tempuri.org/IOperationsService/UpdateAbsenceTimeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateAbsenceTimeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void UpdateAbsenceTime(BS.Shared.DataContracts.AbsenceTimeDC abs);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllTokens", ReplyAction="http://tempuri.org/IOperationsService/GetAllTokensResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllTokensBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactTokenDC> GetAllTokens(BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Nullable<long> oid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteToken", ReplyAction="http://tempuri.org/IOperationsService/DeleteTokenResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/DeleteTokenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteToken(BS.Shared.DataContracts.TokenDC token);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CreateRtfDocumentFromTemplate", ReplyAction="http://tempuri.org/IOperationsService/CreateRtfDocumentFromTemplateResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateRtfDocumentFromTemplateBeWoFaultFault" +
"", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string CreateRtfDocumentFromTemplate(long vorlageOid, BS.Shared.TableID objectTid, System.Collections.Generic.List<long> objectOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeletTokenRelation", ReplyAction="http://tempuri.org/IOperationsService/DeletTokenRelationResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/DeletTokenRelationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
@@ -1186,6 +1137,30 @@ namespace BeWo.ServiceProxy
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertRegelmaessigerDienstBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void InsertRegelmaessigerDienst(BS.Shared.DataContracts.RegelmaessigerDienstDC dienst);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertRegelmaessigerDienst2", ReplyAction="http://tempuri.org/IOperationsService/InsertRegelmaessigerDienst2Response")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertRegelmaessigerDienst2BeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.DienstEintragDC> InsertRegelmaessigerDienst2(BS.Shared.DataContracts.RegelmaessigerDienstDC dienst, System.Collections.Generic.List<BS.Shared.DataContracts.DienstEintragDC> alleDienstEintraege, System.Collections.Generic.List<BS.Shared.DataContracts.DienstvertretungDC> alleDienstvertretungen, System.Collections.Generic.List<BS.Shared.DataContracts.AbsenceTimeDC> absenceTimes, bool enableDiensteAnFeiertagen, System.Collections.Generic.List<BS.Shared.DataContracts.FeiertagDC> feiertage, System.Collections.Generic.List<BS.Shared.DataContracts.DienstZeileDC> dienstZeilenListe, System.DateTime pflichtStart, System.DateTime pflichtEnde, bool enableStatusZeile, System.DateTime datum);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteRegelmaessigerDienst", ReplyAction="http://tempuri.org/IOperationsService/DeleteRegelmaessigerDienstResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/DeleteRegelmaessigerDienstBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteRegelmaessigerDienst(BS.Shared.DataContracts.RegelmaessigerDienstDC dienst);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewDienstvertretung", ReplyAction="http://tempuri.org/IOperationsService/InsertNewDienstvertretungResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewDienstvertretungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void InsertNewDienstvertretung(BS.Shared.DataContracts.DienstvertretungDC dienstvertretung);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewDienstvertretung2", ReplyAction="http://tempuri.org/IOperationsService/InsertNewDienstvertretung2Response")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewDienstvertretung2BeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
bool InsertNewDienstvertretung2(BS.Shared.DataContracts.DienstvertretungDC dienstvertretung, System.Collections.Generic.List<BS.Shared.DataContracts.DienstEintragDC> alleDiensteintraege, System.Collections.Generic.List<BS.Shared.DataContracts.DienstvertretungDC> alleDienstvertretungen, int day, System.DateTime pflichtStart, System.DateTime pflichtEnde);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateDienstEintrag", ReplyAction="http://tempuri.org/IOperationsService/UpdateDienstEintragResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateDienstEintragBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void UpdateDienstEintrag(BS.Shared.DataContracts.DienstEintragDC dienstEintrag);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteDienstEintrag", ReplyAction="http://tempuri.org/IOperationsService/DeleteDienstEintragResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/DeleteDienstEintragBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteDienstEintrag(long empId, long wohnId, int Zeile, System.DateTime date);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteAdditionalServiceGroupOfPeopleRelatio" +
"n", ReplyAction="http://tempuri.org/IOperationsService/DeleteAdditionalServiceGroupOfPeopleRelatio" +
"nResponse")]
@@ -1409,33 +1384,6 @@ namespace BeWo.ServiceProxy
"lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.TextModuleDC> GetTextModulesByServiceCategory(long pServiceCategoryOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAiPromptbausteine", ReplyAction="http://tempuri.org/IOperationsService/GetAllAiPromptbausteineResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAiPromptbausteineBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.TextModuleDC> GetAllAiPromptbausteine();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAiPromptbausteine", ReplyAction="http://tempuri.org/IOperationsService/GetAiPromptbausteineResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAiPromptbausteineBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.TextModuleDC> GetAiPromptbausteine(bool shouldShowAllAiPromptbausteine, long employeeOid, bool hasRightToSeeAllAiPromptbausteine, bool isInAdministrationView);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAiPromptbausteineForSelectedSupportConce" +
"pt", ReplyAction="http://tempuri.org/IOperationsService/GetAiPromptbausteineForSelectedSupportConce" +
"ptResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAiPromptbausteineForSelectedSupportConce" +
"ptBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.TextModuleDC> GetAiPromptbausteineForSelectedSupportConcept(bool shouldShowAllAiPromptbausteine, long employeeOid, bool hasRightToSeeAllAiPromptbausteine, bool isInAdministrationView, System.Nullable<long> cb2scOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewAiPromptbausteine", ReplyAction="http://tempuri.org/IOperationsService/InsertNewAiPromptbausteineResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewAiPromptbausteineBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<long> InsertNewAiPromptbausteine(System.Collections.Generic.List<BS.Shared.DataContracts.TextModuleDC> aiPromptbausteine);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateAiPromptbausteine", ReplyAction="http://tempuri.org/IOperationsService/UpdateAiPromptbausteineResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateAiPromptbausteineBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void UpdateAiPromptbausteine(System.Collections.Generic.List<BS.Shared.DataContracts.TextModuleDC> aiPrompotBausteine);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteAiPromptbausteine", ReplyAction="http://tempuri.org/IOperationsService/DeleteAiPromptbausteineResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/DeleteAiPromptbausteineBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteAiPromptbausteine(System.Collections.Generic.Dictionary<long, long> oid2Version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/FindServiceRecordsInSpan", ReplyAction="http://tempuri.org/IOperationsService/FindServiceRecordsInSpanResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/FindServiceRecordsInSpanBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.ServiceRecordDC> FindServiceRecordsInSpan(long pCostBearer2SupportConceptOid, BS.Shared.Core.DateTimeSpan period);
@@ -1585,6 +1533,31 @@ namespace BeWo.ServiceProxy
"t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.VertretungsItemDC> GetVertretungsListeForTimeSpan(System.DateTime start, System.DateTime ende);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CreateVertretung", ReplyAction="http://tempuri.org/IOperationsService/CreateVertretungResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateVertretungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void CreateVertretung(BS.Shared.DataContracts.VertretungDC vertretung);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivateAbsenceTime", ReplyAction="http://tempuri.org/IOperationsService/DeactivateAbsenceTimeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateAbsenceTimeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeactivateAbsenceTime(System.Collections.Generic.Dictionary<long, long> pOid2Version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateVertretungAndAbsenceTime", ReplyAction="http://tempuri.org/IOperationsService/UpdateVertretungAndAbsenceTimeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateVertretungAndAbsenceTimeBeWoFaultFaul" +
"t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void UpdateVertretungAndAbsenceTime(BS.Shared.DataContracts.VertretungDC vert, BS.Shared.DataContracts.AbsenceTimeDC abs);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateAbsenceTime", ReplyAction="http://tempuri.org/IOperationsService/UpdateAbsenceTimeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateAbsenceTimeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void UpdateAbsenceTime(BS.Shared.DataContracts.AbsenceTimeDC abs);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllTokens", ReplyAction="http://tempuri.org/IOperationsService/GetAllTokensResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllTokensBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactTokenDC> GetAllTokens(BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Nullable<long> oid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteToken", ReplyAction="http://tempuri.org/IOperationsService/DeleteTokenResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/DeleteTokenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteToken(BS.Shared.DataContracts.TokenDC token);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivateInvoices", ReplyAction="http://tempuri.org/IOperationsService/DeactivateInvoicesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateInvoicesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeactivateInvoices(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceDC> invoices);
@@ -2005,56 +1978,6 @@ namespace BeWo.ServiceProxy
{
}
public BS.Shared.DataContracts.AiSettingsDC UpdateAiSettings(BS.Shared.DataContracts.AiSettingsDC settings)
{
return base.Channel.UpdateAiSettings(settings);
}
public BS.Shared.DataContracts.CheckObjectDeletionResultDC CheckObjectDeletionAllowed(long objectoid, BS.Shared.TableID tableId)
{
return base.Channel.CheckObjectDeletionAllowed(objectoid, tableId);
}
public bool HasConfirmationReceiptSignatureByDateAndEmployeeAndCustomer(out System.Collections.Generic.List<BS.Shared.DataContracts.ConfirmationReceiptSignatureDC> confirmationReceiptSignatures, long customerOid, long employeeOid, System.DateTime start, System.DateTime end, long costBearer2SupportConceptOid)
{
return base.Channel.HasConfirmationReceiptSignatureByDateAndEmployeeAndCustomer(out confirmationReceiptSignatures, customerOid, employeeOid, start, end, costBearer2SupportConceptOid);
}
public string CreateRtfDocumentFromTemplate(long vorlageOid, BS.Shared.TableID objectTid, System.Collections.Generic.List<long> objectOids)
{
return base.Channel.CreateRtfDocumentFromTemplate(vorlageOid, objectTid, objectOids);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.DienstEintragDC> InsertRegelmaessigerDienst2(BS.Shared.DataContracts.RegelmaessigerDienstDC dienst, System.Collections.Generic.List<BS.Shared.DataContracts.DienstEintragDC> alleDienstEintraege, System.Collections.Generic.List<BS.Shared.DataContracts.DienstvertretungDC> alleDienstvertretungen, System.Collections.Generic.List<BS.Shared.DataContracts.AbsenceTimeDC> absenceTimes, bool enableDiensteAnFeiertagen, System.Collections.Generic.List<BS.Shared.DataContracts.FeiertagDC> feiertage, System.Collections.Generic.List<BS.Shared.DataContracts.DienstZeileDC> dienstZeilenListe, System.DateTime pflichtStart, System.DateTime pflichtEnde, bool enableStatusZeile, System.DateTime datum)
{
return base.Channel.InsertRegelmaessigerDienst2(dienst, alleDienstEintraege, alleDienstvertretungen, absenceTimes, enableDiensteAnFeiertagen, feiertage, dienstZeilenListe, pflichtStart, pflichtEnde, enableStatusZeile, datum);
}
public void DeleteRegelmaessigerDienst(BS.Shared.DataContracts.RegelmaessigerDienstDC dienst)
{
base.Channel.DeleteRegelmaessigerDienst(dienst);
}
public void InsertNewDienstvertretung(BS.Shared.DataContracts.DienstvertretungDC dienstvertretung)
{
base.Channel.InsertNewDienstvertretung(dienstvertretung);
}
public bool InsertNewDienstvertretung2(BS.Shared.DataContracts.DienstvertretungDC dienstvertretung, System.Collections.Generic.List<BS.Shared.DataContracts.DienstEintragDC> alleDiensteintraege, System.Collections.Generic.List<BS.Shared.DataContracts.DienstvertretungDC> alleDienstvertretungen, int day, System.DateTime pflichtStart, System.DateTime pflichtEnde)
{
return base.Channel.InsertNewDienstvertretung2(dienstvertretung, alleDiensteintraege, alleDienstvertretungen, day, pflichtStart, pflichtEnde);
}
public void UpdateDienstEintrag(BS.Shared.DataContracts.DienstEintragDC dienstEintrag)
{
base.Channel.UpdateDienstEintrag(dienstEintrag);
}
public void DeleteDienstEintrag(long empId, long wohnId, int Zeile, System.DateTime date)
{
base.Channel.DeleteDienstEintrag(empId, wohnId, Zeile, date);
}
public void DeleteDienstvertretung(long empId, long wohnId, int zeile, System.DateTime date)
{
base.Channel.DeleteDienstvertretung(empId, wohnId, zeile, date);
@@ -2450,34 +2373,24 @@ namespace BeWo.ServiceProxy
return base.Channel.GetAiSettings(settingsId);
}
public void CreateVertretung(BS.Shared.DataContracts.VertretungDC vertretung)
public BS.Shared.DataContracts.AiSettingsDC UpdateAiSettings(BS.Shared.DataContracts.AiSettingsDC settings)
{
base.Channel.CreateVertretung(vertretung);
return base.Channel.UpdateAiSettings(settings);
}
public void DeactivateAbsenceTime(System.Collections.Generic.Dictionary<long, long> pOid2Version)
public BS.Shared.DataContracts.CheckObjectDeletionResultDC CheckObjectDeletionAllowed(long objectoid, BS.Shared.TableID tableId)
{
base.Channel.DeactivateAbsenceTime(pOid2Version);
return base.Channel.CheckObjectDeletionAllowed(objectoid, tableId);
}
public void UpdateVertretungAndAbsenceTime(BS.Shared.DataContracts.VertretungDC vert, BS.Shared.DataContracts.AbsenceTimeDC abs)
public bool HasConfirmationReceiptSignatureByDateAndEmployeeAndCustomer(out System.Collections.Generic.List<BS.Shared.DataContracts.ConfirmationReceiptSignatureDC> confirmationReceiptSignatures, long customerOid, long employeeOid, System.DateTime start, System.DateTime end, long costBearer2SupportConceptOid)
{
base.Channel.UpdateVertretungAndAbsenceTime(vert, abs);
return base.Channel.HasConfirmationReceiptSignatureByDateAndEmployeeAndCustomer(out confirmationReceiptSignatures, customerOid, employeeOid, start, end, costBearer2SupportConceptOid);
}
public void UpdateAbsenceTime(BS.Shared.DataContracts.AbsenceTimeDC abs)
public string CreateRtfDocumentFromTemplate(long vorlageOid, BS.Shared.TableID objectTid, System.Collections.Generic.List<long> objectOids)
{
base.Channel.UpdateAbsenceTime(abs);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactTokenDC> GetAllTokens(BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Nullable<long> oid)
{
return base.Channel.GetAllTokens(zugehoerigkeitsTyp, oid);
}
public void DeleteToken(BS.Shared.DataContracts.TokenDC token)
{
base.Channel.DeleteToken(token);
return base.Channel.CreateRtfDocumentFromTemplate(vorlageOid, objectTid, objectOids);
}
public void DeletTokenRelation(BS.Shared.DataContracts.Compact.CompactTokenDC token, System.Nullable<long> oid, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp typ)
@@ -2875,6 +2788,36 @@ namespace BeWo.ServiceProxy
base.Channel.InsertRegelmaessigerDienst(dienst);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.DienstEintragDC> InsertRegelmaessigerDienst2(BS.Shared.DataContracts.RegelmaessigerDienstDC dienst, System.Collections.Generic.List<BS.Shared.DataContracts.DienstEintragDC> alleDienstEintraege, System.Collections.Generic.List<BS.Shared.DataContracts.DienstvertretungDC> alleDienstvertretungen, System.Collections.Generic.List<BS.Shared.DataContracts.AbsenceTimeDC> absenceTimes, bool enableDiensteAnFeiertagen, System.Collections.Generic.List<BS.Shared.DataContracts.FeiertagDC> feiertage, System.Collections.Generic.List<BS.Shared.DataContracts.DienstZeileDC> dienstZeilenListe, System.DateTime pflichtStart, System.DateTime pflichtEnde, bool enableStatusZeile, System.DateTime datum)
{
return base.Channel.InsertRegelmaessigerDienst2(dienst, alleDienstEintraege, alleDienstvertretungen, absenceTimes, enableDiensteAnFeiertagen, feiertage, dienstZeilenListe, pflichtStart, pflichtEnde, enableStatusZeile, datum);
}
public void DeleteRegelmaessigerDienst(BS.Shared.DataContracts.RegelmaessigerDienstDC dienst)
{
base.Channel.DeleteRegelmaessigerDienst(dienst);
}
public void InsertNewDienstvertretung(BS.Shared.DataContracts.DienstvertretungDC dienstvertretung)
{
base.Channel.InsertNewDienstvertretung(dienstvertretung);
}
public bool InsertNewDienstvertretung2(BS.Shared.DataContracts.DienstvertretungDC dienstvertretung, System.Collections.Generic.List<BS.Shared.DataContracts.DienstEintragDC> alleDiensteintraege, System.Collections.Generic.List<BS.Shared.DataContracts.DienstvertretungDC> alleDienstvertretungen, int day, System.DateTime pflichtStart, System.DateTime pflichtEnde)
{
return base.Channel.InsertNewDienstvertretung2(dienstvertretung, alleDiensteintraege, alleDienstvertretungen, day, pflichtStart, pflichtEnde);
}
public void UpdateDienstEintrag(BS.Shared.DataContracts.DienstEintragDC dienstEintrag)
{
base.Channel.UpdateDienstEintrag(dienstEintrag);
}
public void DeleteDienstEintrag(long empId, long wohnId, int Zeile, System.DateTime date)
{
base.Channel.DeleteDienstEintrag(empId, wohnId, Zeile, date);
}
public void DeleteAdditionalServiceGroupOfPeopleRelation(long pDeleteAdditionalServiceGroupOfPeopleRelationOid, long pVersion)
{
base.Channel.DeleteAdditionalServiceGroupOfPeopleRelation(pDeleteAdditionalServiceGroupOfPeopleRelationOid, pVersion);
@@ -3110,36 +3053,6 @@ namespace BeWo.ServiceProxy
return base.Channel.GetTextModulesByServiceCategory(pServiceCategoryOid);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.TextModuleDC> GetAllAiPromptbausteine()
{
return base.Channel.GetAllAiPromptbausteine();
}
public System.Collections.Generic.List<BS.Shared.DataContracts.TextModuleDC> GetAiPromptbausteine(bool shouldShowAllAiPromptbausteine, long employeeOid, bool hasRightToSeeAllAiPromptbausteine, bool isInAdministrationView)
{
return base.Channel.GetAiPromptbausteine(shouldShowAllAiPromptbausteine, employeeOid, hasRightToSeeAllAiPromptbausteine, isInAdministrationView);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.TextModuleDC> GetAiPromptbausteineForSelectedSupportConcept(bool shouldShowAllAiPromptbausteine, long employeeOid, bool hasRightToSeeAllAiPromptbausteine, bool isInAdministrationView, System.Nullable<long> cb2scOid)
{
return base.Channel.GetAiPromptbausteineForSelectedSupportConcept(shouldShowAllAiPromptbausteine, employeeOid, hasRightToSeeAllAiPromptbausteine, isInAdministrationView, cb2scOid);
}
public System.Collections.Generic.List<long> InsertNewAiPromptbausteine(System.Collections.Generic.List<BS.Shared.DataContracts.TextModuleDC> aiPromptbausteine)
{
return base.Channel.InsertNewAiPromptbausteine(aiPromptbausteine);
}
public void UpdateAiPromptbausteine(System.Collections.Generic.List<BS.Shared.DataContracts.TextModuleDC> aiPrompotBausteine)
{
base.Channel.UpdateAiPromptbausteine(aiPrompotBausteine);
}
public void DeleteAiPromptbausteine(System.Collections.Generic.Dictionary<long, long> oid2Version)
{
base.Channel.DeleteAiPromptbausteine(oid2Version);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.ServiceRecordDC> FindServiceRecordsInSpan(long pCostBearer2SupportConceptOid, BS.Shared.Core.DateTimeSpan period)
{
return base.Channel.FindServiceRecordsInSpan(pCostBearer2SupportConceptOid, period);
@@ -3300,6 +3213,36 @@ namespace BeWo.ServiceProxy
return base.Channel.GetVertretungsListeForTimeSpan(start, ende);
}
public void CreateVertretung(BS.Shared.DataContracts.VertretungDC vertretung)
{
base.Channel.CreateVertretung(vertretung);
}
public void DeactivateAbsenceTime(System.Collections.Generic.Dictionary<long, long> pOid2Version)
{
base.Channel.DeactivateAbsenceTime(pOid2Version);
}
public void UpdateVertretungAndAbsenceTime(BS.Shared.DataContracts.VertretungDC vert, BS.Shared.DataContracts.AbsenceTimeDC abs)
{
base.Channel.UpdateVertretungAndAbsenceTime(vert, abs);
}
public void UpdateAbsenceTime(BS.Shared.DataContracts.AbsenceTimeDC abs)
{
base.Channel.UpdateAbsenceTime(abs);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactTokenDC> GetAllTokens(BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Nullable<long> oid)
{
return base.Channel.GetAllTokens(zugehoerigkeitsTyp, oid);
}
public void DeleteToken(BS.Shared.DataContracts.TokenDC token)
{
base.Channel.DeleteToken(token);
}
public void DeactivateInvoices(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceDC> invoices)
{
base.Channel.DeactivateInvoices(invoices);

View File

@@ -52,10 +52,6 @@ namespace BeWo.Services
{
ShowAiConversationWindow(viewModel);
}
else if (windowViewModel is AiPromptbausteinDetailViewModel viewModel2)
{
ShowAiPromptbausteinDetailWindow(viewModel2);
}
else if (windowViewModel is AiPromptbausteinFolderViewModel viewModel3)
{
ShowAiPromptbausteinFolderPopup(viewModel3);
@@ -89,26 +85,6 @@ namespace BeWo.Services
};
Show(title, control, viewModel, options);
}
public void ShowAiPromptbausteinDetailWindow(AiPromptbausteinDetailViewModel viewModel)
{
var control = new AiPromptbausteinDetailView(viewModel);
var options = new BeWoWindowOptions()
{
Height = 400,
Width = 200
};
Show("KI Promptbaustein", control, viewModel, options);
}
public void ShowAiPromptbausteinSelectionWindow(AiPromptbausteinSelectionViewModel viewModel)
{
var control = new AiPromptbausteinSelectionView(viewModel);
var options = new BeWoWindowOptions()
{
Height = 400,
Width = 600
};
Show("KI Promptbaustein Auswahl", control, viewModel, options);
}
public void ShowAiPromptbausteinFolderPopup(AiPromptbausteinFolderViewModel viewModel)
{
var control = new AiPromptbausteinFolderView(viewModel);

View File

@@ -21,10 +21,6 @@ namespace BeWo.Services
{
#region special
void ShowAiConversationWindow(AiConversationChatViewModel viewModel);
void ShowAiPromptbausteinDetailWindow(AiPromptbausteinDetailViewModel viewModel);
void ShowAiPromptbausteinSelectionWindow(AiPromptbausteinSelectionViewModel viewModel);
void ShowGkvAbrechnungDetailWindow(GkvAbrechnungDialogViewModel vm);
#endregion

View File

@@ -6,51 +6,6 @@
xmlns:vm="clr-namespace:BeWo.ViewModel"
x:ClassModifier="public">
<HierarchicalDataTemplate
x:Key="ai_promptbaustein_treeitemtemplate"
DataType="{x:Type vm:AiPromptbausteinTreeVM}"
ItemsSource="{Binding Path=Children.VMList}">
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<TextBox
Height="21"
Margin="0,0,0,0"
Padding="0,3,0,0"
VerticalAlignment="Center"
Background="Transparent"
BorderThickness="0"
Cursor="Arrow"
Focusable="False"
FontWeight="{Binding Path=FontWeight}"
IsReadOnly="True"
Text="{Binding Path=Displayname, UpdateSourceTrigger=PropertyChanged, Mode=OneWay}"
ToolTipService.ShowDuration="100000">
<TextBox.ToolTip>
<StackPanel Orientation="Vertical">
<Label Content="{Binding Path=Displayname, Mode=OneWay}" FontWeight="Bold" />
<TextBox
MaxWidth="500"
Padding="3,1,0,0"
VerticalAlignment="Center"
AcceptsReturn="True"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding Path=Content}"
TextWrapping="Wrap" />
</StackPanel>
</TextBox.ToolTip>
</TextBox>
</Grid>
</HierarchicalDataTemplate>
<HierarchicalDataTemplate
x:Key="ai_promptbaustein_folder_itemtemplate"
DataType="{x:Type vm:AiPromptbausteinFolderVM}"

View File

@@ -6,11 +6,11 @@
xmlns:comboboxes="clr-namespace:BeWo.View.Controls.ComboBoxes"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
xmlns:local1="clr-namespace:BeWo.View.Detail.AI"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:view="clr-namespace:BeWo.View"
xmlns:vm="clr-namespace:BeWo.ViewModel"
xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
d:DataContext="{d:DesignInstance Type=administration:AiPromptbausteinComplexTreeViewModel,
IsDesignTimeCreatable=True}"
d:DesignHeight="450"
@@ -24,8 +24,8 @@
<Style
x:Key="PromptListBoxItem"
BasedOn="{StaticResource PhotoListBoxItem}"
TargetType="ListBoxItem" >
<Setter Property="IsSelected" Value="{Binding IsSelected}"/>
TargetType="ListBoxItem">
<Setter Property="IsSelected" Value="{Binding IsSelected}" />
</Style>
</ResourceDictionary>
</view:BeWoView.Resources>
@@ -96,7 +96,7 @@
TreeViewItem.Selected="treeView_Selected">
<TreeView.Resources>
<Style x:Key="igoal_treeitemstyle" TargetType="TreeViewItem">
<Setter Property="IsEnabled" Value="{Binding IsEnabled}"/>
<Setter Property="IsEnabled" Value="{Binding IsEnabled}" />
<Setter Property="IsExpanded" Value="{Binding IsExpanded, Mode=TwoWay}" />
</Style>
</TreeView.Resources>
@@ -311,9 +311,9 @@ VerticalAlignment="Stretch">
<dxe:ListBoxEdit.ItemTemplate>
<DataTemplate>
<Grid
Margin="0,3,0,0"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch">
Margin="0,3,0,0"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
@@ -324,42 +324,42 @@ VerticalAlignment="Stretch">
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<TextBox
Height="21"
Margin="0"
Padding="0"
VerticalAlignment="Center"
Background="Transparent"
BorderThickness="0"
Cursor="Arrow"
Focusable="False"
FontWeight="Medium"
IsReadOnly="True"
Text="{Binding Path=Title, UpdateSourceTrigger=PropertyChanged, Mode=OneWay}"
ToolTipService.ShowDuration="100000">
Height="21"
Margin="0"
Padding="0"
VerticalAlignment="Center"
Background="Transparent"
BorderThickness="0"
Cursor="Arrow"
Focusable="False"
FontWeight="Medium"
IsReadOnly="True"
Text="{Binding Path=Title, UpdateSourceTrigger=PropertyChanged, Mode=OneWay}"
ToolTipService.ShowDuration="100000">
<TextBox.ToolTip>
<StackPanel Orientation="Vertical">
<Label Content="{Binding Path=Title, Mode=OneWay}" FontWeight="Bold" />
<TextBox
MaxWidth="500"
Padding="3,1,0,0"
VerticalAlignment="Center"
AcceptsReturn="True"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding Path=Description}"
TextWrapping="Wrap" />
MaxWidth="500"
Padding="3,1,0,0"
VerticalAlignment="Center"
AcceptsReturn="True"
Background="Transparent"
BorderThickness="0"
IsReadOnly="True"
Text="{Binding Path=Description}"
TextWrapping="Wrap" />
</StackPanel>
</TextBox.ToolTip>
</TextBox>
<TextBlock
Grid.Column="1"
Margin="0"
Padding="0"
Visibility="{Binding IsInfoVisible, Converter={StaticResource BoolVisibilityConverter}}">
<Hyperlink NavigateUri="{Binding OwnsoftRefLink}" RequestNavigate="Hyperlink_RequestNavigate">
(i)
</Hyperlink>
Grid.Column="1"
Margin="0"
Padding="0"
Visibility="{Binding IsInfoVisible, Converter={StaticResource BoolVisibilityConverter}}">
<Hyperlink NavigateUri="{Binding OwnsoftRefLink}" RequestNavigate="Hyperlink_RequestNavigate">
(i)
</Hyperlink>
</TextBlock>
</Grid>
</DataTemplate>

View File

@@ -1,93 +0,0 @@
<UserControl
x:Class="BeWo.View.Detail.AI.AiPromptbausteinDetailView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:comboboxes="clr-namespace:BeWo.View.Controls.ComboBoxes"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:viewmodel="clr-namespace:BeWo.ViewModel.View.Administration"
Width="auto"
Height="auto"
d:DataContext="{d:DesignInstance Type=viewmodel:AiPromptbausteinDetailViewModel}"
mc:Ignorable="d">
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="..\..\..\Styles\ModernOrangeBlack.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</UserControl.Resources>
<Grid
MaxWidth="700"
Margin="2,0,2,10"
HorizontalAlignment="Stretch"
Background="#eeeeee">
<Grid Margin="8,4,8,4">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto" MinWidth="80" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="3*" MinWidth="100" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
<RowDefinition Height="*" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<Label Grid.Row="0" Grid.Column="0">Name</Label>
<TextBox
Grid.Row="0"
Grid.Column="2"
IsEnabled="{Binding IsEditingMode}"
Text="{Binding Node.Displayname, UpdateSourceTrigger=PropertyChanged}" />
<Label
Grid.Row="1"
Grid.Column="0"
Content="{Binding PromptLabelDescription}" />
<TextBox
Grid.Row="1"
Grid.Column="2"
IsEnabled="{Binding IsEditingMode}"
MaxLength="1024"
Style="{StaticResource TextBoxNoticeLarge}"
Text="{Binding Node.Content, UpdateSourceTrigger=PropertyChanged}"
TextWrapping="Wrap" />
<Label
Grid.Row="2"
Grid.Column="0"
Content="Ersteller:" />
<comboboxes:ComboBoxEmployeeSearch
Grid.Row="2"
Grid.Column="2"
Margin="3"
IsEnabled="False"
SelectedCompactEmployeeDC="{Binding Node.Creator}" />
<Label Grid.Row="3" Grid.Column="0">Verborgen</Label>
<dxe:CheckEdit
Grid.Row="3"
Grid.Column="2"
Margin="3"
IsChecked="{Binding Node.IsOnlyForCreator}"
IsEnabled="{Binding IsEditingMode, UpdateSourceTrigger=PropertyChanged}" />
<Button
Grid.Row="6"
Grid.Column="2"
Width="100"
Margin="3,19,10,3"
HorizontalAlignment="Right"
Command="{Binding AddCommand}"
Visibility="{Binding IsAdd, Converter={StaticResource BoolVisibilityConverter}}">
Speichern
</Button>
</Grid>
</Grid>
</UserControl>

View File

@@ -1,32 +0,0 @@
using BeWo.ViewModel;
using BeWo.ViewModel.View.Administration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace BeWo.View.Detail.AI
{
/// <summary>
/// Interaktionslogik für AiPromptbausteinDetailControl.xaml
/// </summary>
public partial class AiPromptbausteinDetailView : UserControl
{
public AiPromptbausteinDetailView(AiPromptbausteinDetailViewModel vm)
{
InitializeComponent();
DataContext = vm;
}
}
}

View File

@@ -1,59 +0,0 @@
<UserControl
x:Class="BeWo.View.Detail.AI.AiPromptbausteinSelectionView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ai="clr-namespace:BeWo.ViewModel.View.AI"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:BeWo.View.Detail.AI"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="clr-namespace:BeWo.ViewModel"
d:DataContext="{d:DesignInstance Type=ai:AiPromptbausteinSelectionViewModel,
IsDesignTimeCreatable=True}"
d:DesignHeight="450"
d:DesignWidth="800"
mc:Ignorable="d">
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="..\..\..\Styles\ModernOrangeBlack.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</UserControl.Resources>
<Grid>
<Grid.ColumnDefinitions />
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<TreeView
x:Name="treeView"
MinHeight="100"
Padding="3,20,3,3"
AllowDrop="True"
ContextMenuService.IsEnabled="{Binding IsChecked, ElementName=EditToggleButton}"
ItemContainerStyle="{DynamicResource igoal_treeitemstyle}"
ItemTemplate="{StaticResource ai_promptbaustein_treeitemtemplate}"
ItemsSource="{Binding ListVM.VMList, UpdateSourceTrigger=PropertyChanged}"
PreviewMouseDown="treeView_PreviewMouseDown"
SelectedItemChanged="treeView_SelectedItemChanged">
<TreeView.Resources>
<Style x:Key="igoal_treeitemstyle" TargetType="TreeViewItem">
<Setter Property="IsExpanded" Value="{Binding IsExpanded, Mode=TwoWay}" />
<Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}" />
<Setter Property="FontWeight" Value="Normal" />
<Style.Triggers>
<Trigger Property="IsSelected" Value="True">
<Setter Property="FontWeight" Value="Bold" />
</Trigger>
</Style.Triggers>
</Style>
</TreeView.Resources>
</TreeView>
<Button
Grid.Row="1"
Command="{Binding SendCommand}"
Style="{StaticResource PrimaryButton}">
Absenden
</Button>
</Grid>
</UserControl>

View File

@@ -1,66 +0,0 @@
using BeWo.ViewModel;
using BeWo.ViewModel.View.AI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace BeWo.View.Detail.AI
{
/// <summary>
/// Interaktionslogik für AiPromptbausteinSelectionView.xaml
/// </summary>
public partial class AiPromptbausteinSelectionView : UserControl
{
public AiPromptbausteinSelectionViewModel ViewModel { get; set; }
public AiPromptbausteinSelectionView(AiPromptbausteinSelectionViewModel viewModel)
{
InitializeComponent();
DataContext = ViewModel = viewModel;
Loaded += (s, e) => ViewModel.ReloadVMList();
}
private void treeView_SelectedItemChanged(object sender, RoutedPropertyChangedEventArgs<object> e)
{
if (ViewModel is null)
return;
ViewModel.SelectedNode = treeView.SelectedValue as AiPromptbausteinTreeVM;
}
static TreeViewItem VisualUpwardSearch(DependencyObject source)
{
while (source != null && !(source is TreeViewItem))
source = VisualTreeHelper.GetParent(source);
return source as TreeViewItem;
}
private void treeView_PreviewMouseDown(object sender, MouseButtonEventArgs e)
{
TreeViewItem treeViewItem = VisualUpwardSearch(e.OriginalSource as DependencyObject);
if (treeViewItem is null)
return;
if (e.ClickCount == 2)
{
if (ViewModel.CanSend())
ViewModel.Send();
}
}
}
}

View File

@@ -1,154 +0,0 @@
<view:BeWoView
x:Class="BeWo.View.Detail.AI.AiPromptbausteinTreeView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:administration="clr-namespace:BeWo.ViewModel.View.Administration"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local1="clr-namespace:BeWo.View.Detail.AI"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:view="clr-namespace:BeWo.View"
xmlns:vm="clr-namespace:BeWo.ViewModel"
d:DataContext="{d:DesignInstance Type=administration:AiPromptbausteinTreeViewModel,
IsDesignTimeCreatable=True}"
d:DesignHeight="450"
d:DesignWidth="800"
mc:Ignorable="d">
<view:BeWoView.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="..\..\..\Styles\ModernOrangeBlack.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</view:BeWoView.Resources>
<GroupBox Style="{StaticResource ObjectEditGroupBox}">
<GroupBox.Header>
Aktuell definierte KI-Prompts
</GroupBox.Header>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<StackPanel
Grid.Row="0"
Grid.Column="0"
Orientation="Horizontal" />
<StackPanel
Grid.Row="0"
Grid.Column="2"
Orientation="Horizontal">
<ToggleButton
x:Name="EditToggleButton"
Grid.Column="4"
Width="157"
Height="25"
Margin="3"
Content="Bearbeiten aktivieren"
IsChecked="{Binding IsEditingMode}"
ToolTip="Wenn der Bearbeiten Modus aktiviert ist, können Sie Elemente mit Drag und Drop verschieben"
Visibility="Visible" />
<Button
Style="{StaticResource ButtonPreviousStyle}"
ToolTip="Letzte Änderung rückgängig machen"
Visibility="Collapsed" />
<Button
Style="{StaticResource ButtonRedoStyle}"
ToolTip="Nächste Änderung wiederholen"
Visibility="Collapsed" />
</StackPanel>
<GroupBox
Grid.Row="1"
Grid.ColumnSpan="3"
Style="{StaticResource ObjectEditGroupBox}">
<TreeView
x:Name="treeView"
MinHeight="100"
Padding="3,20,3,3"
AllowDrop="True"
ContextMenuService.IsEnabled="{Binding IsChecked, ElementName=EditToggleButton}"
ItemContainerStyle="{DynamicResource igoal_treeitemstyle}"
ItemTemplate="{StaticResource ai_promptbaustein_treeitemtemplate}"
ItemsSource="{Binding ListVM.VMList, UpdateSourceTrigger=PropertyChanged}"
PreviewMouseDown="Grid_PreviewMouseDown"
PreviewMouseRightButtonDown="OnPreviewMouseRightButtonDown"
SelectedItemChanged="treeView_SelectedItemChanged"
TreeViewItem.Selected="treeView_Selected">
<TreeView.Resources>
<Style x:Key="igoal_treeitemstyle" TargetType="TreeViewItem">
<Setter Property="IsExpanded" Value="{Binding IsExpanded, Mode=TwoWay}" />
<Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}" />
<Setter Property="FontWeight" Value="Normal" />
<Style.Triggers>
<Trigger Property="IsSelected" Value="True">
<Setter Property="FontWeight" Value="Bold" />
</Trigger>
</Style.Triggers>
</Style>
</TreeView.Resources>
<TreeView.ContextMenu>
<ContextMenu>
<ContextMenu.Resources>
<ResourceDictionary>
<Style TargetType="{x:Type Image}">
<Setter Property="Height" Value="24" />
</Style>
</ResourceDictionary>
</ContextMenu.Resources>
<MenuItem Command="{Binding AddPromptCommand}" Header="Neuer Prompt">
<MenuItem.Icon>
<Image Source="..\..\..\Ressources\Icons\Add24.png" />
</MenuItem.Icon>
</MenuItem>
<MenuItem Command="{Binding AddOrdnerCommand}" Header="Neuer Ordner">
<MenuItem.Icon>
<Image Source="..\..\..\Ressources\Icons\Add24.png" />
</MenuItem.Icon>
</MenuItem>
<MenuItem Command="{Binding AddKetteCommand}" Header="Neue Routine">
<MenuItem.Icon>
<Image Source="..\..\..\Ressources\Icons\Add24.png" />
</MenuItem.Icon>
</MenuItem>
<Separator />
<MenuItem Command="{Binding EditPromptbausteinCommand}" Header="Bearbeiten">
<MenuItem.Icon>
<Image Source="..\..\..\Ressources\Icons\Rename24.png" />
</MenuItem.Icon>
</MenuItem>
<Separator />
<MenuItem Command="{Binding CopySinglePromptbausteinCommand}" Header="Einzelnes Element kopieren">
<MenuItem.Icon>
<Image Source="..\..\..\Ressources\Icons\Copy24.png" />
</MenuItem.Icon>
</MenuItem>
<MenuItem Command="{Binding CopyPromptbausteinCommand}" Header="Elementbaum kopieren">
<MenuItem.Icon>
<Image Source="..\..\..\Ressources\Icons\Copy24.png" />
</MenuItem.Icon>
</MenuItem>
<MenuItem Command="{Binding PastePromptbausteinCommand}" Header="Einfügen">
<MenuItem.Icon>
<Image Source="..\..\..\Ressources\Icons\Paste24.png" />
</MenuItem.Icon>
</MenuItem>
<Separator />
<MenuItem Command="{Binding DeletePromptbausteinCommand}" Header="Löschen">
<MenuItem.Icon>
<Image Source="..\..\..\Ressources\Icons\Delete24.png" />
</MenuItem.Icon>
</MenuItem>
</ContextMenu>
</TreeView.ContextMenu>
</TreeView>
</GroupBox>
</Grid>
</GroupBox>
</view:BeWoView>

View File

@@ -1,102 +0,0 @@
using BeWo.ViewModel;
using BeWo.ViewModel.View.Administration;
using DevExpress.Xpf.Accordion;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace BeWo.View.Detail.AI
{
/// <summary>
/// Interaktionslogik für AiPromptbausteinTreeView.xaml
/// </summary>
public partial class AiPromptbausteinTreeView : BeWoView
{
public AiPromptbausteinTreeView()
{
InitializeComponent();
DataContext = ViewModel = new AiPromptbausteinTreeViewModel(BeWoApp.MainControl.WindowService);
Loaded += (s, e) => ViewModel.ReloadVMList();
}
public AiPromptbausteinTreeViewModel ViewModel { get; set; }
public override bool IsDirty => ViewModel is object && ViewModel.IsDirty;
protected override void Save() => ViewModel.SaveVMList();
private void OnPreviewMouseRightButtonDown(object sender, MouseButtonEventArgs e)
{
TreeViewItem treeViewItem = VisualUpwardSearch(e.OriginalSource as DependencyObject);
if (treeViewItem != null)
{
treeViewItem.Focus();
e.Handled = true;
}
else
{
e.Handled = true;
if (ViewModel.SelectedNode == null)
return;
_LastTreeViewItem.IsSelected = false;
treeView.Focus();
}
}
static TreeViewItem VisualUpwardSearch(DependencyObject source)
{
while (source != null && !(source is TreeViewItem))
source = VisualTreeHelper.GetParent(source);
return source as TreeViewItem;
}
private void treeView_SelectedItemChanged(object sender, RoutedPropertyChangedEventArgs<object> e)
{
if (ViewModel is null)
return;
ViewModel.SelectedNode = treeView.SelectedValue as AiPromptbausteinTreeVM;
}
private void Grid_PreviewMouseDown(object sender, MouseButtonEventArgs e)
{
TreeViewItem treeViewItem = VisualUpwardSearch(e.OriginalSource as DependencyObject);
if (treeViewItem is null)
return;
if (e.ClickCount == 2)
{
ViewModel.EditPromptbausteinCommand.Execute(null);
e.Handled = true;
}
}
private TreeViewItem _LastTreeViewItem;
private void treeView_Selected(object sender, RoutedEventArgs e)
{
_LastTreeViewItem = e.OriginalSource as TreeViewItem;
}
}
}

View File

@@ -1,248 +0,0 @@
<view:BeWoView
x:Class="BeWo.View.Detail.AI.AiPromptbausteinView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:detail1="clr-namespace:BeWo.View.Detail.AI"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
xmlns:view="clr-namespace:BeWo.View"
Width="Auto"
Height="Auto"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Focusable="True">
<view:BeWoView.Resources>
<detail1:IsOnlyForEmployeeRightsConverter2 x:Key="IsOnlyForEmployeeRightsConverter2" />
<detail1:AiPromptbausteinEditConverter x:Key="AiPromptbausteinEditConverter" />
</view:BeWoView.Resources>
<GroupBox
Name="root"
Header="Aktuell definierte KI-Prompts"
Style="{StaticResource ObjectEditGroupBox}">
<Grid VerticalAlignment="Stretch">
<Grid.Resources>
<ContextMenu
x:Key="ContextMenuAiPromptbausteine"
MenuItem.Click="ContextMenuAiPromptbausteine_Click"
Opened="ContextMenuAiPromptbausteine_Opened">
<MenuItem Header="Neue KI Prompt-Kategorie">
<MenuItem.Icon>
<Image Source="..\..\..\Ressources\Icons\Add24.png" />
</MenuItem.Icon>
</MenuItem>
<MenuItem Header="Neuer KI-Prompt">
<MenuItem.Icon>
<Image Source="..\..\..\Ressources\Icons\Add24.png" />
</MenuItem.Icon>
</MenuItem>
</ContextMenu>
</Grid.Resources>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Label
Grid.Row="0"
Grid.Column="0"
Content="Name" />
<TextBox
Grid.Row="0"
Grid.Column="1"
Width="150"
Text="{Binding Path=NewVM.Name, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
<Label
Grid.Row="0"
Grid.Column="2"
Content="Text" />
<TextBox
Grid.Row="0"
Grid.RowSpan="2"
Grid.Column="3"
AcceptsReturn="True"
IsEnabled="{Binding Path=NewVM.IsParent, UpdateSourceTrigger=PropertyChanged, Converter={StaticResource BoolReverseConverter}}"
Text="{Binding Path=NewVM.Text, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
VerticalScrollBarVisibility="Auto" />
<Label
Grid.Row="1"
Grid.Column="0"
Content="KI Prompt-Kategorie" />
<dxe:ComboBoxEdit
Grid.Row="1"
Grid.Column="1"
Width="150"
Height="23"
Margin="3"
EditMode="Standalone"
ItemsSource="{Binding Path=PossibleAiPromptbausteinParents}"
SelectedItem="{Binding Path=NewVM.Parent}">
<dxe:ComboBoxEdit.Buttons>
<dxe:ButtonInfo Click="RemoveParentAiPromptbausteinFromNewVM_OnClick" GlyphKind="Cancel" />
</dxe:ComboBoxEdit.Buttons>
</dxe:ComboBoxEdit>
<CheckBox
Grid.Row="2"
Grid.Column="0"
Margin="3"
Checked="IsAiPromptbausteinParent_Checked"
Content="KI-Promptbaustein-Kategorie"
IsChecked="{Binding Path=NewVM.IsParent, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
<Button
Grid.Row="3"
Grid.Column="0"
Grid.ColumnSpan="4"
Margin="3,3,0,3"
HorizontalAlignment="Right"
Click="AddAiPromptbausteinButton_Click"
Content="Hinzufügen" />
<dxg:TreeListControl
Name="TreeListControl"
Grid.Row="4"
Grid.Column="0"
Grid.ColumnSpan="4"
Margin="0"
dx:ThemeManager.ThemeName="Office2010Black"
ContextMenu="{StaticResource ContextMenuAiPromptbausteine}"
ItemsSource="{Binding Path=VMList, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
ItemsSourceChanged="TreeListControl_ItemsSourceChanged"
PreviewMouseDown="TreeListControl_OnPreviewMouseDown">
<dxg:TreeListControl.Columns>
<dxg:TreeListColumn
Width="24"
FieldName="IsDeleteable"
FixedWidth="True"
Header=" "
ReadOnly="True">
<dxg:TreeListColumn.CellTemplate>
<DataTemplate>
<Button
Width="18"
Height="18"
VerticalAlignment="Center"
Click="DeleteButton_Click"
Content="r"
FontFamily="Webdings">
<Button.IsEnabled>
<MultiBinding Converter="{StaticResource AiPromptbausteinEditConverter}">
<Binding />
<Binding Path="DataContext.RowData.Row" RelativeSource="{RelativeSource TemplatedParent}" />
</MultiBinding>
</Button.IsEnabled>
</Button>
</DataTemplate>
</dxg:TreeListColumn.CellTemplate>
</dxg:TreeListColumn>
<dxg:TreeListColumn FieldName="Name">
<dxg:TreeListColumn.DisplayTemplate>
<ControlTemplate>
<dxe:TextEdit
EditMode="InplaceInactive"
FontWeight="{Binding Path=DataContext.RowData.Row.FontWeight, RelativeSource={RelativeSource TemplatedParent}}"
Text="{Binding Path=DataContext.RowData.Row.Name, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}, UpdateSourceTrigger=PropertyChanged}">
<dxe:TextEdit.IsEnabled>
<MultiBinding Converter="{StaticResource AiPromptbausteinEditConverter}">
<Binding />
<Binding Path="DataContext.RowData.Row" RelativeSource="{RelativeSource TemplatedParent}" />
</MultiBinding>
</dxe:TextEdit.IsEnabled>
</dxe:TextEdit>
</ControlTemplate>
</dxg:TreeListColumn.DisplayTemplate>
<dxg:TreeListColumn.EditTemplate>
<ControlTemplate>
<dxe:TextEdit
x:Name="PART_Editor"
EditMode="InplaceActive"
FontWeight="{Binding Path=DataContext.RowData.Row.FontWeight, RelativeSource={RelativeSource TemplatedParent}}"
Text="{Binding Path=DataContext.RowData.Row.Name, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}, UpdateSourceTrigger=PropertyChanged}">
<dxe:TextEdit.IsEnabled>
<MultiBinding Converter="{StaticResource AiPromptbausteinEditConverter}">
<Binding />
<Binding Path="DataContext.RowData.Row" RelativeSource="{RelativeSource TemplatedParent}" />
</MultiBinding>
</dxe:TextEdit.IsEnabled>
</dxe:TextEdit>
</ControlTemplate>
</dxg:TreeListColumn.EditTemplate>
</dxg:TreeListColumn>
<dxg:TreeListColumn FieldName="Text">
<dxg:TreeListColumn.CellTemplate>
<DataTemplate>
<dxe:TextEdit
x:Name="PART_Editor"
AcceptsReturn="True"
AcceptsTab="True"
EditMode="InplaceActive"
IsEnabled="{Binding Path=DataContext.RowData.Row, Converter={StaticResource IsOnlyForEmployeeRightsConverter2}, RelativeSource={RelativeSource TemplatedParent}}"
SelectAllOnGotFocus="False"
SelectAllOnMouseUp="False"
Text="{Binding Path=DataContext.RowData.Row.Text, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}, UpdateSourceTrigger=PropertyChanged}"
TextTrimming="WordEllipsis"
TextWrapping="Wrap" />
</DataTemplate>
</dxg:TreeListColumn.CellTemplate>
</dxg:TreeListColumn>
<dxg:TreeListColumn FieldName="Parent" Header="KI Prompt-Kategorie">
<dxg:TreeListColumn.DisplayTemplate>
<ControlTemplate>
<dxe:ComboBoxEdit
EditMode="InplaceActive"
IsTextEditable="False"
ItemsSource="{Binding Path=DataContext.PossibleAiPromptbausteinParents, RelativeSource={RelativeSource FindAncestor, AncestorType=dxg:TreeListControl}}"
Loaded="FrameworkElement_OnLoaded"
SelectedItem="{Binding Path=DataContext.RowData.Row.Parent, RelativeSource={RelativeSource TemplatedParent}, Mode=OneWay}"
Tag="{Binding Path=DataContext.RowData.Row, RelativeSource={RelativeSource TemplatedParent}}">
<dxe:ComboBoxEdit.Buttons>
<dxe:ButtonInfo
Click="ButtonInfo_OnClick"
GlyphKind="Cancel"
Tag="{Binding}" />
</dxe:ComboBoxEdit.Buttons>
</dxe:ComboBoxEdit>
</ControlTemplate>
</dxg:TreeListColumn.DisplayTemplate>
<dxg:TreeListColumn.EditTemplate>
<ControlTemplate>
<!-- KI Prompt-Kategorie -->
<dxe:ComboBoxEdit
x:Name="PART_Editor"
EditMode="InplaceActive"
EditValueChanged="PART_Editor_OnEditValueChanged"
IsTextEditable="False"
ItemsSource="{Binding Path=DataContext.PossibleAiPromptbausteinParents, RelativeSource={RelativeSource FindAncestor, AncestorType=dxg:TreeListControl}}"
Loaded="FrameworkElement_OnLoaded"
SelectedItem="{Binding Path=DataContext.RowData.Row.Parent, RelativeSource={RelativeSource TemplatedParent}, Mode=OneWay}"
Tag="{Binding Path=DataContext.RowData.Row, RelativeSource={RelativeSource TemplatedParent}, Mode=OneWay}">
<dxe:ComboBoxEdit.Buttons>
<dxe:ButtonInfo
Click="ButtonInfo_OnClick"
GlyphKind="Cancel"
Tag="{Binding}" />
</dxe:ComboBoxEdit.Buttons>
</dxe:ComboBoxEdit>
</ControlTemplate>
</dxg:TreeListColumn.EditTemplate>
</dxg:TreeListColumn>
</dxg:TreeListControl.Columns>
<dxg:TreeListControl.View>
<dxg:TreeListView
Name="TreeListView"
AutoWidth="True"
ExpandStateBinding="{Binding Path=IsExpanded, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
KeyFieldName="KeyField"
ParentFieldName="ParentField" />
</dxg:TreeListControl.View>
</dxg:TreeListControl>
</Grid>
</GroupBox>
</view:BeWoView>

View File

@@ -1,316 +0,0 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Input;
using BeWo.ServiceProxy;
using BeWo.ViewModel;
using BeWo.ViewModel.ListViewModel;
using BS.Shared;
using BS.Shared.Extensions;
using BS.Shared.Translation;
using DevExpress.Xpf.Editors;
using DevExpress.Xpf.Grid;
namespace BeWo.View.Detail.AI
{
public partial class AiPromptbausteinView
{
private AiPromptbausteinListVM _ViewModel;
public AiPromptbausteinListVM ViewModel
{
get => _ViewModel;
set
{
_ViewModel = value;
root.DataContext = value;
}
}
public override bool IsDirty => ViewModel != null && ViewModel.IsDirty;
private readonly bool _IsInAdministrationView;
public AiPromptbausteinView(AiPromptbausteinListVM viewmodel, bool pIsInAdministrationView = false)
{
InitializeComponent();
_IsInAdministrationView = pIsInAdministrationView;
ViewModel = viewmodel;
}
protected override void Save()
{
Save(null);
}
public void Save(Action pCallBack)
{
var lToDos = new List<Action<IAiEnhancedService>>();
if(ViewModel.ChangedCount == 0 && ViewModel.RemovedCount == 0 && ViewModel.AddedCount == 0)
{
return;
}
if (ViewModel.AddedCount > 0)
{
lToDos.Add(s => s.CreateAiPromptbausteine(ViewModel.CommitAdded()));
}
if (ViewModel.RemovedCount > 0)
{
lToDos.Add(s => s.DeleteAiPromptbausteine(ViewModel.GetRemoved().ToDictionary(dc => dc.Oid.Value, dc => dc.Version.Value)));
}
if (ViewModel.ChangedCount > 0)
{
lToDos.Add(s => s.UpdateAiPromptbausteine(ViewModel.CommitChanged()));
}
ServiceFacade.DoMultipleAiEnhancedServicesAsync(lToDos, () =>
{
pCallBack?.Invoke();
ReloadViewModel();
});
}
private void ReloadViewModel()
{
VMFactory.CreateAiPromptbausteinListVMAsync(r => this.Dispatch(delegate
{
ViewModel = r;
TreeListControl.UpdateLayout();
}));
}
private void DeleteButton_Click(object sender, RoutedEventArgs e)
{
var focusedNode = TreeListView.FocusedNode;
var selectedAiPromptbaustein = (AiPromptbausteinVM) focusedNode.Content;
String msg = "der ausgewähte KI-Prompt";
if (selectedAiPromptbaustein.IsParent)
{
msg = "die ausgewähte Kategorie";
}
if (MessageBox.Show(Translator.Translate("Sie Sie sicher, dass {0} \"{1}\" gelöscht werden soll?", msg, selectedAiPromptbaustein.Name), "Löschen", MessageBoxButton.YesNo, MessageBoxImage.Exclamation) == MessageBoxResult.Yes)
{
_ChildrenToDelete.Add(selectedAiPromptbaustein);
if (selectedAiPromptbaustein.IsParent)
{
RetrieveChildAiPromptbausteineFromParent(selectedAiPromptbaustein);
}
ViewModel.VMList.RemoveRange(_ChildrenToDelete);
_ChildrenToDelete.Clear();
}
}
private readonly List<AiPromptbausteinVM> _ChildrenToDelete = new List<AiPromptbausteinVM>();
private void RetrieveChildAiPromptbausteineFromParent(AiPromptbausteinVM parent)
{
var children = ViewModel.VMList.Where(w => w.Parent != null && w.Parent.Equals(parent));
foreach(var child in children)
{
_ChildrenToDelete.Add(child);
RetrieveChildAiPromptbausteineFromParent(child);
}
}
public static bool CheckEditorRights(AiPromptbausteinVM aiPromptbausteinVM, object parameter)
{
if (aiPromptbausteinVM != null)
{
var isOwn = aiPromptbausteinVM.Employee != null && aiPromptbausteinVM.Employee.EmployeeOid.Equals(BeWoApp.LoggedOnEmployee.EmployeeOid);
// TODO: mehr Rechte?
var hasRight2EditAll = BeWoApp.LoggedOnUser.HasRight(UserRightType.AiModulePromptbausteineEdit);
var hasRight2EditOwn = BeWoApp.LoggedOnUser.HasRight(UserRightType.AiModulePromptbausteineEdit);
var hasRight2Create4All = BeWoApp.LoggedOnUser.HasRight(UserRightType.AiModulePromptbausteineAdd);
if (parameter != null && parameter.ToString().Equals("IsOnlyForEmployeeCheckBox"))
{
return isOwn && hasRight2EditOwn && hasRight2Create4All || hasRight2EditAll;
}
return isOwn && hasRight2EditOwn || hasRight2EditAll;
}
return false;
}
private void ContextMenuAiPromptbausteine_Click(object sender, RoutedEventArgs e)
{
if(e.OriginalSource is MenuItem twi)
{
var selectedItem = TreeListControl.SelectedItem as AiPromptbausteinVM;
ViewModel.NewVM.IsParent = twi.Header.Equals("Neue KI Prompt-Kategorie");
ViewModel.NewVM.IsExpanded = twi.Header.Equals("Neue KI Prompt-Kategorie");
ViewModel.NewVM.IsOnlyForEmployee = !_IsInAdministrationView;
ViewModel.NewVM.Name = GenerateNewAiPromptbausteinName(twi.Header.ToString());
if(selectedItem != null)
{
ViewModel.NewVM.Parent = selectedItem;
}
ViewModel.AddNewVMToList(false);
Save();
}
}
private string GenerateNewAiPromptbausteinName(string pName)
{
var newName = pName;
var counter = 1;
while(ViewModel.VMList.Any(a => a.Name != null && a.Name.Equals(newName)))
{
newName = pName + " " + counter;
counter++;
}
return newName;
}
private void ContextMenuAiPromptbausteine_Opened(object sender, RoutedEventArgs e)
{
if (e.OriginalSource is ContextMenu menu)
{
var aiPromptbaustein = TreeListControl.SelectedItem as AiPromptbausteinVM;
foreach (var menuitem in menu.Items.OfType<MenuItem>().Select(item => item))
{
if(aiPromptbaustein != null && !aiPromptbaustein.IsParent)
{
menuitem.IsEnabled = false;
}
else
{
menuitem.IsEnabled = true;
}
}
}
}
private void TreeListControl_ItemsSourceChanged(object sender, DevExpress.Xpf.Grid.ItemsSourceChangedEventArgs e)
{
TreeListControl.SelectedItem = null;
}
private void TreeListControl_OnPreviewMouseDown(object sender, MouseButtonEventArgs e)
{
var hitInfo = TreeListView.CalcHitInfo(e.OriginalSource as DependencyObject);
if(!hitInfo.InRowCell)
{
TreeListControl.SelectedItem = null;
}
e.Handled = false;
}
private void ButtonInfo_OnClick(object sender, RoutedEventArgs e)
{
if(sender is Button btn && btn.TemplatedParent is ButtonContainer bc)
{
if(bc.Content is ButtonInfo bi)
{
if(bi.Tag is EditGridCellData cellData)
{
var vm = (AiPromptbausteinVM) cellData.RowData.Row;
vm.Parent = null;
vm.IsParent = false;
}
}
}
}
private void PART_Editor_OnEditValueChanged(object sender, EditValueChangedEventArgs e)
{
var comboBoxEdit = (ComboBoxEdit) sender;
var selectedAiPromptbaustein = (AiPromptbausteinVM) comboBoxEdit.Tag;
var oldValue = e.OldValue;
var newValue = e.NewValue;
if(e.NewValue != null)
{
selectedAiPromptbaustein.Parent = (AiPromptbausteinVM) e.NewValue;
}
}
private void FrameworkElement_OnLoaded(object sender, RoutedEventArgs e)
{
var comboBoxEdit = (ComboBoxEdit) sender;
var aiPromptbaustein = (AiPromptbausteinVM) comboBoxEdit.Tag;
comboBoxEdit.ItemsSource = ViewModel.GetAiPromptbausteinParents(aiPromptbaustein);
}
private void RemoveParentAiPromptbausteinFromNewVM_OnClick(object sender, RoutedEventArgs e)
{
ViewModel.NewVM.Parent = null;
}
private void IsAiPromptbausteinParent_Checked(object sender, RoutedEventArgs e)
{
ViewModel.NewVM.Text = null;
}
private void AddAiPromptbausteinButton_Click(object sender, RoutedEventArgs e)
{
ViewModel.NewVM.IsOnlyForEmployee = !_IsInAdministrationView;
ViewModel.AddNewVMToList(false);
Save();
}
}
public class IsOnlyForEmployeeRightsConverter2 : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
var aiPromptbausteinVM = (AiPromptbausteinVM)value;
return AiPromptbausteinView.CheckEditorRights(aiPromptbausteinVM, parameter) && aiPromptbausteinVM != null && !aiPromptbausteinVM.IsParent;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
public class AiPromptbausteinEditConverter : IMultiValueConverter
{
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
{
var fieldname = ((EditGridCellData)values[0]).Column.FieldName;
var shuoldBeEditableDespiteBeingFromAParentElement = fieldname.Equals("Name") || fieldname.Equals("IsDeleteable");
var aiPromptbausteinVM = (AiPromptbausteinVM)values[1];
return AiPromptbausteinView.CheckEditorRights(aiPromptbausteinVM, parameter) && shuoldBeEditableDespiteBeingFromAParentElement;
}
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
}

View File

@@ -5,8 +5,8 @@ using System.Linq;
using System.Windows;
using BeWo.ViewModel.ListViewModel;
using BS.Shared;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Compact;
using BS.Shared.DataContracts.Feature.AI;
namespace BeWo.ViewModel
{

View File

@@ -1,8 +1,8 @@
using System;
using BS.Shared;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Compact;
using BS.Shared.DataContracts.Feature.AI;
namespace BeWo.ViewModel
{

View File

@@ -1,179 +0,0 @@
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Windows;
using BeWo.ServiceProxy;
using BeWo.Validation;
using BeWo.ViewModel.ListViewModel;
using BS.Shared;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Compact;
using BS.Shared.DataContracts.Feature.AI;
using BS.Shared.Extensions;
using BS.Shared.Interface;
namespace BeWo.ViewModel
{
public class AiPromptbausteinTreeVM : AbstractDCMapperVM<AiPromptbausteinTreeDC>, IAiPromptbaustein
{
private string _Displayname;
private string _Content;
private ActivationTypeId _ActivationType;
private AiPromptbausteinType _PromptbausteinType;
private string _Metadata;
private AiActionType _AiActionType;
private CompactEmployeeDC _Creator;
private bool _IsOnlyForCreator;
private bool _ShowUserPrompt;
private bool _ShowUserPromptByTenant;
private int _Position;
private bool _IsExpanded;
private AiPromptbausteinTreeListVM _Children;
public AiPromptbausteinTreeVM(AiPromptbausteinTreeDC dc) : base(dc, dc.Oid)
{
}
public string Displayname
{
get => _Displayname;
set => SetProperty(ref _Displayname, value, nameof(Displayname), () => DataContract.Displayname);
}
public string Content
{
get => _Content;
set => SetProperty(ref _Content, value, nameof(Content), () => DataContract.Content);
}
public AiPromptbausteinType PromptbausteinType
{
get => _PromptbausteinType;
set => SetProperty(ref _PromptbausteinType, value, nameof(PromptbausteinType), () => DataContract.PromptbausteinType);
}
public string Metadata
{
get => _Metadata;
set => SetProperty(ref _Metadata, value, nameof(Metadata), () => DataContract.Metadata);
}
public AiActionType AiActionType
{
get => _AiActionType;
set => SetProperty(ref _AiActionType, value, nameof(AiActionType), () => DataContract.AiActionType);
}
public CompactEmployeeDC Creator
{
get => _Creator;
set => SetProperty(ref _Creator, value, nameof(Creator), () => DataContract.Creator);
}
public bool IsOnlyForCreator
{
get => _IsOnlyForCreator;
set => SetProperty(ref _IsOnlyForCreator, value, nameof(IsOnlyForCreator), () => DataContract.IsOnlyForCreator);
}
public bool ShowUserPrompt
{
get => _ShowUserPrompt;
set => SetProperty(ref _ShowUserPrompt, value, nameof(ShowUserPrompt), () => DataContract.ShowUserPrompt);
}
public bool ShowUserPromptByTenant
{
get => _ShowUserPromptByTenant;
set => SetProperty(ref _ShowUserPromptByTenant, value, nameof(ShowUserPromptByTenant), () => DataContract.ShowUserPromptByTenant);
}
public int Position
{
get => _Position;
set => SetProperty(ref _Position, value, nameof(Position), () => DataContract.Position);
}
public bool IsExpanded
{
get => _IsExpanded;
set => SetProperty(ref _IsExpanded, value, nameof(IsExpanded));
}
public AiPromptbausteinTreeListVM Children
{
get => _Children;
set => SetProperty(ref _Children, value, nameof(Children));
}
public AiPromptbausteinTreeVM Parent { get; set; }
public bool HasChildren => Children is object && Children.Count > 0;
public FontWeight FontWeight => PromptbausteinType != AiPromptbausteinType.Prompt ? FontWeights.Bold : FontWeights.Regular;
public long? Oid => DataContract.Oid;
protected override void InitByDataContract(AiPromptbausteinTreeDC pDataContract)
{
if (pDataContract is null)
return;
_Displayname = pDataContract.Displayname;
_Content = pDataContract.Content;
_PromptbausteinType = pDataContract.PromptbausteinType;
_Metadata = pDataContract.Metadata;
_AiActionType = pDataContract.AiActionType;
_Creator = pDataContract.Creator;
_IsOnlyForCreator = pDataContract.IsOnlyForCreator;
_ShowUserPrompt = pDataContract.ShowUserPrompt;
_ShowUserPromptByTenant = pDataContract.ShowUserPromptByTenant;
_Position = pDataContract.Position;
_IsExpanded = pDataContract.IsExpanded;
_Children = new AiPromptbausteinTreeListVM(pDataContract.Children, this);
}
protected override AiPromptbausteinTreeDC MapToDataContract(AiPromptbausteinTreeDC pDataContract, bool doCommit)
{
pDataContract.Displayname = _Displayname;
pDataContract.Content = _Content;
pDataContract.PromptbausteinType = _PromptbausteinType;
pDataContract.Metadata = _Metadata;
pDataContract.AiActionType = _AiActionType;
pDataContract.Creator = _Creator;
pDataContract.IsOnlyForCreator = _IsOnlyForCreator;
pDataContract.ShowUserPrompt = _ShowUserPrompt;
pDataContract.ShowUserPromptByTenant = _ShowUserPromptByTenant;
pDataContract.Position = _Position;
pDataContract.IsExpanded = _IsExpanded;
pDataContract.ParentOid = Parent?.DataContract.Oid;
if (_Children != null)
{
pDataContract.Children = Children.CopyToDCList(doCommit);
}
return pDataContract;
}
public AiPromptbausteinTreeVM CopyToNewViewModel()
{
var rtn = new AiPromptbausteinTreeVM(new AiPromptbausteinTreeDC());
rtn.Displayname = _Displayname;
rtn.Content = _Content;
rtn.PromptbausteinType = _PromptbausteinType;
rtn.Metadata = _Metadata;
rtn.AiActionType = _AiActionType;
rtn.Creator = _Creator;
rtn.IsOnlyForCreator = _IsOnlyForCreator;
rtn.ShowUserPrompt = _ShowUserPrompt;
rtn.ShowUserPromptByTenant = _ShowUserPromptByTenant;
rtn.Position = _Position;
rtn.IsExpanded = _IsExpanded;
return rtn;
}
}
}

View File

@@ -1,249 +0,0 @@
using System.Windows;
using BeWo.ServiceProxy;
using BeWo.Validation;
using BS.Shared;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Compact;
namespace BeWo.ViewModel
{
public class AiPromptbausteinVM : AbstractDCMapperVM<AiPromptbausteinDC>
{
private int _Position;
private string _Text;
private string _Name;
private CompactEmployeeDC _Employee;
private ServiceCategoryDC _ServiceCategory;
private bool _IsOnlyForEmployee;
private bool _IsParent;
private bool _IsExpanded;
private AiPromptbausteinVM _Parent;
private ActivationTypeId _ActivationType;
public AiPromptbausteinVM(AiPromptbausteinDC pDataContract) : base(pDataContract, pDataContract.Oid == null) {}
public bool IsExpanded
{
get => _IsExpanded;
set
{
if(AreDifferent(_IsExpanded, value))
{
_IsExpanded = value;
StoreDirtyInformation(AreDifferent(DataContract.IsExpanded, value), nameof(IsExpanded));
FirePropertyChanged(nameof(IsExpanded));
}
}
}
public CompactEmployeeDC Employee
{
get => _Employee;
set
{
if (AreDifferent(_Employee, value))
{
_Employee = value;
StoreDirtyInformation(AreDifferent(DataContract.Employee, value), nameof(Employee));
FirePropertyChanged(nameof(Employee));
}
}
}
public ActivationTypeId ActivationType
{
get => _ActivationType;
set
{
if(AreDifferent(_ActivationType, value))
{
_ActivationType = value;
StoreDirtyInformation(AreDifferent(DataContract.ActivationType, value), nameof(ActivationType));
FirePropertyChanged(nameof(ActivationType));
}
}
}
public int Position
{
get => _Position;
set
{
if (AreDifferent(_Position, value))
{
_Position = value;
StoreDirtyInformation(AreDifferent(DataContract.Position, value), nameof(Position));
FirePropertyChanged(nameof(Position));
}
}
}
public string Text
{
get => _Text;
set
{
if (AreDifferent(_Text, value))
{
_Text = value;
StoreDirtyInformation(AreDifferent(DataContract.Text, value), nameof(Text));
FirePropertyChanged(nameof(Text));
}
}
}
public bool IsOnlyForEmployee
{
get => _IsOnlyForEmployee;
set
{
if (AreDifferent(_IsOnlyForEmployee, value))
{
_IsOnlyForEmployee = value;
StoreDirtyInformation(AreDifferent(DataContract.IsOnlyForEmployee, value), nameof(IsOnlyForEmployee));
FirePropertyChanged(nameof(IsOnlyForEmployee));
}
}
}
public bool IsParent
{
get => _IsParent;
set
{
if(AreDifferent(_IsParent, value))
{
_IsParent = value;
StoreDirtyInformation(AreDifferent(DataContract.IsParent, value), nameof(IsParent));
FirePropertyChanged(nameof(IsParent));
}
}
}
public AiPromptbausteinVM Parent
{
get => _Parent;
set
{
if(AreDifferent(_Parent, value) && AreDifferent(value, this))
{
_Parent = value;
StoreDirtyInformation(AreDifferent(DataContract.Parent, value), nameof(Parent));
FirePropertyChanged(nameof(Parent));
}
}
}
public FontWeight FontWeight => _IsParent ? FontWeights.Bold : FontWeights.Normal;
public long? KeyField => DataContract?.Oid;
public long? ParentField => Parent?.DataContract?.Oid;
[Validation(ValidationRule = ValidationRules.NotNullOrStringEmpty)]
public string Name
{
get => _Name;
set
{
if (AreDifferent(_Name, value))
{
_Name = value;
StoreDirtyInformation(AreDifferent(DataContract.Name, value), nameof(Name));
FirePropertyChanged(nameof(Name));
}
}
}
protected override void InitByDataContract(AiPromptbausteinDC pDataContract)
{
if (!IsNew)
{
_Text = pDataContract.Text;
_Position = pDataContract.Position;
_Name = pDataContract.Name;
_Employee = pDataContract.Employee;
_IsOnlyForEmployee = pDataContract.IsOnlyForEmployee;
_IsParent = pDataContract.IsParent;
_Parent = pDataContract.Parent != null ? new AiPromptbausteinVM(pDataContract.Parent) : null;
_IsExpanded = pDataContract.IsExpanded;
}
else
{
ServiceFacade.DoEmployeeServiceSync(s => _Employee = s.LoadCompactEmployee(BeWoApp.LoggedOnEmployee.EmployeeOid.Value));
if (BeWoApp.LoggedOnUser.HasRight(UserRightType.TextbausteineNurEigeneBearbeiten) && !BeWoApp.LoggedOnUser.HasRight(UserRightType.TextbausteineAlleBearbeiten))
{
_IsOnlyForEmployee = true;
}
}
}
protected override AiPromptbausteinDC MapToDataContract(AiPromptbausteinDC pDataContract, bool doCommit)
{
pDataContract.Text = _Text;
pDataContract.Position = _Position;
pDataContract.Name = _Name;
pDataContract.IsParent = _IsParent;
pDataContract.IsExpanded = _IsExpanded;
pDataContract.ActivationType = _ActivationType;
pDataContract.IsOnlyForEmployee = _IsOnlyForEmployee;
pDataContract.Parent = _Parent?.CommitToDataContract();
pDataContract.Employee = _Employee;
return pDataContract;
}
public override bool Equals(object pObj)
{
if (!(pObj is AiPromptbausteinVM))
{
return false;
}
var obj = (AiPromptbausteinVM) pObj;
return
Equals(IsNew, obj.IsNew) &&
Equals(Text, obj.Text) &&
Equals(Position, obj.Position) &&
Equals(Parent, obj.Parent) &&
Equals(Name, obj.Name) &&
Equals(Employee, obj.Employee) &&
Equals(IsOnlyForEmployee, obj.IsOnlyForEmployee) &&
Equals(IsParent, obj.IsParent) &&
Equals(IsDirty, obj.IsDirty);
}
public override string ToString()
{
return _Name;
}
}
}

View File

@@ -1,10 +1,9 @@
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Feature.AI;
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BS.Shared.DataContracts.Feature.AI;
namespace BeWo.ViewModel.ListViewModel
{

View File

@@ -1,28 +0,0 @@
using System.Collections.Generic;
using System.Linq;
using BS.Shared.DataContracts;
namespace BeWo.ViewModel.ListViewModel
{
public class AiPromptbausteinListVM : AbstractDCListMapperVM<AiPromptbausteinDC, AiPromptbausteinVM>
{
public static string PropertyName_PossibleAiPromptbausteinParents = "PossibleAiPromptbausteinParents";
private readonly List<AiPromptbausteinVM> _PossibleAiPromptbausteinParents;
public AiPromptbausteinListVM(IEnumerable<AiPromptbausteinDC> pDataContracts = null) : base(pDataContracts)
{
_PossibleAiPromptbausteinParents = VMList.Where(w => w.IsParent).ToList();
}
public IEnumerable<AiPromptbausteinVM> PossibleAiPromptbausteinParents => _PossibleAiPromptbausteinParents;
public IEnumerable<AiPromptbausteinVM> GetAiPromptbausteinParents(AiPromptbausteinVM aiPromptbaustein)
{
return _PossibleAiPromptbausteinParents.Except(new List<AiPromptbausteinVM> {aiPromptbaustein});
}
}
}

View File

@@ -1,9 +1,9 @@
using BS.Shared.DataContracts;
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BS.Shared.DataContracts.Feature.AI;
namespace BeWo.ViewModel.ListViewModel
{

View File

@@ -1,51 +0,0 @@
using System.Collections.Generic;
using System.Linq;
using BS.Shared.DataContracts.Feature.AI;
namespace BeWo.ViewModel.ListViewModel
{
public class AiPromptbausteinTreeListVM : AbstractDCListMapperVM<AiPromptbausteinTreeDC, AiPromptbausteinTreeVM>
{
public AiPromptbausteinTreeListVM() : this(null)
{
if (BeWoApp.IsInDesignMode)
{
InitDesigner();
}
}
public AiPromptbausteinTreeListVM(IEnumerable<AiPromptbausteinTreeDC> pDataContracts = null, AiPromptbausteinTreeVM aiPromptbausteinTreeVM = null) : base(pDataContracts)
{
foreach (var vm in VMList)
{
vm.Parent = aiPromptbausteinTreeVM;
}
}
public bool ContainsDirtyNode()
{
if (IsDirty)
return true;
foreach (var vm in VMList)
{
if (vm.Children is object && vm.Children.ContainsDirtyNode())
return true;
}
return false;
}
#region Designer
private void InitDesigner()
{
var prompts = PredefinedAiPromptbausteine.GenerateDesignerInstance();
foreach (var vm in prompts)
{
VMList.Add(new AiPromptbausteinTreeVM(vm));
}
}
#endregion
}
}

View File

@@ -933,29 +933,6 @@ namespace BeWo.ViewModel
});
}
internal static void CreateAiPromptbausteinListVMAsync(Action<AiPromptbausteinListVM> rtn_viewmodel)
{
ServiceFacade.DoAiEnhancedServiceAsnyc(x => x.GetAiPromptbausteine(), cb =>
{
var listVM = new AiPromptbausteinListVM(cb);
rtn_viewmodel(listVM);
});
}
internal static void CreateAiPromptbausteinTreeListAsync(Action<AiPromptbausteinTreeListVM> get_viewmodel)
{
ServiceFacade.DoAiEnhancedServiceAsnyc(
req => req.GetAiPromptbausteineTree(),
res => get_viewmodel(new AiPromptbausteinTreeListVM(res)));
}
internal static void CreateAiPromptbausteinSubTreeListAsync(AiActionType aiActionType, Action<AiPromptbausteinTreeListVM> get_viewmodel)
{
ServiceFacade.DoAiEnhancedServiceAsnyc(
req => req.GetAiPromptbausteineSubTree(aiActionType),
res => get_viewmodel(new AiPromptbausteinTreeListVM(res)));
}
internal static void CreateAiPromptbausteinFolderListVMAsync(AiActionType aiActionType, Action<AiPromptbausteinFolderListVM> get_viewmodel)
{
ServiceFacade.DoAiEnhancedServiceAsnyc(

View File

@@ -1,71 +0,0 @@
using BeWo.ServiceProxy;
using BeWo.Services;
using BeWo.ViewModel.ListViewModel;
using BS.Shared;
using BS.Shared.Extensions.CustomInterfaces;
using DevExpress.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Windows.Input;
namespace BeWo.ViewModel.View.AI
{
public class AiPromptbausteinSelectionViewModel : DialogViewModel
{
public AiPromptbausteinSelectionViewModel()
{
SendCommand = new DelegateCommand(Send, CanSend, true);
if (BeWoApp.IsInDesignMode)
{
ListVM = new AiPromptbausteinTreeListVM();
}
}
public AiPromptbausteinSelectionViewModel(AiActionType aiActionType) : this()
{
AiActionType = aiActionType;
}
public AiPromptbausteinSelectionViewModel(AiActionType aiActionType, AiPromptbausteinTreeListVM viewModel) : this(aiActionType)
{
ListVM = viewModel;
}
public event EventHandler<AiPromptbausteinTreeVM> PromptAccepted;
public AiActionType AiActionType { get; set; }
public AiPromptbausteinTreeVM SelectedNode { get; set; }
public AiPromptbausteinTreeListVM ListVM { get; private set; }
public ICommand SendCommand { get; set; }
public void Send()
{
CloseDialogCommand.Execute(null);
PromptAccepted?.Invoke(this, SelectedNode);
}
public bool CanSend()
{
return SelectedNode is object && SelectedNode.IsExecutable();
}
public void ReloadVMList()
{
VMFactory.CreateAiPromptbausteinSubTreeListAsync(AiActionType, UpdateVMList);
}
private void UpdateVMList(AiPromptbausteinTreeListVM new_list)
{
ListVM = new_list;
FirePropertyChanged(nameof(ListVM));
}
}
}

View File

@@ -2,7 +2,6 @@
using BeWo.Services;
using BeWo.ViewModel.ListViewModel;
using BS.Shared;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Compact;
using BS.Shared.DataContracts.Feature.AI;
using BS.Shared.Extensions.CustomInterfaces;
@@ -174,10 +173,6 @@ namespace BeWo.ViewModel.View.Administration
FirePropertyChanged(nameof(Folders));
});
}
public void UpdateVMList(AiPromptbausteinTreeListVM new_list)
{
}
void DFS_Search_AddUpdate(AiPromptbausteinFolderListVM folders, ref List<AiPromptbausteinFolderVM> toadd_Folder, ref List<AiPromptbausteinPromptDC> toadd_Prompts, ref List<AiPromptbausteinFolderVM> toupdate_Folder, ref List<AiPromptbausteinPromptDC> toupdate_Prompt)
{

View File

@@ -1,52 +0,0 @@
using BeWo.ViewModel.ListViewModel;
using DevExpress.Mvvm;
using DevExpress.Xpf.Docking;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace BeWo.ViewModel.View.Administration
{
public class AiPromptbausteinDetailViewModel : DialogViewModel
{
private AiPromptbausteinDetailViewModel(AiPromptbausteinTreeViewModel viewModel, AiPromptbausteinTreeVM node, bool isAdd, AiPromptbausteinTreeListVM parent = null)
{
AddCommand = new DelegateCommand(Add);
Tree = viewModel.ListVM;
Node = node;
IsAdd = isAdd;
IsEditingMode = viewModel.IsEditingMode;
if(isAdd)
{
Parent = parent;
}
}
//public ICommand SaveEditCommand { get; set; }
public AiPromptbausteinTreeListVM Tree { get; set; }
public AiPromptbausteinTreeVM Node { get; set; }
public AiPromptbausteinTreeListVM Parent { get; set; }
public bool IsAdd { get; set; }
public bool IsEditingMode { get; set; }
public string PromptLabelDescription => Node.PromptbausteinType.ToString() + ":";
public ICommand AddCommand { get; set; }
public void Add()
{
Parent.AddNewVMToListAndSelect(false);
CloseDialogCommand?.Execute(null);
}
public static AiPromptbausteinDetailViewModel CreateAdd(AiPromptbausteinTreeViewModel viewModel, AiPromptbausteinTreeVM node, AiPromptbausteinTreeListVM parent)
=> new AiPromptbausteinDetailViewModel(viewModel, node, true, parent);
public static AiPromptbausteinDetailViewModel CreateEdit(AiPromptbausteinTreeViewModel viewModel, AiPromptbausteinTreeVM node)
=> new AiPromptbausteinDetailViewModel(viewModel, node, false);
}
}

View File

@@ -1,243 +0,0 @@
using BeWo.ServiceProxy;
using BeWo.Services;
using BeWo.ViewModel.ListViewModel;
using BS.Shared;
using BS.Shared.DataContracts.Feature.AI;
using BS.Shared.Extensions.CustomInterfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using DelegateCommand = DevExpress.Mvvm.DelegateCommand;
namespace BeWo.ViewModel.View.Administration
{
public class AiPromptbausteinTreeViewModel : WindowViewModel
{
private IBeWoWindowService WindowService { get; set; }
public AiPromptbausteinTreeViewModel()
{
if (BeWoApp.IsInDesignMode)
{
ListVM = new AiPromptbausteinTreeListVM();
}
Func<bool> canAddPrompt = () => (SelectedNode.IsAddablePredefinedNode() && SelectedNode.IsOrdner()) || (SelectedNode.IsNoPredefinedNode() && (SelectedNode.IsOrdner() || SelectedNode.IsKette())) ;
Func<bool> canAddOrdner = () => (SelectedNode.IsAddablePredefinedNode() && SelectedNode.IsOrdner()) || (SelectedNode.IsNoPredefinedNode() && SelectedNode.IsOrdner());
Func<bool> canAddKette = () => false;
Func<bool> canEdit = () => SelectedNode.IsNoPredefinedNode();
Func<bool> canCopy = () => SelectedNode.IsNoPredefinedNode() && (SelectedNode.IsKette() || SelectedNode.IsOrdner());
Func<bool> canCopySingle = () => SelectedNode.IsNoPredefinedNode();
Func<bool> canPaste = () => HasCopiedTreeNode && !Contains(CopyTreeNode, SelectedNode) &&
(!CopyTreeNode.IsOrdner() || canAddOrdner()) &&
(!CopyTreeNode.IsKette() || canAddKette()) &&
(!CopyTreeNode.IsPrompt() || canAddPrompt()) &&
SelectedNode.AiActionType == CopyTreeNode.AiActionType;
Func<bool> canDelete = () => SelectedNode.IsNoPredefinedNode();
AddPromptCommand = new DelegateCommand(() => Add(AiPromptbausteinType.Prompt), canAddPrompt);
AddOrdnerCommand = new DelegateCommand(() => Add(AiPromptbausteinType.Ordner), canAddOrdner);
AddKetteCommand = new DelegateCommand(() => Add(AiPromptbausteinType.Kette), canAddKette);
EditPromptbausteinCommand = new DelegateCommand(EditPromptbaustein, canEdit);
CopyPromptbausteinCommand = new DelegateCommand(CopyPromptbaustein, canCopy);
CopySinglePromptbausteinCommand = new DelegateCommand(CopySinglePromptbaustein, canCopySingle);
PastePromptbausteinCommand = new DelegateCommand(PastePromptbaustein, canPaste);
DeletePromptbausteinCommand = new DelegateCommand(DeletePromptbaustein, canDelete);
}
public AiPromptbausteinTreeViewModel(IBeWoWindowService windowService) : this()
{
WindowService = windowService;
}
public AiPromptbausteinTreeVM SelectedNode { get; set; }
public AiPromptbausteinTreeListVM ListVM { get; private set; }
public bool CopySingleTreeNode { get; set; }
public AiPromptbausteinTreeVM CopyTreeNode { get; set; }
public bool HasCopiedTreeNode => CopyTreeNode != null;
public bool IsEditingMode { get; set; }
public ICommand AddPromptCommand { get; set; }
public ICommand AddOrdnerCommand { get; set; }
public ICommand AddKetteCommand { get; set; }
public ICommand EditPromptbausteinCommand { get; set; }
public ICommand CopyPromptbausteinCommand { get; set; }
public ICommand CopySinglePromptbausteinCommand { get; set; }
public ICommand PastePromptbausteinCommand { get; set; }
public ICommand DeletePromptbausteinCommand { get; set; }
public override bool IsDirty
{
get
{
if (ListVM is null)
return false;
return ListVM.ContainsDirtyNode();
}
}
public void SaveVMList()
{
if (!IsDirty)
return;
// DFS -> 1. Sobald Knoten gefunden wird mit IsNew=true: Teilbaum als neu markieren
// 2. Sobald Knoten gefunden wird mit IsNew=false && IsDirty=true: Knoten als update markieren
// 3. Checken, welche Knoten gelöscht wurden
var toadd = new List<AiPromptbausteinTreeVM>();
var toupdate = new List<AiPromptbausteinTreeVM>();
DFS_Search_AddUpdate(ListVM, ref toadd, ref toupdate);
var todelete = new List<AiPromptbausteinTreeDC>();
DFS_Search_Delete(ListVM, ref todelete);
var toadd_dcs = toadd.Select(x => x.CommitToDataContract());
var toupdate_dcs = toupdate.Select(x => x.CommitToDataContract());
var actions = new List<Action<IAiEnhancedService>>();
if (toadd_dcs.Any())
actions.Add(x => x.CreateAiPromptbausteineTree(toadd_dcs.ToList()));
if (toupdate_dcs.Any())
actions.Add(x => x.UpdateAiPromptbausteineTree(toupdate_dcs.ToList()));
if (todelete.Any())
actions.Add(x => x.DeleteAiPromptbausteineTree(todelete.ToDictionary(x1 => x1.Oid.Value, x2 => x2.Version.Value)));
ServiceFacade.DoMultipleAiEnhancedServicesAsync(actions, () =>
{
ReloadVMList();
});
}
internal void ReloadVMList()
{
VMFactory.CreateAiPromptbausteinTreeListAsync(vm => UpdateVMList(vm));
}
public void UpdateVMList(AiPromptbausteinTreeListVM new_list)
{
ListVM = new_list;
FirePropertyChanged(nameof(ListVM));
}
public void Add(AiPromptbausteinType type)
{
var parent = SelectedNode?.Children ?? ListVM;
parent.NewVM = null;
parent.NewVM.PromptbausteinType = type;
parent.NewVM.Parent = SelectedNode;
parent.NewVM.AiActionType = SelectedNode.AiActionType;
parent.NewVM.Creator = BeWoApp.CompactLoggedOnEmployee;
WindowService.ShowAiPromptbausteinDetailWindow(AiPromptbausteinDetailViewModel.CreateAdd(this, parent.NewVM, parent));
}
public void EditPromptbaustein()
{
WindowService.ShowAiPromptbausteinDetailWindow(AiPromptbausteinDetailViewModel.CreateEdit(this, SelectedNode));
}
public void CopyPromptbaustein()
{
CopySingleTreeNode = false;
CopyTreeNode = SelectedNode;
}
public void CopySinglePromptbaustein()
{
CopySingleTreeNode = true;
CopyTreeNode = SelectedNode;
}
public void PastePromptbaustein()
{
CopyPastePromptbaustein(!CopySingleTreeNode, CopyTreeNode, SelectedNode);
}
private void CopyPastePromptbaustein(bool rec, AiPromptbausteinTreeVM old_node, AiPromptbausteinTreeVM new_parent)
{
var old_parent = old_node?.Parent;
var new_node = old_node.CopyToNewViewModel();
if (new_parent is null)
{
ListVM.VMList.Add(new_node);
}
else
{
new_parent.Children.VMList.Add(new_node);
new_node.Parent = new_parent;
}
if (!rec)
return;
foreach (var old_child in old_node.Children.VMList)
{
CopyPastePromptbaustein(rec, old_child, new_node);
}
}
public void DeletePromptbaustein()
{
var node = SelectedNode;
var parent_source = node.Parent?.Children ?? ListVM;
parent_source.VMList.Remove(node);
}
private bool Contains(AiPromptbausteinTreeVM current_node, AiPromptbausteinTreeVM search)
{
if (current_node == search)
return true;
if (current_node.Children is null || !current_node.Children.VMList.Any())
return false;
foreach (var node in current_node.Children.VMList)
{
if (Contains(node, search))
return true;
}
return false;
}
private void DFS_Search_AddUpdate(AiPromptbausteinTreeListVM search, ref List<AiPromptbausteinTreeVM> toAdd, ref List<AiPromptbausteinTreeVM> toUpdate)
{
foreach (var node in search.VMList)
{
if (node.IsNew)
{
toAdd.Add(node);
}
else
{
if (node.IsDirty)
toUpdate.Add(node);
if (node.HasChildren)
DFS_Search_AddUpdate(node.Children, ref toAdd, ref toUpdate);
}
}
}
private void DFS_Search_Delete(AiPromptbausteinTreeListVM search, ref List<AiPromptbausteinTreeDC> toDelete)
{
foreach(var node_dc in search.DCBackup)
{
if (search.VMList.FirstOrDefault(vm => vm.DataContract == node_dc) is AiPromptbausteinTreeVM node_vm)
{
if (node_vm.Children.DCBackup is object && node_vm.Children.DCBackup.Count > 0)
DFS_Search_Delete(node_vm.Children, ref toDelete);
}
else
{
toDelete.Add(node_dc);
}
}
}
}
}

View File

@@ -1,5 +1,4 @@
using BS.Shared.DataContracts;
using Dakota.Models;
using Dakota.Models;
using Dakota.Models.Auftragsdatei;
using Dakota.Models.Blocke;
using Dakota.Models.Infos;

View File

@@ -2817,56 +2817,6 @@ WHERE sc.Billable = 1 and sr.StartDate >= '{0:yyyy-MM-dd}' and sr.StartDate < '{
return criteria;
}
public IEnumerable<AiPromptbausteinTree> GetActiveRootAiPromptbausteine(AiActionType? aiActionType = null)
{
var criteria = CreateCriteriaIsActive<AiPromptbausteinTree>()
.Add(Restrictions.IsNull(nameof(AiPromptbausteinTree.ParentOid)));
if(aiActionType is AiActionType actionType)
{
criteria.Add(Restrictions.Eq(nameof(AiPromptbausteinTree.AiActionType), actionType));
}
return criteria.List<AiPromptbausteinTree>();
}
public IEnumerable<AiPromptbaustein> GetActiveAiPromptbausteine(bool shouldOnlyLoadOwnAiPromptbausteine, bool hasRightToSeeOther, bool isInAdministrationView, long employeeOid)
{
var criteria = CreateCriteriaIsActive<AiPromptbaustein>();
//if (isInAdministrationView)
//{
// criteria.Add(Restrictions.Eq(nameof(AiPromptbaustein.IsOnlyForEmployee), false));
//}
//else if (!hasRightToSeeAll)
//{
// criteria.Add(Restrictions.Eq(nameof(AiPromptbaustein.IsOnlyForEmployee), true))
// .Add(Restrictions.Eq(nameof(AiPromptbaustein.Employee) + "." + nameof(BeWoEntityBase.Oid), employeeOid));
//}
//else
//{
// criteria.Add(
// Restrictions.Or(
// Restrictions.And(
// Restrictions.Eq(nameof(AiPromptbaustein.IsOnlyForEmployee), true),
// Restrictions.Eq(nameof(AiPromptbaustein.Employee) + "." + nameof(BeWoEntityBase.Oid), employeeOid)),
// Restrictions.Eq(nameof(AiPromptbaustein.IsOnlyForEmployee), false)));
//}
return criteria.List<AiPromptbaustein>();
}
public IEnumerable<AiPromptbaustein> GetChildAiPromptbausteine(AiPromptbaustein aiPromptbaustein)
{
var criteria = CreateCriteria<AiPromptbaustein>();
criteria.Add(Restrictions.Eq(nameof(AiPromptbaustein.Parent), aiPromptbaustein));
return criteria.List<AiPromptbaustein>();
}
public IEnumerable<ChatBewoMessageSync> FindEmployeeChatBewoMessageSync(long oid)
{
var c = CreateCriteriaIsActive<ChatBewoMessageSync>()

View File

@@ -237,11 +237,9 @@
<Compile Include="Entities\AiConversation.cs" />
<Compile Include="Entities\AiConversationMessage.cs" />
<Compile Include="Entities\AiConfig.cs" />
<Compile Include="Entities\AiPromptbaustein.cs" />
<Compile Include="Entities\AiModel.cs" />
<Compile Include="Entities\AiPromptbausteinFolder.cs" />
<Compile Include="Entities\AiPromptbausteinPrompt.cs" />
<Compile Include="Entities\AiPromptbausteinTree.cs" />
<Compile Include="Entities\AiSetting.cs" />
<Compile Include="Entities\AbsenceTimeHistory.cs" />
<Compile Include="Entities\AiSettings.cs" />
@@ -862,12 +860,6 @@
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Mappings\Person2Team.hbm.xml" />
<EmbeddedResource Include="Mappings\AiPromptbaustein.hbm.xml">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Mappings\AiPromptbausteinTree.hbm.xml">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Mappings\AiPromptbausteinPrompt.hbm.xml" />
<EmbeddedResource Include="Mappings\AiPromptbausteinFolder.hbm.xml">
<SubType>Designer</SubType>

View File

@@ -1,21 +0,0 @@
using BS.Shared;
namespace BeWo.Data.Entities
{
public class AiPromptbaustein : BeWoEntityBase
{
public AiPromptbaustein()
{
_Tid = TableID.AiPromptbaustein;
}
public virtual string Text { get; set; }
public virtual int Position { get; set; }
public virtual string Name { get; set; }
public virtual Employee Employee { get; set; }
public virtual bool IsOnlyForEmployee { get; set; }
public virtual AiPromptbaustein Parent { get; set; }
public virtual bool IsParent { get; set; }
public virtual bool IsExpanded { get; set; }
}
}

View File

@@ -1,45 +0,0 @@
using System;
using System.Collections.Generic;
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.DataContracts.Compact;
using BS.Shared.DataContracts.Feature.AI;
using BS.Shared.Interface;
namespace BeWo.Data.Entities
{
public class AiPromptbausteinTree : BeWoEntityBase, IAiPromptbaustein
{
public AiPromptbausteinTree()
{
_Tid = TableID.AiPromptbausteinTree;
}
public virtual string Displayname { get; set; }
public virtual string Content { get; set; }
public virtual AiPromptbausteinType PromptbausteinType { get; set; }
public virtual string Metadata { get; set; }
public virtual AiActionType AiActionType { get; set; }
public virtual Employee Creator { get; set; }
public virtual bool IsOnlyForCreator { get; set; }
public virtual bool ShowUserPrompt { get; set; }
public virtual bool ShowUserPromptByTenant { get; set; }
public virtual int Position { get; set; }
public virtual bool IsExpanded { get; set; }
public virtual IList<AiPromptbausteinTree> Children { get; set; } = new List<AiPromptbausteinTree>();
public virtual long? ParentOid { get; set; }
}
}

View File

@@ -1,26 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="BeWo.Data.Entities.AiPromptbaustein,BeWo.Data" table="AiPromptbaustein">
<id name="Oid" column="Oid" type="Int64" unsaved-value="null">
<generator class="identity" />
</id>
<version type="Int64" column="Version" name="Version" />
<property column="Tid" type="BS.Shared.TableID, BS.Shared" name="_Tid" access="field" />
<property column="InsTs" type="DateTime" name="InsTs" />
<property column="InsUser" type="String" name="InsUser" length="256" />
<property column="IsActive" type="BS.Shared.ActivationTypeId, BS.Shared" name="IsActive" />
<property column="SystemEntryID" type="BS.Shared.SystemEntryID, BS.Shared" name="SystemEntryID" />
<property column="UdpUser" type="String" name="UdpUser" length="256" />
<property column="Notice" type="String" name="Notice" length="1024" />
<property column="Text" type="String" name="Text" length="1024" />
<property column="Position" name="Position" type="Int32" />
<property column="Name" type="String" name="Name" length="1024" />
<property column="IsOnlyForEmployee" type="Boolean" name="IsOnlyForEmployee" />
<property column="IsParent" type="Boolean" name="IsParent" />
<property column="IsExpanded" type="Boolean" name="IsExpanded" />
<many-to-one name="Employee" column="EmployeeOid" class="BeWo.Data.Entities.Employee, BeWo.Data" cascade="none" fetch="join" />
<many-to-one name="Parent" column="ParentOid" class="BeWo.Data.Entities.AiPromptbaustein, BeWo.Data" cascade="none" fetch="join" />
</class>
</hibernate-mapping>

View File

@@ -1,35 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="BeWo.Data.Entities.AiPromptbausteinTree,BeWo.Data" table="aipromptbausteintree">
<id name="Oid" column ="Oid" unsaved-value="null">
<generator class="identity" />
</id>
<version type="Int64" column="Version" name="Version" />
<property name="InsTs"/>
<property name="InsUser"/>
<property column="Tid" type="BS.Shared.TableID, BS.Shared" name="_Tid" access="field" />
<property name="UdpUser"/>
<property name="IsActive" type="BS.Shared.ActivationTypeId, BS.Shared" />
<property name="SystemEntryID" type="BS.Shared.SystemEntryID, BS.Shared" />
<property name="Notice"/>
<property name="Displayname"/>
<property name="Content"/>
<property name="PromptbausteinType" type="BS.Shared.AiPromptbausteinType, BS.Shared"/>
<property name="Metadata"/>
<property name="AiActionType" type="BS.Shared.AiActionType, BS.Shared"/>
<property name="IsOnlyForCreator"/>
<property name="ShowUserPrompt"/>
<property name="ShowUserPromptByTenant"/>
<property name="Position"/>
<property name="IsExpanded"/>
<property name="ParentOid"/>
<many-to-one name="Creator" column="CreatorOid" class="BeWo.Data.Entities.Employee,BeWo.Data" cascade="none" fetch="join"/>
<bag name="Children" table="aipromptbausteintree" generic="true" cascade="all-delete-orphan" batch-size="250" where="IsActive = 1">
<key column="ParentOid" />
<one-to-many class="BeWo.Data.Entities.AiPromptbausteinTree, BeWo.Data" />
</bag>
</class>
</hibernate-mapping>

View File

@@ -37,3 +37,6 @@ CREATE TABLE `aipromptbausteinfolder2usershare` (
CONSTRAINT `FK_AIPROMPTBAUSTEIN2USERSHARE_AIFOLDER` FOREIGN KEY (`AiPromptbausteinFolderOid`) REFERENCES `aipromptbausteinfolder` (`Oid`),
CONSTRAINT `FK_AIPROMPTBAUSTEIN2USERSHARE_APPUSER` FOREIGN KEY (`ApplicationUserOid`) REFERENCES `applicationuser` (`Oid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
DROP TABLE `AiPromptbausteinTree`;
DROP TABLE `AiPromptbaustein`;

View File

@@ -6,7 +6,6 @@ using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report.ReportObjects;
using BeWo.Report;
using BS.Shared.DataContracts;
using DevExpress.XtraReports.UI;
using BeWo.Service.DCEntityMapper;
using BS.Shared.Core;

View File

@@ -5,7 +5,6 @@ using AICore.Context.Summary.Function;
using AICore.Context.Summary.Navigation;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Compact;
using BS.Shared.DataContracts.Feature.AI.Functions.ServiceRecords;
using BS.Shared.Exceptions;
using System.Collections.Generic;

View File

@@ -1,54 +0,0 @@
using BS.Shared;
using BS.Shared.DataContracts.Feature.AI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeWo.Service.Core
{
public static class AiPromptbausteinTreeBuilder
{
public static IEnumerable<AiPromptbausteinTreeDC> GenerateTree(IEnumerable<AiPromptbausteinTreeDC> sub_roots)
{
var zeiterfassung = GetNodeByActionType(AiActionType.ServiceRecord);
zeiterfassung.Children.Add(GenerateSubtree(AiActionType.ServiceRecordConversation, sub_roots));
zeiterfassung.Children.Add(GenerateSubtree(AiActionType.ServiceRecordDocumentation, sub_roots));
return new AiPromptbausteinTreeDC[] { zeiterfassung };
}
public static AiPromptbausteinTreeDC GenerateSubtree(AiActionType actionType, IEnumerable<AiPromptbausteinTreeDC> sub_roots)
{
var node = GetNodeByActionType(actionType);
foreach (var sub_root in sub_roots)
{
if(sub_root.AiActionType == actionType)
{
node.Children.Add(sub_root);
}
}
return node;
}
private static AiPromptbausteinTreeDC GetNodeByActionType(AiActionType aiActionType)
{
switch (aiActionType)
{
case AiActionType.ServiceRecord:
return PredefinedAiPromptbausteine.CreateZeiterfassungRoot();
case AiActionType.ServiceRecordConversation:
return PredefinedAiPromptbausteine.CreateZeiterfassungConversationNode();
case AiActionType.ServiceRecordDocumentation:
return PredefinedAiPromptbausteine.CreateZeiterfassungDokuNode();
default:
break;
}
throw new NotImplementedException();
}
}
}

View File

@@ -1,7 +1,6 @@
using BeWo.Data;
using BeWo.Service.Attributes;
using BS.Shared;
using BS.Shared.DataContracts;
using System;
using System.Collections.Generic;
using System.IO;

View File

@@ -1,114 +0,0 @@
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BS.Shared.DataContracts;
using System.Collections.Generic;
namespace BeWo.Service.DCEntityMapper
{
public class AiPromptbausteinDC_AiPromptbaustein : AbstractIDCEntityMapper<AiPromptbaustein, AiPromptbausteinDC>
{
public IList<AiPromptbausteinDC> CreateDcList(IEnumerable<AiPromptbaustein> aiPromptbausteine)
{
var list = new List<AiPromptbausteinDC>();
Dictionary<long, IList<long>> parentChildDict = new Dictionary<long, IList<long>>();
foreach (var aiPromptbaustein in aiPromptbausteine)
{
var dc = CreateAiPromptbausteinDC(aiPromptbaustein, parentChildDict);
list.Add(dc);
}
return list;
}
private AiPromptbausteinDC CreateAiPromptbausteinDC(AiPromptbaustein tm, Dictionary<long, IList<long>> parentChildDict)
{
var dc = new AiPromptbausteinDC();
dc.Position = tm.Position;
dc.Version = tm.Version.Value;
dc.Oid = tm.Oid.Value;
dc.Text = tm.Text;
dc.Name = tm.Name;
dc.IsOnlyForEmployee = tm.IsOnlyForEmployee;
dc.IsParent = tm.IsParent;
dc.IsExpanded = tm.IsExpanded;
dc.ActivationType = tm.IsActive;
dc.Employee = tm.Employee != null ? MapperFactory.CompactEmployeeDC_Employee.MapToNewDC(tm.Employee) : null;
if (tm.Parent != null)
{
// Endlosschleifen vermeiden: Parent eines Bausteins darf nicht gleichzeitig Kind des gleichen Bausteins sein
if (!parentChildDict.ContainsKey(tm.Parent.Oid.Value))
{
parentChildDict.Add(tm.Parent.Oid.Value, new List<long>());
}
parentChildDict[tm.Parent.Oid.Value].Add(tm.Oid.Value);
bool addParent = true;
if (parentChildDict.ContainsKey(tm.Oid.Value))
{
var childOids = parentChildDict[tm.Oid.Value];
if (childOids.Contains(tm.Parent.Oid.Value))
{
addParent = false;
}
}
if (addParent && tm.Parent.IsActive != BS.Shared.ActivationTypeId.Deleted)
{
dc.Parent = CreateAiPromptbausteinDC(tm.Parent, parentChildDict);
}
}
return dc;
}
public override AiPromptbausteinDC MergeWithDC(AiPromptbaustein entity, AiPromptbausteinDC dataContract)
{
dataContract.Position = entity.Position;
dataContract.Version = entity.Version.Value;
dataContract.Oid = entity.Oid.Value;
dataContract.Text = entity.Text;
dataContract.Name = entity.Name;
dataContract.IsOnlyForEmployee = entity.IsOnlyForEmployee;
dataContract.ActivationType = entity.IsActive;
dataContract.IsParent = entity.IsParent;
if (entity.Employee != null)
dataContract.Employee = MapperFactory.CompactEmployeeDC_Employee.MapToNewDC(entity.Employee);
if (entity.Parent != null)
dataContract.Parent = MapperFactory.AiPromptbausteinDC_AiPromptbaustein.MapToNewDC(entity.Parent);
return dataContract;
}
public override AiPromptbaustein MergeWithEntity(AiPromptbausteinDC dataContract, AiPromptbaustein entity)
{
ConcurrencyCheck(dataContract.Version, entity);
entity.Position = dataContract.Position;
entity.Oid = dataContract.Oid;
entity.Text = dataContract.Text;
entity.Name = dataContract.Name;
entity.IsOnlyForEmployee = dataContract.IsOnlyForEmployee;
entity.IsActive = dataContract.ActivationType;
entity.IsParent = dataContract.IsParent;
if (dataContract.Employee != null)
entity.Employee = DAOFactory.GenericDAO.LoadByID<Employee>(dataContract.Employee.EmployeeOid);
if (dataContract.Parent != null)
entity.Parent = DAOFactory.GenericDAO.LoadByID<AiPromptbaustein>(dataContract.Parent.Oid.Value);
return entity;
}
protected override bool AreDCAndEntityEqual(AiPromptbausteinDC dc, AiPromptbaustein entity)
{
return dc.Oid == entity.Oid;
}
}
}

View File

@@ -6,7 +6,6 @@ using BeWo.Data.Entities;
using BeWo.Service.ServiceImplementations;
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Feature.AI;
namespace BeWo.Service.DCEntityMapper

View File

@@ -7,7 +7,7 @@ using BeWo.Data.Security;
using BeWo.Service.ServiceImplementations;
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Feature.AI;
namespace BeWo.Service.DCEntityMapper
{

View File

@@ -1,50 +0,0 @@
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BS.Shared.DataContracts.Feature.AI;
namespace BeWo.Service.DCEntityMapper
{
public class AiPromptbausteinTreeDC_AiPromptbaustein : AbstractIDCEntityMapper<AiPromptbaustein, AiPromptbausteinTreeDC>
{
public override AiPromptbausteinTreeDC MergeWithDC(AiPromptbaustein from, AiPromptbausteinTreeDC to)
{
//dataContract.Position = entity.Position;
to.Version = from.Version.Value;
to.Oid = from.Oid.Value;
to.Content = from.Text;
to.Displayname = from.Name;
//dataContract.IsOnlyForEmployee = entity.IsOnlyForEmployee;
//to.ActivationType = from.IsActive;
if (from.Employee != null)
to.Creator = MapperFactory.CompactEmployeeDC_Employee.MapToNewDC(from.Employee);
return to;
}
public override AiPromptbaustein MergeWithEntity(AiPromptbausteinTreeDC from, AiPromptbaustein to)
{
ConcurrencyCheck(from.Version, to);
//entity.Position = dataContract.Position;
to.Oid = from.Oid;
to.Text = from.Content;
to.Name = from.Displayname;
//to.IsOnlyForEmployee = from.IsOnlyForEmployee;
//to.IsActive = from.ActivationType;
if (from.Creator != null)
{
to.Employee = DAOFactory.GenericDAO.LoadByID<Employee>(from.Creator.EmployeeOid);
}
return to;
}
protected override bool AreDCAndEntityEqual(AiPromptbausteinTreeDC dc, AiPromptbaustein entity)
{
return dc.Oid == entity.Oid;
}
}
}

View File

@@ -1,68 +0,0 @@
using System.Collections.Generic;
using System.Linq;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Feature.AI;
namespace BeWo.Service.DCEntityMapper
{
public class AiPromptbausteinTreeDC_AiPromptbausteinTree : BeWoDataContract_BeWoEntityBase<AiPromptbausteinTree, AiPromptbausteinTreeDC>
{
public override AiPromptbausteinTreeDC MergeWithDC(AiPromptbausteinTree pEntity, AiPromptbausteinTreeDC pDataContract)
{
base.MergeWithDC(pEntity, pDataContract);
pDataContract.Displayname = pEntity.Displayname;
pDataContract.Content = pEntity.Content;
pDataContract.PromptbausteinType = pEntity.PromptbausteinType;
pDataContract.Metadata = pEntity.Metadata;
pDataContract.AiActionType = pEntity.AiActionType;
pDataContract.IsOnlyForCreator = pEntity.IsOnlyForCreator;
pDataContract.ShowUserPrompt = pEntity.ShowUserPrompt;
pDataContract.ShowUserPromptByTenant = pEntity.ShowUserPromptByTenant;
pDataContract.Position = pEntity.Position;
pDataContract.IsExpanded = pEntity.IsExpanded;
pDataContract.ParentOid = pEntity.ParentOid;
if (pEntity.Creator is object)
pDataContract.Creator = MapperFactory.CompactEmployeeDC_Employee.MapToNewDC(pEntity.Creator);
if(pEntity.Children is object)
pDataContract.Children = MapperFactory.AiPromptbausteinTreeTree.MapToNewDCs(pEntity.Children);
else
pDataContract.Children = new List<AiPromptbausteinTreeDC>();
return pDataContract;
}
public override AiPromptbausteinTree MergeWithEntity(AiPromptbausteinTreeDC pDataContract, AiPromptbausteinTree pEntity)
{
base.MergeWithDC(pEntity, pDataContract);
pEntity.Displayname = pDataContract.Displayname;
pEntity.Content = pDataContract.Content;
pEntity.PromptbausteinType = pDataContract.PromptbausteinType;
//pEntity.Metadata = pDataContract.Metadata;
pEntity.AiActionType = pDataContract.AiActionType;
pEntity.IsOnlyForCreator = pDataContract.IsOnlyForCreator;
//pEntity.ShowUserPrompt = pDataContract.ShowUserPrompt;
pEntity.ShowUserPromptByTenant = pDataContract.ShowUserPromptByTenant;
pEntity.Position = pDataContract.Position;
//pEntity.IsExpanded = pDataContract.IsExpanded;
if(pDataContract.ParentOid >= 0)
pEntity.ParentOid = pDataContract.ParentOid;
MapperFactory.AiPromptbausteinTreeTree.MergeWithEntitys(pDataContract.Children, pEntity.Children);
if (pDataContract.Creator != null)
pEntity.Creator = DAOFactory.GenericDAO.LoadByID<Employee>(pDataContract.Creator.EmployeeOid);
return pEntity;
}
}
}

View File

@@ -1,7 +1,6 @@
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Feature.AI;
using System;
using System.Collections.Generic;
using System.Linq;

View File

@@ -263,8 +263,6 @@ namespace BeWo.Service.DCEntityMapper
private static TextbausteinDC_Textbaustein _TextbausteinDC_Textbaustein;
private static AiPromptbausteinDC_AiPromptbaustein _AiPromptbausteinDC_AiPromptbaustein;
private static BargeldtransaktionDC_Bargeldtransaktion _BargeldtransaktionDC_Bargeldtransaktion;
private static BargeldkassenDC_Bargeldkasse _bargeldkassenDCBargeldkasseDCBargeldkassenDCBargeldkasse;
@@ -361,9 +359,6 @@ namespace BeWo.Service.DCEntityMapper
public static TextbausteinDC_Textbaustein TextbausteinDC_Textbaustein =>
_TextbausteinDC_Textbaustein ?? (_TextbausteinDC_Textbaustein = new TextbausteinDC_Textbaustein());
public static AiPromptbausteinDC_AiPromptbaustein AiPromptbausteinDC_AiPromptbaustein =>
_AiPromptbausteinDC_AiPromptbaustein ?? (_AiPromptbausteinDC_AiPromptbaustein = new AiPromptbausteinDC_AiPromptbaustein());
public static DepotRhythmusDC_DepotRhythmus DepotRhythmusDC_DepotRhythmus =>
_DepotRhythmusDC_DepotRhythmus ?? (_DepotRhythmusDC_DepotRhythmus = new DepotRhythmusDC_DepotRhythmus());
@@ -817,10 +812,8 @@ namespace BeWo.Service.DCEntityMapper
public static AiConversationMessageDC_AiConversationMessage AiConversationMessage { get; } = new AiConversationMessageDC_AiConversationMessage();
public static AiModelDC_AiModel AiModel { get; } = new AiModelDC_AiModel();
public static AiConfigDC_AiConfig AiConfig { get; } = new AiConfigDC_AiConfig();
public static AiPromptbausteinTreeDC_AiPromptbaustein AiPromptbausteinTree { get; } = new AiPromptbausteinTreeDC_AiPromptbaustein();
public static AiPromptbausteinFolderDC_AiPromptbausteinFolder AiPromptbausteinFolder { get; } = new AiPromptbausteinFolderDC_AiPromptbausteinFolder();
public static AiPromptbausteinPromptDC_AiPromptbausteinPrompt AiPromptbausteinPrompt { get; } = new AiPromptbausteinPromptDC_AiPromptbausteinPrompt();
public static AiPromptbausteinTreeDC_AiPromptbausteinTree AiPromptbausteinTreeTree { get; } = new AiPromptbausteinTreeDC_AiPromptbausteinTree();
public static AddressDC_Address Address { get; } = new AddressDC_Address();
public static GkvAbrechnungLightDC_GkvAbrechnungLight GkvAbrechnungLight { get; } = new GkvAbrechnungLightDC_GkvAbrechnungLight();
public static GkvTransferProtokollLightDC_GkvTransferprotokollLight GkvTransferprotokollLight { get; } = new GkvTransferProtokollLightDC_GkvTransferprotokollLight();

View File

@@ -3,7 +3,6 @@ using BeWo.Data.Entities;
using BeWo.Service.ServiceProxy;
using BeWo.Service.ServiceUtils;
using BS.Shared;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Feature.AI;
using BS.Shared.DataContracts.Feature.AI.Functions.ServiceRecords;
using DevExpress.DataAccess.Native.Web;

View File

@@ -4,7 +4,6 @@ using BeWo.Data.Utils;
using BeWo.Service.Core;
using BeWo.Service.DCEntityMapper;
using BS.Shared;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Feature.AI;
using BS.Shared.Extensions;
using System;
@@ -20,134 +19,6 @@ namespace BeWo.Service.Plugins
{
public class AiPromptbausteineService
{
public IEnumerable<AiPromptbausteinTreeDC> GetAiPromptbausteineSubTree(AiActionType aiActionType)
{
if (aiActionType == AiActionType.ServiceRecord)
throw new ArgumentException("AiActionType nicht implementiert", nameof(aiActionType));
var sub_roots = DAOFactory.SearchDAO.GetActiveRootAiPromptbausteine(aiActionType);
var sub_roots_dcs = MapperFactory.AiPromptbausteinTreeTree.MapToNewDCs(sub_roots);
var root = AiPromptbausteinTreeBuilder.GenerateSubtree(aiActionType, sub_roots_dcs);
return new List<AiPromptbausteinTreeDC> { root };
}
public IEnumerable<AiPromptbausteinDC> GetAiPromptbausteine()
{
var allAiPromptbausteine = DAOFactory.GenericDAO.GetAll<AiPromptbaustein>();
var dcs = MapperFactory.AiPromptbausteinDC_AiPromptbaustein.CreateDcList(allAiPromptbausteine);
return dcs;
}
public IEnumerable<AiPromptbausteinTreeDC> GetAiPromptbausteineTree()
{
var sub_roots = DAOFactory.SearchDAO.GetActiveRootAiPromptbausteine();
var sub_roots_dcs = MapperFactory.AiPromptbausteinTreeTree.MapToNewDCs(sub_roots);
var roots = AiPromptbausteinTreeBuilder.GenerateTree(sub_roots_dcs);
return roots;
}
public IEnumerable<AiPromptbausteinTreeDC> CreateAiPromptbausteineTree(IEnumerable<AiPromptbausteinTreeDC> aiPromptbausteinDCs)
{
var aiPromptbausteine = MapperFactory.AiPromptbausteinTreeTree.MapToNewEntities(aiPromptbausteinDCs);
DAOFactory.GenericDAO.Insert(aiPromptbausteine);
// Solange wie Return Objekt nicht vom Client verarbeitet wird
return null;
var dcs = MapperFactory.AiPromptbausteinTreeTree.MapToNewDCs(aiPromptbausteine);
return dcs;
}
public IEnumerable<AiPromptbausteinDC> CreateAiPromptbausteine(IEnumerable<AiPromptbausteinDC> aiPromptbausteinDCs)
{
var aiPromptbausteine = MapperFactory.AiPromptbausteinDC_AiPromptbaustein.MapToNewEntities(aiPromptbausteinDCs);
DAOFactory.GenericDAO.Insert(aiPromptbausteine);
var dcs = MapperFactory.AiPromptbausteinDC_AiPromptbaustein.MapToNewDCs(aiPromptbausteine);
return dcs;
}
public Dictionary<long, long> UpdateAiPromptbausteineTree(IEnumerable<AiPromptbausteinTreeDC> aiPromptbausteinDCs)
{
var originale = DAOFactory.GenericDAO.LoadByIDs<AiPromptbausteinTree>(aiPromptbausteinDCs.Select(sc => sc.Oid.Value));
var aiPromptbausteinDCs2 = aiPromptbausteinDCs.ToList();
MapperFactory.AiPromptbausteinTreeTree.MergeWithEntitys(aiPromptbausteinDCs2, originale);
DAOFactory.GenericDAO.Update(originale);
// Solange wie Return Objekt nicht vom Client verarbeitet wird
return null;
return originale.ToOidVersionDictionary();
}
public Dictionary<long, long> UpdateAiPromptbausteine(IEnumerable<AiPromptbausteinDC> aiPromptbausteinDCs)
{
var aiPromptbausteine = MapperFactory.AiPromptbausteinDC_AiPromptbaustein.MapToNewEntities(aiPromptbausteinDCs);
/*
var originale = DAOFactory.GenericDAO.LoadByIDs<AiPromptbaustein>(aiPromptbausteinDCs.Select(sc => sc.Oid.Value));
foreach (var item in aiPromptbausteinDCs)
{
item.ActivationType = ActivationTypeId.Active;
}
MapperFactory.AiPromptbausteinTree.MergeWithEntitys(aiPromptbausteinDCs, originale);
*/
DAOFactory.GenericDAO.Update(aiPromptbausteine);
// todo: dictionary erstellen
throw new System.NotImplementedException();
}
public void DeleteAiPromptbausteineTree(Dictionary<long, long> oid2version)
{
var originale = DAOFactory.GenericDAO.LoadByIDs<AiPromptbausteinTree>(oid2version.Select(e => e.Key));
originale.DoForEach(or => MapperFactory.AiPromptbausteinTreeTree.ConcurrencyCheck(oid2version[or.Oid.Value], or));
DAOFactory.GenericDAO.SetActivationType(originale, BS.Shared.ActivationTypeId.Deleted);
}
public void DeleteAiPromptbausteine(Dictionary<long, long> oid2version)
{
try
{
var originale = DAOFactory.GenericDAO.LoadByIDs<AiPromptbaustein>(oid2version.Select(e => e.Key));
originale.DoForEach(or => MapperFactory.AiPromptbausteinDC_AiPromptbaustein.ConcurrencyCheck(oid2version[or.Oid.Value], or));
IList<AiPromptbaustein> toBeDeleted = new List<AiPromptbaustein>();
foreach (var aiPromptbaustein in originale)
{
AddAiPromptbausteinAndChildsToList(aiPromptbaustein, toBeDeleted);
}
DAOFactory.GenericDAO.Delete(toBeDeleted);
}
catch (Exception e)
{
throw Utils.CreateBeWoFaultException(e);
}
}
private void AddAiPromptbausteinAndChildsToList(AiPromptbaustein aiPromptbaustein, IList<AiPromptbaustein> aiPromptbausteinListe)
{
var children = DAOFactory.SearchDAO.GetChildAiPromptbausteine(aiPromptbaustein);
foreach (var child in children)
{
AddAiPromptbausteinAndChildsToList(child, aiPromptbausteinListe);
}
aiPromptbausteinListe.Add(aiPromptbaustein);
}
public IEnumerable<AiPromptbausteinFolderDC> GetAiPromptbausteinFolder(AiActionType aiActionType)
{
var own_bib = PredefinedAiPromptbausteinFolders.CreateOwnBibNode(aiActionType);

View File

@@ -19,7 +19,6 @@ using BeWo.Service.ServiceProxy;
using BeWo.Service.ServiceUtils;
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Feature.AI;
using BS.Shared.Exceptions;
using BS.Shared.Extensions;

View File

@@ -12,7 +12,6 @@ using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Service.Attributes;
using BeWo.Service.Core;
using BS.Shared.DataContracts;
using BS.Shared.Extensions;
using DevExpress.Charts.Native;

View File

@@ -224,7 +224,6 @@
<ItemGroup>
<Compile Include="Attributes\RequireWcfAuthorizationAttribute.cs" />
<Compile Include="Attributes\RequireApiAuthorizationAttribute.cs" />
<Compile Include="Core\AiPromptbausteinTreeBuilder.cs" />
<Compile Include="Core\ConfigReader.cs" />
<Compile Include="Core\DiamantExporter.cs" />
<Compile Include="Core\ExcelDownload.cs" />
@@ -244,8 +243,6 @@
<Compile Include="DCEntityMapper\AiModelDC_AiModel.cs" />
<Compile Include="DCEntityMapper\AiPromptbausteinFolderDC_AiPromptbausteinFolder.cs" />
<Compile Include="DCEntityMapper\AiPromptbausteinPromptDC_AiPromptbausteinPrompt.cs" />
<Compile Include="DCEntityMapper\AiPromptbausteinTreeDC_AiPromptbaustein.cs" />
<Compile Include="DCEntityMapper\AiPromptbausteinTreeDC_AiPromptbausteinTree.cs" />
<Compile Include="DCEntityMapper\BankAccountDC_BankAccount.cs" />
<Compile Include="DCEntityMapper\BargeldtransaktionshistoryDC_Bargeldtransaktionshistory.cs" />
<Compile Include="DCEntityMapper\BeWoDataContract_BeWoEntityBase.cs" />
@@ -352,7 +349,6 @@
<Compile Include="DCEntityMapper\QuittierungsCheckDC_QuittierungsCheck.cs" />
<Compile Include="DCEntityMapper\RatingDC_Rating.cs" />
<Compile Include="DCEntityMapper\StoredFileDC_StoredFile.cs" />
<Compile Include="DCEntityMapper\AiPromptbausteinDC_AiPromptbaustein.cs" />
<Compile Include="DCEntityMapper\TextbausteinDC_Textbaustein.cs" />
<Compile Include="DCEntityMapper\TokenDC_Token.cs" />
<Compile Include="DCEntityMapper\VertretungsListeDC_VertretungsListe.cs" />

View File

@@ -2,8 +2,6 @@
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Feature.AI;
using BS.Shared.DataContracts.Invoicing.XRechnung;
using System;
using System.Collections.Generic;
using System.Linq;

View File

@@ -2,7 +2,6 @@
using BeWo.Service.Attributes;
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Feature.AI;
using BS.Shared.DataContracts.Feature.AI.Functions.ServiceRecords;
using System;
@@ -67,51 +66,6 @@ namespace BeWo.Service.ServiceContracts.Enhanced
[RequireWcfAuthorization(UserRightType.AiModuleChatAdd)]
AiConversationMessageDC[] SendNewMessage(long conversation, string message);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
[RequireWcfAuthorization(UserRightType.AiModulePromptbausteineView)]
IEnumerable<AiPromptbausteinTreeDC> GetAiPromptbausteineSubTree(AiActionType aiActionType);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
[RequireWcfAuthorization(UserRightType.AiModulePromptbausteineView)]
IEnumerable<AiPromptbausteinTreeDC> GetAiPromptbausteineTree();
[FaultContract(typeof(BeWoFault))]
[OperationContract]
[RequireWcfAuthorization(UserRightType.AiModulePromptbausteineAdd)]
IEnumerable<AiPromptbausteinTreeDC> CreateAiPromptbausteineTree(IEnumerable<AiPromptbausteinTreeDC> aiPromptbausteinDC);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
[RequireWcfAuthorization(UserRightType.AiModulePromptbausteineEdit)]
Dictionary<long, long> UpdateAiPromptbausteineTree(IEnumerable<AiPromptbausteinTreeDC> aiPromptbausteinDCs);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
[RequireWcfAuthorization(UserRightType.AiModulePromptbausteineRemove)]
void DeleteAiPromptbausteineTree(Dictionary<long, long> oid2version);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
[RequireWcfAuthorization(UserRightType.AiModulePromptbausteineView)]
IEnumerable<AiPromptbausteinDC> GetAiPromptbausteine();
[FaultContract(typeof(BeWoFault))]
[OperationContract]
[RequireWcfAuthorization(UserRightType.AiModulePromptbausteineAdd)]
IEnumerable<AiPromptbausteinDC> CreateAiPromptbausteine(IEnumerable<AiPromptbausteinDC> aiPromptbausteinDC);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
[RequireWcfAuthorization(UserRightType.AiModulePromptbausteineEdit)]
Dictionary<long, long> UpdateAiPromptbausteine(IEnumerable<AiPromptbausteinDC> aiPromptbausteinDCs);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
[RequireWcfAuthorization(UserRightType.AiModulePromptbausteineRemove)]
void DeleteAiPromptbausteine(Dictionary<long, long> oid2version);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
[RequireWcfAuthorization(UserRightType.AiModulePromptbausteineView)]

View File

@@ -1,8 +1,6 @@
using BeWo.Data.Entities;
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Feature.AI;
using System;
using System.Collections.Generic;
using System.Linq;

View File

@@ -4,9 +4,6 @@ using System.ServiceModel;
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.GkvAbrechnung;
using BS.Shared.DataContracts.Invoicing.XRechnung;
using BS.Shared.DataContracts.Reports;
namespace BeWo.Service.ServiceContracts
{

View File

@@ -1,5 +1,4 @@
using BS.Shared.DataContracts.AdminService;
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;

View File

@@ -555,30 +555,6 @@ namespace BeWo.Service.ServiceContracts
[OperationContract]
IList<TextModuleDC> GetTextModulesByServiceCategory(long pServiceCategoryOid);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
IList<TextModuleDC> GetAllAiPromptbausteine();
[FaultContract(typeof(BeWoFault))]
[OperationContract]
IList<TextModuleDC> GetAiPromptbausteine(bool shouldShowAllAiPromptbausteine, long employeeOid, bool hasRightToSeeAllAiPromptbausteine, bool isInAdministrationView);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
IList<TextModuleDC> GetAiPromptbausteineForSelectedSupportConcept(bool shouldShowAllAiPromptbausteine, long employeeOid, bool hasRightToSeeAllAiPromptbausteine, bool isInAdministrationView, long? cb2scOid);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
IList<long> InsertNewAiPromptbausteine(IEnumerable<TextModuleDC> aiPromptbausteine);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
void UpdateAiPromptbausteine(List<TextModuleDC> aiPrompotBausteine);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
void DeleteAiPromptbausteine(Dictionary<long, long> oid2Version);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
IList<ServiceRecordDC> FindServiceRecordsInSpan(long pCostBearer2SupportConceptOid, DateTimeSpan period);

View File

@@ -26,7 +26,6 @@ using BS.Shared.Extensions;
using BS.Shared.Exceptions;
using BS.Shared.AppSender;
using BeWo.Data.Security;
using BS.Shared.DataContracts.Invoicing.XRechnung;
using System.IO;
namespace BeWo.Service.ServiceImplementations

View File

@@ -2,7 +2,6 @@
using BeWo.Service.Core;
using BeWo.Service.ServiceContracts;
using BS.Shared.Core;
using BS.Shared.DataContracts.AdminService;
using DevExpress.Pdf.Native.BouncyCastle.Ocsp;
using Newtonsoft.Json;
using System;

View File

@@ -6,8 +6,6 @@ using BeWo.Service.Plugins;
using BeWo.Service.ServiceContracts.Enhanced;
using BS.Shared;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Feature.AI;
using BS.Shared.DataContracts.Invoicing.XRechnung;
using DevExpress.CodeParser;
using DevExpress.Entity.Model.Metadata;
using DevExpress.XtraRichEdit.Model;

View File

@@ -4,7 +4,6 @@ using BeWo.Data.Security;
using BeWo.Service.Plugins;
using BeWo.Service.ServiceContracts.Enhanced;
using BS.Shared;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Feature.AI;
using BS.Shared.DataContracts.Feature.AI.Functions.ServiceRecords;
using System;
@@ -54,33 +53,6 @@ namespace BeWo.Service.ServiceImplementations.Enhanced
#endregion
#region Promptbausteine
public IEnumerable<AiPromptbausteinTreeDC> GetAiPromptbausteineSubTree(AiActionType aiActionType)
=> GetAiPromptbausteineService().GetAiPromptbausteineSubTree(aiActionType);
public IEnumerable<AiPromptbausteinTreeDC> GetAiPromptbausteineTree()
=> GetAiPromptbausteineService().GetAiPromptbausteineTree();
public IEnumerable<AiPromptbausteinTreeDC> CreateAiPromptbausteineTree(IEnumerable<AiPromptbausteinTreeDC> aiPromptbausteinDC)
=> GetAiPromptbausteineService().CreateAiPromptbausteineTree(aiPromptbausteinDC);
public Dictionary<long, long> UpdateAiPromptbausteineTree(IEnumerable<AiPromptbausteinTreeDC> aiPromptbausteinDCs)
=> GetAiPromptbausteineService().UpdateAiPromptbausteineTree(aiPromptbausteinDCs);
public void DeleteAiPromptbausteineTree(Dictionary<long, long> oid2version)
=> GetAiPromptbausteineService().DeleteAiPromptbausteineTree(oid2version);
public IEnumerable<AiPromptbausteinDC> GetAiPromptbausteine()
=> GetAiPromptbausteineService().GetAiPromptbausteine();
public IEnumerable<AiPromptbausteinDC> CreateAiPromptbausteine(IEnumerable<AiPromptbausteinDC> aiPromptbausteinDCs)
=> GetAiPromptbausteineService().CreateAiPromptbausteine(aiPromptbausteinDCs);
public Dictionary<long, long> UpdateAiPromptbausteine(IEnumerable<AiPromptbausteinDC> aiPromptbausteinDCs)
=> GetAiPromptbausteineService().UpdateAiPromptbausteine(aiPromptbausteinDCs);
public void DeleteAiPromptbausteine(Dictionary<long, long> oid2version)
=> GetAiPromptbausteineService().DeleteAiPromptbausteine(oid2version);
public IEnumerable<AiPromptbausteinFolderDC> GetAiPromptbausteinFolder(AiActionType aiActionType)
=> GetAiPromptbausteineService().GetAiPromptbausteinFolder(aiActionType);

View File

@@ -3525,122 +3525,6 @@ namespace BeWo.Service.ServiceImplementations
modulesToDelete.Add(textModule);
}
public IList<TextModuleDC> GetAllAiPromptbausteine()
{
try
{
var allAiPromptbausteine = DAOFactory.GenericDAO.GetAll<AiPromptbaustein>();
return null; // MapperFactory.AiPromptbausteinDC_AiPromptbaustein.CreateDcList(allAiPromptbausteine);
}
catch (Exception e)
{
throw Utils.CreateBeWoFaultException(e);
}
}
public IList<AiPromptbausteinDC> GetAiPromptbausteineForSelectedSupportConcept(bool shouldShowAllAiPromptbausteine, long employeeOid, bool hasRightToSeeAllAiPromptbausteine, bool isInAdministrationView, long? cb2scOid)
{
try
{
var s = PluginLoader.FindClass<OperationService>();
return null; // s.GetAiPromptbausteineForSelectedSupportConcept(shouldShowAllAiPromptbausteine, employeeOid, hasRightToSeeAllAiPromptbausteine, isInAdministrationView, cb2scOid);
}
catch (Exception e)
{
throw Utils.CreateBeWoFaultException(e);
}
}
public IList<AiPromptbausteinDC> GetAiPromptbausteine(bool shouldShowAllAiPromptbausteine, long employeeOid, bool hasRightToSeeAllAiPromptbausteine, bool isInAdministrationView)
{
try
{
var s = PluginLoader.FindClass<OperationService>();
return null; // s.GetAiPromptbausteine(shouldShowAllAiPromptbausteine, employeeOid, hasRightToSeeAllAiPromptbausteine, isInAdministrationView);
}
catch (Exception e)
{
throw Utils.CreateBeWoFaultException(e);
}
}
public IList<long> InsertNewAiPromptbausteine(IEnumerable<AiPromptbausteinDC> aiPromptbausteinDCs)
{
try
{
var aiPromptbausteine = MapperFactory.AiPromptbausteinDC_AiPromptbaustein.MapToNewEntities(aiPromptbausteinDCs);
foreach (var tm in aiPromptbausteine)
{
tm.IsActive = ActivationTypeId.Active;
}
DAOFactory.GenericDAO.Insert(aiPromptbausteine);
return aiPromptbausteine.Select(asb => asb.Oid.Value).ToList();
}
catch (Exception e)
{
throw Utils.CreateBeWoFaultException(e);
}
}
public void UpdateAiPromptbausteine(List<AiPromptbausteinDC> pTextbausteine)
{
try
{
var lOriginals = DAOFactory.GenericDAO.LoadByIDs<AiPromptbaustein>(pTextbausteine.Select(sc => sc.Oid.Value));
foreach (var item in pTextbausteine)
{
item.ActivationType = ActivationTypeId.Active;
}
MapperFactory.AiPromptbausteinDC_AiPromptbaustein.MergeWithEntitys(pTextbausteine, lOriginals);
DAOFactory.GenericDAO.Update(lOriginals);
}
catch (Exception e)
{
throw Utils.CreateBeWoFaultException(e);
}
}
public void DeleteAiPromptbausteine(Dictionary<long, long> pOid2Version)
{
try
{
var lOriginals = DAOFactory.GenericDAO.LoadByIDs<AiPromptbaustein>(pOid2Version.Select(e => e.Key));
lOriginals.DoForEach(or => MapperFactory.AiPromptbausteinDC_AiPromptbaustein.ConcurrencyCheck(pOid2Version[or.Oid.Value], or));
IList<AiPromptbaustein> modulesToDelete = new List<AiPromptbaustein>();
foreach (var aiPromptbaustein in lOriginals)
{
AddAiPromptbausteinAndChildsToList(aiPromptbaustein, modulesToDelete);
}
DAOFactory.GenericDAO.Delete(modulesToDelete);
}
catch (Exception e)
{
throw Utils.CreateBeWoFaultException(e);
}
}
private void AddAiPromptbausteinAndChildsToList(AiPromptbaustein aiPromptbaustein, IList<AiPromptbaustein> aiPromptbausteineToDelete)
{
var children = DAOFactory.SearchDAO.GetChildAiPromptbausteine(aiPromptbaustein);
foreach (var child in children)
{
AddAiPromptbausteinAndChildsToList(child, aiPromptbausteineToDelete);
}
aiPromptbausteineToDelete.Add(aiPromptbaustein);
}
public IList<ServiceRecordDC> FindServiceRecordsInSpan(long pCostBearer2SupportConceptOid, DateTimeSpan period)
{
try
@@ -9147,25 +9031,5 @@ namespace BeWo.Service.ServiceImplementations
throw Utils.CreateBeWoFaultException(e);
}
}
IList<TextModuleDC> IOperationsService.GetAiPromptbausteine(bool shouldShowAllAiPromptbausteine, long employeeOid, bool hasRightToSeeAllAiPromptbausteine, bool isInAdministrationView)
{
throw new NotImplementedException();
}
IList<TextModuleDC> IOperationsService.GetAiPromptbausteineForSelectedSupportConcept(bool shouldShowAllAiPromptbausteine, long employeeOid, bool hasRightToSeeAllAiPromptbausteine, bool isInAdministrationView, long? cb2scOid)
{
throw new NotImplementedException();
}
IList<long> IOperationsService.InsertNewAiPromptbausteine(IEnumerable<TextModuleDC> aiPromptbausteine)
{
throw new NotImplementedException();
}
void IOperationsService.UpdateAiPromptbausteine(List<TextModuleDC> aiPrompotBausteine)
{
throw new NotImplementedException();
}
}
}

View File

@@ -3,8 +3,6 @@ using BeWo.Service.Core;
using BS.Shared.Core;
using BS.Shared.Core.Facade;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Feature.AI;
using BS.Shared.DataContracts.Invoicing.XRechnung;
using DevExpress.XtraRichEdit.Model;
using Newtonsoft.Json;
using System;

View File

@@ -2,8 +2,6 @@
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BS.Shared;
using BS.Shared.DataContracts.Compact;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Feature.AI.Functions.ServiceRecords;
using System;
using System.Collections.Generic;

View File

@@ -1,6 +1,5 @@
using BeWo.Data.Entities;
using BeWo.Service.Core;
using BS.Shared.DataContracts;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;

View File

@@ -192,8 +192,8 @@ namespace BS.Shared
AiConfig = 182,
StoredFile = 183,
Person2Team = 184,
AiPromptbaustein = 185,
AiPromptbausteinTree = 186,
//AiPromptbaustein = 185,
//AiPromptbausteinTree = 186,
AiPromptbausteinPrompt = 187,
AiPromptbausteinFolder = 188
}

View File

@@ -1,43 +0,0 @@
using System.Runtime.Serialization;
using BS.Shared.DataContracts.Compact;
namespace BS.Shared.DataContracts
{
[DataContract]
public partial class AiPromptbausteinDC : IDataContract
{
[DataMember]
public ActivationTypeId ActivationType { get; set; }
[DataMember]
public long? Oid { get; set; }
[DataMember]
public long? Version { get; set; }
[DataMember]
public string Text { get; set; }
[DataMember]
public int Position { get; set; }
[DataMember]
public string Name { get; set; }
[DataMember]
public CompactEmployeeDC Employee { get; set; }
[DataMember]
public bool IsOnlyForEmployee { get; set; }
[DataMember]
public bool IsParent { get; set; }
[DataMember]
public AiPromptbausteinDC Parent { get; set; }
[DataMember]
public bool IsExpanded { get; set; }
}
}

View File

@@ -4,7 +4,7 @@ using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace BS.Shared.DataContracts
namespace BS.Shared.DataContracts.Feature.AI
{
[DataContract]
public class AiPromptbausteinFolderDC : BeWoDataContract

View File

@@ -3,7 +3,7 @@ using BS.Shared.Interface;
using System;
using System.Runtime.Serialization;
namespace BS.Shared.DataContracts
namespace BS.Shared.DataContracts.Feature.AI
{
[DataContract]
public class AiPromptbausteinPromptDC : BeWoDataContract, IAiPromptbausteinPrompt

View File

@@ -1,85 +0,0 @@
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.Serialization;
using System.ServiceModel.ComIntegration;
using BS.Shared.DataContracts.Compact;
namespace BS.Shared.DataContracts.Feature.AI
{
[DataContract]
public partial class AiPromptbausteinTreeDC : BeWoDataContract
{
[DataMember] public string Displayname { get; set; }
[DataMember] public string Content { get; set; }
[DataMember] public AiPromptbausteinType PromptbausteinType { get; set; }
[DataMember] public string Metadata { get; set; }
[DataMember] public AiActionType AiActionType { get; set; }
[DataMember] public CompactEmployeeDC Creator { get; set; }
[DataMember] public bool IsOnlyForCreator { get; set; }
[DataMember] public bool ShowUserPrompt { get; set; }
[DataMember] public bool ShowUserPromptByTenant { get; set; }
[DataMember] public int Position { get; set; }
[DataMember] public bool IsExpanded { get; set; }
[DataMember] public long? ParentOid { get; set; }
[DataMember] public List<AiPromptbausteinTreeDC> Children { get; set; }
}
public static class PredefinedAiPromptbausteine
{
public static IEnumerable<AiPromptbausteinTreeDC> GenerateDesignerInstance()
{
var zeiterfassung = CreateZeiterfassungRoot();
zeiterfassung.Children.Add(CreateZeiterfassungDokuNode());
zeiterfassung.Children.Add(CreateZeiterfassungConversationNode());
return new AiPromptbausteinTreeDC[] { zeiterfassung };
}
public static AiPromptbausteinTreeDC CreateZeiterfassungRoot()
{
return new AiPromptbausteinTreeDC()
{
Oid = -1,
Version = 1,
Displayname = "Zeiterfassung",
Content = "Zeiterfassung",
IsExpanded = true,
AiActionType = AiActionType.ServiceRecord,
PromptbausteinType = AiPromptbausteinType.Ordner,
Children = new List<AiPromptbausteinTreeDC>()
};
}
public static AiPromptbausteinTreeDC CreateZeiterfassungDokuNode()
{
return new AiPromptbausteinTreeDC()
{
Oid = -3,
Version = 1,
Displayname = "Dokumentation",
Content = "Zeiterfassung->Dokumentation",
IsExpanded = true,
AiActionType = AiActionType.ServiceRecordDocumentation,
PromptbausteinType = AiPromptbausteinType.Ordner,
Children = new List<AiPromptbausteinTreeDC>()
};
}
public static AiPromptbausteinTreeDC CreateZeiterfassungConversationNode()
{
return new AiPromptbausteinTreeDC()
{
Oid = -2,
Version = 1,
Displayname = "Konversation",
Content = "Zeiterfassung->Konversation",
IsExpanded = true,
AiActionType = AiActionType.ServiceRecordConversation,
PromptbausteinType = AiPromptbausteinType.Ordner,
Children = new List<AiPromptbausteinTreeDC>()
};
}
}
}

View File

@@ -1,5 +1,4 @@
using BS.Shared.DataContracts;
using Newtonsoft.Json;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;

View File

@@ -1,5 +1,4 @@
using BS.Shared.DataContracts;
using Newtonsoft.Json;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;

View File

@@ -187,13 +187,12 @@
<Compile Include="DataContracts\AdminService\AdminServiceSumResponseDetailDC.cs" />
<Compile Include="DataContracts\AdminService\IAdminServiceDC.cs" />
<Compile Include="DataContracts\AdminService\AdminServiceSumReqDC.cs" />
<Compile Include="DataContracts\AiPromptbausteinFolderDC.cs" />
<Compile Include="DataContracts\AiPromptbausteinPromptDC.cs" />
<Compile Include="DataContracts\Feature\AI\AiPromptbausteinFolderDC.cs" />
<Compile Include="DataContracts\Feature\AI\AiPromptbausteinPromptDC.cs" />
<Compile Include="DataContracts\Invoicing\GkvAbrechnung\GkvServerGetNumberRequestDC.cs" />
<Compile Include="DataContracts\Invoicing\GkvAbrechnung\GkvServerGetNumberResponseDC.cs" />
<Compile Include="DataContracts\Person2TeamDC.cs" />
<Compile Include="DataContracts\BeWoRefDC.cs" />
<Compile Include="DataContracts\Feature\AI\AiPromptbausteinTreeDC.cs" />
<Compile Include="DataContracts\ApiResponse.cs" />
<Compile Include="DataContracts\Feature\AI\AiConfigDC.cs" />
<Compile Include="DataContracts\Feature\AI\AiConversationDC.cs" />
@@ -338,7 +337,6 @@
<Compile Include="DataContracts\EmployeeTokenRelationDC.cs" />
<Compile Include="DataContracts\ChatBewoMessageSyncDC.cs" />
<Compile Include="DataContracts\StoredFileDC.cs" />
<Compile Include="DataContracts\AiPromptbausteinDC.cs" />
<Compile Include="DataContracts\VertreterSucheFilterDC.cs" />
<Compile Include="DataContracts\SbdConfigDC.cs" />
<Compile Include="DataContracts\QuittierungsCheckDC.cs" />

View File

@@ -3,7 +3,6 @@ using BeWo.Data.Models.XRechnung;
using BeWo.Service.ServiceProxy;
using BeWo.Service.ServiceUtils;
using BS.Shared.AppSender;
using BS.Shared.DataContracts.Invoicing.XRechnung;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using System;