- Created ComplianceNFs.Core project with domain entities and ports - Implemented BuyingRecord, EnergyInvoice, ParsedInvoice entities - Defined domain interfaces for mail listening, XML and PDF parsing, and repository access - Established ComplianceNFs.Infrastructure project with file archiving, mail listening, and data access implementations - Developed PDF and XML parsers for invoice data extraction - Set up AccessDbRepository and AttachmentRepository for data retrieval and storage - Created ComplianceNFs.Service project for background processing and service orchestration - Implemented Worker service for periodic tasks - Established ComplianceNFs.Monitor project with WPF UI for monitoring invoice statuses - Added ViewModel for UI data binding and command handling - Configured project files for .NET 9.0 and necessary package references - Created initial appsettings.json for configuration management - Added TODOs and roadmap for future development
26 lines
1.4 KiB
XML
26 lines
1.4 KiB
XML
<Window x:Class="ComplianceNFs.Monitor.MainWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:local="clr-namespace:ComplianceNFs.Monitor"
|
|
mc:Ignorable="d"
|
|
Title="ComplianceNFs Monitor" Height="450" Width="800">
|
|
<Grid Margin="10">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
<ListView x:Name="LogList" Grid.Row="0" ItemsSource="{Binding RecentInvoices}">
|
|
<ListView.View>
|
|
<GridView>
|
|
<GridViewColumn Header="Timestamp" DisplayMemberBinding="{Binding ReceivedDate}" Width="150"/>
|
|
<GridViewColumn Header="Filename" DisplayMemberBinding="{Binding Filename}" Width="250"/>
|
|
<GridViewColumn Header="Status" DisplayMemberBinding="{Binding Status}" Width="120"/>
|
|
</GridView>
|
|
</ListView.View>
|
|
</ListView>
|
|
<Button Grid.Row="1" Content="Force Scan" Command="{Binding ForceScanCommand}" Height="32" Width="120" HorizontalAlignment="Right" Margin="0,10,0,0"/>
|
|
</Grid>
|
|
</Window>
|