Files
HECO2/DL_Air Planner 사양/AirPlanner/RoomCard.xaml.cs
T
jeon a502322188 chore: HERV 통합 저장소 재초기화 커밋
손상된 .git 히스토리(missing tree)로 재초기화 후 작업트리 전체 커밋.
.claude/ 만 제외(로컬 에이전트 설정). 구 저장소 백업(.git_corrupt_backup/) 포함.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 09:32:17 +09:00

31 lines
981 B
C#

using System.Windows.Controls;
using System.Windows.Media;
namespace AirPlanner
{
public partial class RoomCard : UserControl
{
public RoomCard()
{
InitializeComponent();
}
// 실명 / 공기질 텍스트·색 / 센서 4종 상태 / 버튼(ON·Standby·OFF, active=검정)
public void Set(string name, string aqText, Brush aqColor,
string pm25, string pm10, string co2, string voc,
string btnText, bool btnActive)
{
NameText.Text = name;
AqText.Text = aqText;
AqText.Foreground = aqColor;
AqRing.Stroke = aqColor;
S0.Text = $"초미세먼지: {pm25}";
S1.Text = $"미세먼지: {pm10}";
S2.Text = $"CO2: {co2}";
S3.Text = $"VOCs: {voc}";
OnBtn.Content = btnText;
OnBtn.IsChecked = btnActive; // true → 검정(ON/Standby)
}
}
}