Files
HECO2/DL_Air Planner 사양/AirPlanner/RoomCard.xaml
T
jeon 5a96a696b1 chore: HERV 통합 저장소 초기 커밋
- 펌웨어(program), C# 대시보드(TestProgram), 시뮬레이터(Simulator),
  프로토콜/문서(Protocol, doc) 전체를 단일 저장소로 통합
- program 폴더의 별도 git 저장소를 제거하고 통합 저장소에 흡수
- 빌드 산출물(program/build, bin/obj, *.o/.elf/.bin/.hex 등) .gitignore 처리
- 사내 Synology NAS Git 원격 연결 예정

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 21:44:23 +09:00

52 lines
2.9 KiB
XML

<UserControl x:Class="AirPlanner.RoomCard"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
FontFamily="Malgun Gothic, Segoe UI">
<Border CornerRadius="12" Background="{StaticResource CardBg}"
BorderBrush="{StaticResource CardBorder}" BorderThickness="1.5" Margin="8" Padding="18,16">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<!-- 헤더 : 이름 + 공기질 원 -->
<Grid Grid.Row="0">
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<TextBlock x:Name="NameText" Grid.Column="0" Text="거실" FontSize="20" FontWeight="Bold"
Foreground="{StaticResource Ink}" VerticalAlignment="Center"/>
<Grid Grid.Column="1" Width="64" Height="64">
<Ellipse x:Name="AqRing" Width="64" Height="64" StrokeThickness="3.5" Stroke="{StaticResource AqGood}" Fill="Transparent"/>
<TextBlock x:Name="AqText" Text="좋음" FontSize="13" FontWeight="SemiBold" Width="54" TextAlignment="Center" TextWrapping="Wrap"
Foreground="{StaticResource AqGood}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Grid>
</Grid>
<!-- 센서 4종 (글씨 검정) -->
<StackPanel Grid.Row="1" Margin="2,14,0,0" VerticalAlignment="Top">
<StackPanel Orientation="Horizontal" Margin="0,0,0,5">
<TextBlock Text="&#x2022;" Foreground="{StaticResource AqVeryBad}" FontSize="13" Margin="0,0,7,0"/>
<TextBlock x:Name="S0" Text="초미세먼지: 좋음" FontSize="13.5" Foreground="{StaticResource Ink}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,0,0,5">
<TextBlock Text="&#x2022;" Foreground="{StaticResource AqVeryBad}" FontSize="13" Margin="0,0,7,0"/>
<TextBlock x:Name="S1" Text="미세먼지: 좋음" FontSize="13.5" Foreground="{StaticResource Ink}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,0,0,5">
<TextBlock Text="&#x2022;" Foreground="{StaticResource AqVeryBad}" FontSize="13" Margin="0,0,7,0"/>
<TextBlock x:Name="S2" Text="CO2: 좋음" FontSize="13.5" Foreground="{StaticResource Ink}"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="&#x2022;" Foreground="{StaticResource AqVeryBad}" FontSize="13" Margin="0,0,7,0"/>
<TextBlock x:Name="S3" Text="VOCs: 좋음" FontSize="13.5" Foreground="{StaticResource Ink}"/>
</StackPanel>
</StackPanel>
<!-- ON / Standby / OFF -->
<ToggleButton x:Name="OnBtn" Grid.Row="2" Style="{StaticResource BigToggleBtn}" Content="ON"
Height="48" Margin="0,16,0,0"/>
</Grid>
</Border>
</UserControl>