chore: HERV 통합 저장소 재초기화 커밋

손상된 .git 히스토리(missing tree)로 재초기화 후 작업트리 전체 커밋.
.claude/ 만 제외(로컬 에이전트 설정). 구 저장소 백업(.git_corrupt_backup/) 포함.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
jeon
2026-06-16 09:29:03 +09:00
commit a502322188
630 changed files with 65126 additions and 0 deletions
@@ -0,0 +1,96 @@
<Window x:Class="ERVSimulator.HystWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="공기질 센서 히스테리시스" SizeToContent="WidthAndHeight"
ResizeMode="NoResize" WindowStartupLocation="CenterOwner"
Background="{StaticResource PrimaryBgBrush}">
<Border Style="{StaticResource SectionCard}" Margin="10">
<StackPanel>
<TextBlock Text="공기질 센서 히스테리시스 — 모드(프리셋)별 오염단계 임계 + 히스(하강)" Style="{StaticResource SectionTitle}"/>
<!-- 활성 프리셋 선택 -->
<StackPanel Orientation="Horizontal" x:Name="PresetPanel" Margin="0,2,0,10">
<TextBlock Text="활성 프리셋" Foreground="{StaticResource TextPrimaryBrush}" VerticalAlignment="Center" Width="84" FontSize="12" FontWeight="SemiBold"/>
<Button Content="ECO" Tag="0" Click="Preset_Click" Style="{StaticResource ModernButton}" Margin="0,0,6,0" MinWidth="80" Background="{StaticResource CardBgBrush}"/>
<Button Content="NORMAL" Tag="1" Click="Preset_Click" Style="{StaticResource ModernButton}" Margin="0,0,6,0" MinWidth="80" Background="{StaticResource CardBgBrush}"/>
<Button Content="TURBO" Tag="2" Click="Preset_Click" Style="{StaticResource ModernButton}" Margin="0,0,6,0" MinWidth="80" Background="{StaticResource CardBgBrush}"/>
</StackPanel>
<TextBlock Text="오염단계 0~4(좋음·보통·나쁨·매우나쁨·최악). 각 값은 해당 단계의 상한(이하). 4단계(최악)는 3단계 상한 초과. + 히스테리시스(하강)." Foreground="{StaticResource TextSecondaryBrush}" FontSize="10" Margin="0,0,0,6"/>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="120"/>
<ColumnDefinition Width="84"/>
<ColumnDefinition Width="84"/>
<ColumnDefinition Width="84"/>
<ColumnDefinition Width="84"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Grid.Column="1" Text="CO2" TextAlignment="Center" FontSize="11" Foreground="{StaticResource TextSecondaryBrush}"/>
<TextBlock Grid.Row="0" Grid.Column="2" Text="PM2.5" TextAlignment="Center" FontSize="11" Foreground="{StaticResource TextSecondaryBrush}"/>
<TextBlock Grid.Row="0" Grid.Column="3" Text="PM10" TextAlignment="Center" FontSize="11" Foreground="{StaticResource TextSecondaryBrush}"/>
<TextBlock Grid.Row="0" Grid.Column="4" Text="VOC" TextAlignment="Center" FontSize="11" Foreground="{StaticResource TextSecondaryBrush}"/>
<TextBlock Grid.Row="1" Grid.Column="0" Text="0단계(좋음)" FontSize="11" FontWeight="Bold" VerticalAlignment="Center" Foreground="{StaticResource AccentBlueBrush}"/>
<TextBox x:Name="TCo2_1" Grid.Row="1" Grid.Column="1" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource TextPrimaryBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBox x:Name="TPm25_1" Grid.Row="1" Grid.Column="2" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource TextPrimaryBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBox x:Name="TPm10_1" Grid.Row="1" Grid.Column="3" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource TextPrimaryBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBox x:Name="TVoc_1" Grid.Row="1" Grid.Column="4" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource TextPrimaryBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBlock Grid.Row="2" Grid.Column="0" Text="1단계(보통)" FontSize="11" FontWeight="Bold" VerticalAlignment="Center" Foreground="{StaticResource AccentGreenBrush}"/>
<TextBox x:Name="TCo2_2" Grid.Row="2" Grid.Column="1" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource TextPrimaryBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBox x:Name="TPm25_2" Grid.Row="2" Grid.Column="2" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource TextPrimaryBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBox x:Name="TPm10_2" Grid.Row="2" Grid.Column="3" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource TextPrimaryBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBox x:Name="TVoc_2" Grid.Row="2" Grid.Column="4" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource TextPrimaryBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBlock Grid.Row="3" Grid.Column="0" Text="2단계(나쁨)" FontSize="11" FontWeight="Bold" VerticalAlignment="Center" Foreground="{StaticResource AccentYellowBrush}"/>
<TextBox x:Name="TCo2_3" Grid.Row="3" Grid.Column="1" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource TextPrimaryBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBox x:Name="TPm25_3" Grid.Row="3" Grid.Column="2" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource TextPrimaryBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBox x:Name="TPm10_3" Grid.Row="3" Grid.Column="3" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource TextPrimaryBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBox x:Name="TVoc_3" Grid.Row="3" Grid.Column="4" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource TextPrimaryBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBlock Grid.Row="4" Grid.Column="0" Text="3단계(매우나쁨)" FontSize="11" FontWeight="Bold" VerticalAlignment="Center" Foreground="{StaticResource AccentRedBrush}"/>
<TextBox x:Name="TCo2_4" Grid.Row="4" Grid.Column="1" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource TextPrimaryBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBox x:Name="TPm25_4" Grid.Row="4" Grid.Column="2" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource TextPrimaryBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBox x:Name="TPm10_4" Grid.Row="4" Grid.Column="3" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource TextPrimaryBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBox x:Name="TVoc_4" Grid.Row="4" Grid.Column="4" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource TextPrimaryBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBlock Grid.Row="5" Grid.Column="0" Text="4단계(최악)" FontSize="11" FontWeight="Bold" VerticalAlignment="Center" Foreground="{StaticResource AccentRedBrush}"/>
<Border Grid.Row="5" Grid.Column="1" Margin="2,1" Background="{StaticResource CardBgBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1">
<TextBlock x:Name="MCo2" TextAlignment="Center" FontSize="11" Padding="3,2" Foreground="{StaticResource TextPrimaryBrush}"/>
</Border>
<Border Grid.Row="5" Grid.Column="2" Margin="2,1" Background="{StaticResource CardBgBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1">
<TextBlock x:Name="MPm25" TextAlignment="Center" FontSize="11" Padding="3,2" Foreground="{StaticResource TextPrimaryBrush}"/>
</Border>
<Border Grid.Row="5" Grid.Column="3" Margin="2,1" Background="{StaticResource CardBgBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1">
<TextBlock x:Name="MPm10" TextAlignment="Center" FontSize="11" Padding="3,2" Foreground="{StaticResource TextPrimaryBrush}"/>
</Border>
<Border Grid.Row="5" Grid.Column="4" Margin="2,1" Background="{StaticResource CardBgBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1">
<TextBlock x:Name="MVoc" TextAlignment="Center" FontSize="11" Padding="3,2" Foreground="{StaticResource TextPrimaryBrush}"/>
</Border>
<TextBlock Grid.Row="6" Grid.Column="0" Text="히스(하강)" FontSize="11" FontWeight="Bold" VerticalAlignment="Center" Foreground="{StaticResource AccentYellowBrush}"/>
<TextBox x:Name="DCo2" Grid.Row="6" Grid.Column="1" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource AccentYellowBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBox x:Name="DPm25" Grid.Row="6" Grid.Column="2" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource AccentYellowBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBox x:Name="DPm10" Grid.Row="6" Grid.Column="3" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource AccentYellowBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
<TextBox x:Name="DVoc" Grid.Row="6" Grid.Column="4" TextAlignment="Center" FontSize="11" Margin="2,1" Padding="3,2" Background="{StaticResource CardBgBrush}" Foreground="{StaticResource AccentYellowBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"/>
</Grid>
<StackPanel Orientation="Horizontal" Margin="0,14,0,0" HorizontalAlignment="Right">
<Button Content="적용" Width="100" Style="{StaticResource ModernButton}" Click="Apply_Click"
Margin="0,0,6,0" Background="{StaticResource AccentBlueBrush}"/>
<Button Content="닫기" Width="90" Style="{StaticResource ModernButton}" Click="Close_Click"
Background="{StaticResource CardBgBrush}"/>
</StackPanel>
</StackPanel>
</Border>
</Window>