| | |
| | | import com.alibaba.fastjson.JSONArray; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.google.gson.Gson; |
| | | import com.googlecode.aviator.AviatorEvaluator; |
| | | import com.googlecode.aviator.Expression; |
| | | import com.moral.common.bean.Constants; |
| | |
| | | map.put("V",V);
|
| | | mapList.add(map);
|
| | | }
|
| | | System.out.println(mapList);
|
| | | for (int i = 0; i <mapList.size() ; i++) {
|
| | | Double lo= (Double) mapList.get(i).get("lo");
|
| | | Double la= (Double) mapList.get(i).get("la");
|
| | |
| | | if (i==0){
|
| | | if ((y>=2 && j==(y)*nx+x)){
|
| | | int k;
|
| | | System.out.println(nx*ny);
|
| | | for (k = j-2*nx; k <=j+2*nx ;k=k+nx) {
|
| | | System.out.println(k);
|
| | | System.out.println("----------------");
|
| | | System.out.println(uList.size());
|
| | | uList.set(k,U);
|
| | | uList.set(k-1,U);
|
| | | uList.set(k-2,U);
|
| | |
| | | }
|
| | |
|
| | | @Override
|
| | | public Organization getOrganizationByMac(Map<String, Object> parameters) {
|
| | | return organizationMapper.getOrganizationByMac(parameters);
|
| | | }
|
| | | @Override
|
| | | public List<Organization> getOrganizationsByAreaName(Map<String, Object> parameters) {
|
| | | ValidateUtil.notNull(parameters.get("areaName"), "param.is.null");
|
| | | List<Organization> organizations = organizationMapper.getOrganizationsByAreaName(parameters);
|