1
81041
2019-06-20 ab3c4acf83f54f8449ca8664c4a2bb79bd30f297
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package com.fgkj.actions;
 
import java.util.List;
 
import com.fgkj.dto.BattInf;
import com.fgkj.dto.Batt_Maint_Dealarm;
import com.fgkj.dto.Batttestdata_inf;
import com.fgkj.dto.ServiceModel;
import com.fgkj.services.Batt_MaintService;
import com.google.gson.Gson;
import com.opensymphony.xwork2.ActionSupport;
 
public class Batt_MaintAction extends ActionSupport{
    private Batt_MaintService service=new Batt_MaintService();
    private String result;
    private Batt_Maint_Dealarm bmd;
    
    //1.3根据电池组id查询电池的电导和充放电信息
    public String serchMon_num(){
        ServiceModel model=service.serchMon_num(bmd);
        result=ActionUtil.tojson(model);    
        return SUCCESS;
    }
    
    public static void main(String[] args) {
        new Batt_MaintAction().serchMon_num();
    }
    
    public Batt_MaintService getService() {
        return service;
    }
    public void setService(Batt_MaintService service) {
        this.service = service;
    }
    public String getResult() {
        return result;
    }
    public void setResult(String result) {
        this.result = result;
    }
    public Batt_Maint_Dealarm getBmd() {
        return bmd;
    }
    public void setBmd(Batt_Maint_Dealarm bmd) {
        this.bmd = bmd;
    }
}