2
3 - 将AppSettings从DMS.Infrastructure移至DMS.Application
4 - 将DatabaseSettings重命名为AppSettings.Database并更新所有引用
5 - 将配置文件从appSettings.json更改为dms_config.json
6 - 更新所有项目引用以使用新的AppSettings命名空间
7 - 移除DI容器中的SqlSugarDbContext直接实例化
8 - 添加Material Design Icons字体并更新设置视图UI
9 - 通过移除不必要的变量映射更新来优化S7服务
10 - 将数据库连接字符串属性名从Database更新为DbName
196 lines
6.6 KiB
XML
196 lines
6.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net8.0-windows</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<UseWPF>true</UseWPF>
|
|
<EnableHotReload>true</EnableHotReload>
|
|
<ApplicationIcon>Assets\AppIcon2.ico</ApplicationIcon>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Include="Assets\AppIcon2.ico">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Resource Include="Assets\AppIcon.png" />
|
|
<Resource Include="Assets\AppIcon2.ico" />
|
|
<Resource Include="Assets\Fonts\materialdesignicons-webfont.ttf">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Resource>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Page Update="Views\Dialogs\ConfirmDialog.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\Dialogs\DeviceDialog.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\Dialogs\ImportExcelDialog.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\Dialogs\ImportResultDialog.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\Dialogs\IsActiveDialog.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\Dialogs\MqttAliasBatchEditDialog.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\Dialogs\MqttAliasDialog.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\Dialogs\MqttDialog.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\Dialogs\MqttSelectionDialog.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\Dialogs\ImportOpcUaDialog.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\Dialogs\OpcUaUpdateTypeDialog.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\Dialogs\PollLevelDialog.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Update="Views\Dialogs\ProcessingDialog.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\Dialogs\VariableDialog.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\Dialogs\VariableTableDialog.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\DataTransformView.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\DeviceDetailView.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\DevicesView.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\HomeView.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\MainView.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\MqttServerDetailView.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\MqttsView.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\SettingView.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\VariableTableView.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Resources\DevicesItemTemplateDictionary.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\Dialogs\TriggerDialog.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Update="Views\TriggersView.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<XamlRuntime>Wpf</XamlRuntime>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
|
|
<PackageReference Include="HandyControl" Version="3.5.1" />
|
|
<PackageReference Include="Hardcodet.NotifyIcon.Wpf" Version="2.0.1" />
|
|
<PackageReference Include="iNKORE.UI.WPF.Modern" Version="0.10.0" />
|
|
<PackageReference Include="LiveChartsCore.SkiaSharpView.WPF" Version="2.0.0-rc2" />
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.5" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.5" />
|
|
<PackageReference Include="NLog" Version="6.0.0" />
|
|
<PackageReference Include="ObservableCollections" Version="3.3.4" />
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\DMS.Application\DMS.Application.csproj" />
|
|
<ProjectReference Include="..\DMS.Infrastructure\DMS.Infrastructure.csproj" />
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
<Folder Include="ViewModels\Items\" />
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
<None Update="Configurations\nlog.config">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
</Project> |