Commit 3ac00f1aa792859f4905f5a4923264350e58838b

Authored by 潘钊
1 parent 4f41ffa4

update..

src/main/java/com/bsth/client/pd/protocol/BasicInfo.java
... ... @@ -258,9 +258,9 @@ public class BasicInfo {
258 258 * @return -1无效 0上行 1下行
259 259 */
260 260 public byte getUpOrDown() {
261   - if ((serviceState & 0x00020000) == 0x00020000 || (serviceState & 0x80000000) == 0x80000000
  261 + /*if ((serviceState & 0x00020000) == 0x00020000 || (serviceState & 0x80000000) == 0x80000000
262 262 || (serviceState & 0x01000000) == 0x01000000
263   - || (serviceState & 0x08000000) == 0x08000000) return -1;
  263 + || (serviceState & 0x08000000) == 0x08000000) return -1;*/
264 264 return (byte)(((serviceState & 0x10000000) == 0x10000000) ? 1 : 0);
265 265 }
266 266  
... ... @@ -291,7 +291,7 @@ public class BasicInfo {
291 291 * @return -1无效 0运营 1未运营
292 292 */
293 293 public byte getService() {
294   - if ((serviceState & 0x00020000) == 0x00020000 || (serviceState & 0x80000000) == 0x80000000) return -1;
  294 + //if ((serviceState & 0x00020000) == 0x00020000 || (serviceState & 0x80000000) == 0x80000000) return -1;
295 295 return (byte)(((serviceState & 0x02000000) == 0x02000000) ? 1 : 0);
296 296 }
297 297  
... ...