alarm
테이블 (4)
수집 채널 (chan)
- 채널ID (chan_id) — integer
- 채널명 (chan_nm) — text
- 채널주소 (Field3)
- Field4
알람 정보 (alf_status)
- 알람ID (alf_id) — integer — 기본 키 — NOT NULL
- 알람코드 (cd_id) — integer — 외래 키 → 알람 코드.알람코드 — NOT NULL
- 온도ID (temp_id) — integer — 외래 키 → 온습도.온도ID — NOT NULL
- 알람메세지 (message) — text
- 등록일자 (reg_dt) — timestamp
- 전송상태 (status) — integer
- 오류메세지 (err_message) — text
- 발송일자 (sent_dt) — timestamp
알람 코드 (alf_codes)
- 알람코드 (cd_id) — integer — 기본 키 — NOT NULL
- 코드레벨 (cd_level) — text
- 온도채널 (chan_temp)
- Field2
- Field3
- Field4
- Field5
온습도 (temperature)
- 온도ID (temp_id) — integer — 기본 키 — NOT NULL
- 온도 (temp) — decimal(5,2)
- 습도 (humidty) — decimal(5,2)
- 측정시간 (temp_dt) — timestamp