| | |
| | | b.setDev_id(rs.getInt("dev_id"));
|
| | | b.setRecord_datetime(rs.getTimestamp("record_datetime"));
|
| | | b.setStation_stat(rs.getInt("station_stat"));
|
| | | if(((b.getStation_stat()>>4)&1)==1){
|
| | | if(((b.getStation_stat()>>5)&1)==1){
|
| | | b.setStation_stat_diaozhan(1);//掉站
|
| | | }
|
| | | if(((b.getStation_stat()>>3)&1)==1){
|
| | | if(((b.getStation_stat()>>4)&1)==1){
|
| | | b.setStation_stat_dooropen(1);//开门
|
| | | }
|
| | | if(((b.getStation_stat()>>2)&1)==1){
|
| | | if(((b.getStation_stat()>>3)&1)==1){
|
| | | b.setStation_stat_fadian(1); //发电
|
| | | }
|
| | | if(((b.getStation_stat()>>1)&1)==1){
|
| | | if(((b.getStation_stat()>>2)&1)==1){
|
| | | b.setStation_stat_xuhang(1);//续航
|
| | | }
|
| | | if((b.getStation_stat()&1)==1){
|
| | | if(((b.getStation_stat()>>1)&1)==1){
|
| | | b.setStation_stat_poff(1); //停电
|
| | | }
|
| | | b.setStation_poff_start_time(rs.getTimestamp("station_poff_start_time"));
|