bmscontroller
테이블 (9)
BMSController로그 (BMSControllerLog)
- BMS아이디 (bmsl_bms_id) — varchar(50) — 외래 키 → BMS컨트롤러.BMS아이디 — NOT NULL
- 알람 아이디 (bmsl_al_id) — int — 외래 키 → 알람.알람 아이디 — NOT NULL
- 전압 앞 (bmsL_voltageF) — int not
- 전압 뒤 (bmsL_voltageB) — int not
- 전류 앞 (bmsL_electricF) — int not
- 전류 뒤 (bmsL_electricB) — int not
- SOC (bmsl_SOC) — int not
- 밸런싱 (bmsL_balancing) — int not
- 홀샌서상태 (bmsL_hallSensorStatus) — int not
- 배터리상태 (bmsL_batteryStaytus) — int not
- 배터리 수량 (bmsL_batteryQuantity) — int not
- 베터리 내부 저항 측정 상태 (bmsL_batteryInternalResistanceMeasurementStatus) — int not
- 베터리 내부 저항 평균 하위 비트 (bmsL_batteryInternalResistanceAverageLowerBit) — int not
- 베터리 내부 저항 평균 상위 비트 (bmsL_batteryInternalResistanceAverageUpperBit) — int not
- 베터리 평균 온도 (bmsL_batteryAverageTemperature) — int not
- 발생시간 (bmsl_eventTime) — TIMESTAMP DEFAULT CURRENT_TIMESTAMP not
- 로그종류 (bmsl_type) — enum('test','error') DEFAULT 'error' not
BMS관찰 (BMSControllerView)
- 사이트아이디 (bmsv_si_id) — int — 외래 키 → 사이트.사이트아이디 — NOT NULL
- BMS관찰이름 (bmsv_si_name) — varchar(50) not
- BMS아이디 (bmsv_bms_id) — varchar(50) — 외래 키 → BMS컨트롤러.BMS아이디 — NOT NULL
BMS컨트롤러 (BMSController)
- BMS아이디 (bms_id) — varchar(50) primary key — 기본 키 — NOT NULL
사용자 (User)
- 사용자 아이디 (us_id) — varchar(20) primary key — 기본 키 — NOT NULL
- 사용자비밀번호 (us_pw) — varchar(20) not
- 사용자 가입일 (us_joinDate) — TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT
- 사용자 역할 (us_role) — enum('manager','operator') DEFAULT 'operator' NOT
사이트 (Site)
- 사이트아이디 (si_id) — int primary key auto_increment — 기본 키 — NOT NULL
- 폴링시간 (si_polling)time) — int default 5 not
- 관리자아이디 (si_us_id) — varchar(20) — 외래 키 → 사용자.사용자 아이디 — NOT NULL
- 알람 아이디 (si_al_id) — int — 외래 키 → 알람.알람 아이디 — NOT NULL
셀 데이터 로그 (CellLog)
- BMS아이디 (cel_bms_id) — varchar(50) — 외래 키 → BMS컨트롤러.BMS아이디 — NOT NULL
- 알람 아이디 (cel_al_id) — int — 외래 키 → 알람.알람 아이디 — NOT NULL
- 셀 아이디 (ceL_id) — int not
- 통신상태 (ceL_communicationStatus) — int not
- 전압 (ceL_voltage) — int not
- 온도 (ceL_temperature) — int not
- 내부저항 (ceL_internalResistance) — int not
- SOC (ceL_SOC) — int not
- SOH (cel_SOH) — int not
- 발생시간 (cel_eventTime) — TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT
- 로그종류 (cel_type) — enum('test','error') DEFAULT 'error' not
시리얼컨버터 (Serialcommand)
- 시리얼컨버터아이디 (sc_id) — varchar(20) primary key — 기본 키 — NOT NULL
시리얼컨버터연결 (SerialcommandConnection)
- 사이트아이디 (scc_si_id) — int — 외래 키 → 사이트.사이트아이디 — NOT NULL
- 시리얼컨버터아이디 (scc_sc_id) — varchar(20) — 외래 키 → 시리얼컨버터.시리얼컨버터아이디 — NOT NULL
- 시리얼컨버터이름 (scc_name) — varchar(20) not
알람 (Alarm)
- 알람 아이디 (al_id) — int primary key AUTO_INCREMENT — 기본 키 — NOT NULL
- 알람 임계치 최소값 (al_threshold_min) — int not
- 알람 임계치 최대값 (al_threshold_max) — int not
- 알람등급 (al_rating) — int not