Files
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

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)
}
}
}