| | |
| | | String businessNo = JSONobj.getstring(jo, "businessNo"); |
| | | boolean firstWeighing = JSONobj.getbool(jo, "firstWeighing"); |
| | | boolean secondWeighing = JSONobj.getbool(jo, "secondWeighing"); |
| | | boolean isJc = JSONobj.getbool(jo, "isJc"); |
| | | String sdepartNo = JSONobj.getstring(jo, "sdepartNo"); |
| | | if(StringUtils.isBlank(businessNo) || businessNo.indexOf("XS")!=0 || StringUtils.isBlank(sdepartNo) |
| | | ) { |
| | |
| | | FdXSTDService.refreshMsLedLock = false; |
| | | } |
| | | } |
| | | } else if ("08".equals(sdepartNo)) { // 义瑞 |
| | | } |
| | | } |
| | | if (firstWeighing || secondWeighing || isJc) { // 称重需要刷新一下 |
| | | if ("08".equals(sdepartNo)) { // 义瑞 |
| | | synchronized (FdXSTDService.refreshYrLedLock) { |
| | | if (FdXSTDService.refreshYrLedLock) { // 系统繁忙 |
| | | return null; |
| | |
| | | } |
| | | } |
| | | } |
| | | } else if ("04".equals(sdepartNo)) { // 科技 |
| | | if ("04".equals(sdepartNo)) { // 科技 |
| | | synchronized (FdXSTDService.refreshYrLedLock) { |
| | | if (FdXSTDService.refreshKjLedLock) { // 系统繁忙 |
| | | return null; |
| | |
| | | } |
| | | } |
| | | } |
| | | } |
| | | return null; |
| | | } |
| | | |