|
|
@@ -51,10 +51,11 @@ public class DataUtils {
|
|
|
public static String getLongContent(String content,Map<String, Object> propertiesMap ,Map<String, Object> eventsMap,String deviceId){
|
|
|
// 泵号 [2-9]字节
|
|
|
String dataNum = getContent(content,0,4);
|
|
|
-// propertiesMap.put("dataNum",dataNum);
|
|
|
- propertiesMap.put("dataNum",deviceId);
|
|
|
+ propertiesMap.put("dataNum",dataNum);
|
|
|
+
|
|
|
String pumpCode = getContent(content,4,20);
|
|
|
- propertiesMap.put("pumpCode",pumpCode);
|
|
|
+// propertiesMap.put("pumpCode",pumpCode);
|
|
|
+ propertiesMap.put("deviceId",deviceId);
|
|
|
// 住院号
|
|
|
String patientCode = resultValue(getContent(content,20,28)).toString();
|
|
|
propertiesMap.put("patientCode",patientCode);
|