BMSController2
테이블 (13)
BQL테스트 (BQLTest)
- 테스트아이디 (bqlt_id) — int primary key auto_increment — 기본 키 — NOT NULL
- RRU 아이디 (bqlt_rru_id) — varchar(255) — 외래 키 → RRU.RRU 아이디 — NOT NULL
- 테스트시작시간 (bqlt_startTime) — TIMESTAMP NOT
- 테스트종료시간 (bqlt_endTime) — TIMESTAMP DEFAULT CURRENT_TIMESTAMP not
- 배터리번호 (bqlt_batteryNumber) — int not
- 전압초기화 (bqlt_initVolt) — int not
- 전압설정 (bqlt_setVolt) — int not
- 테스트결과명 (bqlt_tt_name) — varchar(255) — 외래 키 → 테스트결과.테스트결과명 — NOT NULL
- 설정한 테스트 시간 (bqlt_setTime) — int not
RRU
- RRU 아이디 (rru_id) — varchar(255) primary key — 기본 키 — NOT NULL
- RRU주소 (rru_address) — varchar(255) not
- RRU 포트번호 (rru_port) — varchar(255) not
- RRU 이름 (rru_name) — varchar(255) not
- 시리얼컨버터아이디 (rru_sc_id) — int — 외래 키 → 시리얼컨버터.시리얼컨버터아이디 — NOT NULL
배터리 상태 (BatteryStatus)
- 배터리상태번호 (bs_id) — int primary key — 기본 키 — NOT NULL
- 배터리상태명 (bs_name) — varchar(255) unique
배터리측정로그 (BatteryLog)
- 배터리측정로그아이디 (bal_id) — int primary key auto_increment — 기본 키 — NOT NULL
- 발생시간 (bal_eventTime) — TIMESTAMP DEFAULT CURRENT_TIMESTAMP not
- 밸런싱 (bal_balacing) — int not
- 배터리수량 (bal_battery_number) — int not
- 배터리상태번호 (bal__bs_id) — int — 외래 키 → 배터리 상태.배터리상태번호 — NOT NULL
- 홀센서상태 (bal__hallConnect) — int not
- SOC (bal_soc) — int not
- 전압합계 (bal_volatgeSum) — int not
- RRU 아이디 (bal_rruId) — varchar(255) not
- RRU주소 (bal_rruAddress) — varchar(255) not
- RRU 포트번호 (bal_rruPort) — varchar(255) not
- RRU 이름 (bal_rruName) — varchar(255) not
- 역 아이디 (bal_rruStationId) — varchar(255) not
- 시리얼컨버터아이디 (bal_rruScId) — int not
사무실 (Office)
- 사무실아이디 (of_name) — primary key varchar(255) — 기본 키 — NOT NULL
- 역 아이디 (of_station_id) — int primary key auto_increment — 외래 키 → 역.역 아이디 — NOT NULL
사용자 (User)
- 사용자 아이디 (us_id) — varchar(255) primary key — 기본 키 — NOT NULL
- 사용자비밀번호 (us_pw) — varchar(255) not
- 사용자 가입일 (us_joinDate) — TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT
- 사용자 역할 (us_role) — enum('manager','operator') DEFAULT 'operator' NOT
셀측정로그 (CellLog)
- 셀로그아이디 (cel_id) — int primary key auto_increment — 기본 키 — NOT NULL
- 셀번호 (cel_batteryNumber) — int not
- 발생시간 (cel_time) — TIMESTAMP DEFAULT CURRENT_TIMESTAMP not
- 통신상태 (cel_connected) — int not
- 저항 (cel_resistance) — int not
- SOC (cel_soc) — int not
- SOH (cel_soh) — int not
- 온도 (cel_temperature) — int not
- 전압 (cel_voltage) — int not
- RRU 아이디 (cel_rruId) — varchar(255) not
- RRU주소 (cel_rruAddress) — varchar(255) not
- RRU 포트번호 (cel_rruPort) — varchar(255) not
- RRU 이름 (cel_rruName) — varchar(255) not
- 역 아이디 (cel_rruStationId) — varchar(255) not
- 시리얼컨버터아이디 (cel_rruScId) — int not
시리얼컨버터 (SerialConverter)
- 시리얼컨버터아이디 (sc_id) — int primary key auto_increment — 기본 키 — NOT NULL
- 시리얼컨버터주소 (sc_address) — varchar(255) not
- 시리얼컨버터포트번호 (sc_port) — varchar(255) not
- 시리얼업데이트날짜 (sc_updateTime) — TIMESTAMP
알람로그 (AlarmLog)
- 알람로그아이디 (alg_id) — int primary key auto_increment — 기본 키 — NOT NULL
- 알람 타입명 (alg_alt_name) — varchar(255) — 외래 키 → 알람타입.알람 타입명 — NOT NULL
- RRU아이디 (alg_rruID) — varchar(255) not
- 배터리번호 (alg_batteryN\umber) — int not
- 이밴트발생시간 (alg_eventTime) — TIMESTAMP DEFAULT CURRENT_TIMESTAMP not
- 이밴트 발생 값 (alg_eventValue) — int not
- 임계치 값 (alg_thresholdValue) — int not
- RRU주소 (alg_rruAddress) — varchar(255) not
- RRU이름 (alg_rruName) — varchar(255) not
- RRU역아이디 (alg_stationID) — varchar(255) not
- 시리얼컨버터아이디 (alg_rruScId) — int not
- 알람 아이디 (alg_th_id) — int not
- 임게치 배터리 저항 상한선 (alg_thResistanceUpper) — int not
- 임계치 SOC 히힌선 (alg_thSocLower) — int not
- 임게치 온도 상한선 (alg_thTempUpper) — int not
- 임계치 SOH하한선 (alg_thSohLower) — int not
- 임계치 전압하한선 (alg_thVoltLower) — int not
- 임계치전압상한선 (alg_thVoltUpper) — int not
알람타입 (AlarmType)
- 알람 타입명 (alt_name) — varchar(255) primary key — 기본 키 — NOT NULL
역 (Station)
- 역 아이디 (station_id) — int primary key auto_increment — 기본 키 — NOT NULL
- 역 이름 (station_name) — varchar(255) NOT
임계치설정 (Threshold)
- 알람 아이디 (th_id) — int primary key auto_increment — 기본 키 — NOT NULL
- RRU 아이디 (th_rru_id) — varchar(255) — 외래 키 → RRU.RRU 아이디 — NOT NULL
- 임계치 배터리 번호 (th_battery_number) — int not
- 임게치 배터리 저항 상한선 (th_resistance_upper) — int not
- 임계치 SOC 히힌선 (th_soc_lower) — int not
- 임게치 온도 상한선 (th_temp_upper) — int not
- 임계치 SOH하한선 (th_soh_lower) — int not
- 임계치 전압하한선 (th_volt_lower) — int not
- 임계치전압상한선 (th_volt_upper) — int not
테스트결과 (TestType)
- 테스트결과명 (tt_name) — varchar(255) primary key — 기본 키 — NOT NULL