| | |
| | | public BDDataPo(DataResChildrenPo po,String type){ |
| | | this.damId = po.getRes_cd(); |
| | | this.pointId = po.getCd(); |
| | | this.pointName = "测点"+po.getCd(); |
| | | this.type = type; |
| | | |
| | | if (type.equals( "1")){ |
| | | //渗压 |
| | | this.value = po.getSw_val(); |
| | | this.typeName = "渗压"; |
| | | }else if (type.equals("2")){ |
| | | //渗流 |
| | | this.typeName = "渗流"; |
| | | }else if (type.equals("3")){ |
| | | //x |
| | | this.value = po.getDe(); |
| | | this.typeName = "X位移"; |
| | | }else if (type.equals("4")){ |
| | | //y |
| | | this.value = po.getDn(); |
| | | this.typeName = "Y位移"; |
| | | }else if (type.equals("5")){ |
| | | //z |
| | | this.typeName = "Z位移"; |
| | | this.value = po.getDu(); |
| | | } |
| | | this.time = po.getTm(); |