|  |  |  | 
|---|
|  |  |  | return; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Date syncTime = new Date(); | 
|---|
|  |  |  | Api1304 api1304; | 
|---|
|  |  |  | Api1105 api1105; | 
|---|
|  |  |  | List<Api1304> api1304List; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | api1304 = new Api1304(); | 
|---|
|  |  |  | // api1304.setQtndjcdh(api1105.getHwdm() + DateFormatUtils.format(gas.getReceiveDate(), "yyyyMMdd") + String.valueOf(index).substring(1)); | 
|---|
|  |  |  | api1304.setQtndjcdh(api1105.getHwdm() + fz40Gas.getBatchId()); | 
|---|
|  |  |  | api1304.setJcsj(fz40Gas.getReceiveDate()); | 
|---|
|  |  |  | api1304.setHwdm(api1105.getHwdm()); | 
|---|
|  |  |  | 
|---|
|  |  |  | String[] attr = points.split(";"); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | String[] arrt2; | 
|---|
|  |  |  | String o2 = "", co2 = "", ph3 = ""; | 
|---|
|  |  |  | String o2 = "", co2 = "", ph3 = "", n2 = ""; | 
|---|
|  |  |  | for (String temp : attr) { | 
|---|
|  |  |  | arrt2 = temp.split(","); | 
|---|
|  |  |  | o2 += arrt2[2] + ","; | 
|---|
|  |  |  | co2 += arrt2[1] + ","; | 
|---|
|  |  |  | ph3 += arrt2[3] + ","; | 
|---|
|  |  |  | o2 +=  "," + arrt2[2]; | 
|---|
|  |  |  | co2 += "," + arrt2[1]; | 
|---|
|  |  |  | ph3 += "," + arrt2[3]; | 
|---|
|  |  |  | n2 += "," + arrt2[4]; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if(o2.length() > 0){ | 
|---|
|  |  |  | o2 = o2.substring(1); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if(co2.length() > 0){ | 
|---|
|  |  |  | co2 = co2.substring(1); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if(ph3.length() > 0){ | 
|---|
|  |  |  | ph3 = ph3.substring(1); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if(n2.length() > 0){ | 
|---|
|  |  |  | n2 = n2.substring(1); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | co2 += "|ppm"; | 
|---|
|  |  |  | ph3 += "|ppm"; | 
|---|
|  |  |  | api1304.setYqhlzjh(o2); | 
|---|
|  |  |  | api1304.setEyhthlzjh(co2); | 
|---|
|  |  |  | api1304.setLhqndzjh(ph3); | 
|---|
|  |  |  | api1304.setDqndzjh(n2); | 
|---|
|  |  |  | return api1304; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|