Java 类ims.emergency.vo.DNWForTrackingVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private String getDNWTooltip(DNWForTrackingVo currentDNW) 
{
    if(currentDNW == null ||currentDNW.getCurrentStatus() == null || currentDNW.getCurrentStatus().getCalledAmount() == null)
        return null;

    if(currentDNW.getCurrentStatus().getCalledAmount() == 1)
        return "DNW 1";
    else if(currentDNW.getCurrentStatus().getCalledAmount() == 2)
        return "DNW 2";
    else if(currentDNW.getCurrentStatus().getCalledAmount() == 3)
        return "DNW 3";

    return null;
}
项目:AvoinApotti    文件:Logic.java   
private Image getDNWImage(DNWForTrackingVo currentDNW) 
{
    if(currentDNW == null ||currentDNW.getCurrentStatus() == null || currentDNW.getCurrentStatus().getCalledAmount() == null)
        return null;

    if(currentDNW.getCurrentStatus().getCalledAmount() == 1)
        return form.getImages().Emergency.DNW1;
    else if(currentDNW.getCurrentStatus().getCalledAmount() == 2)
        return form.getImages().Emergency.DNW2;
    else if(currentDNW.getCurrentStatus().getCalledAmount() == 3)
        return form.getImages().Emergency.DNW3;

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private String getDNWTooltip(DNWForTrackingVo currentDNW) 
{
    if(currentDNW == null ||currentDNW.getCurrentStatus() == null || currentDNW.getCurrentStatus().getCalledAmount() == null)
        return null;

    if(currentDNW.getCurrentStatus().getCalledAmount() == 1)
        return "DNW 1";
    else if(currentDNW.getCurrentStatus().getCalledAmount() == 2)
        return "DNW 2";
    else if(currentDNW.getCurrentStatus().getCalledAmount() == 3)
        return "DNW 3";

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private Image getDNWImage(DNWForTrackingVo currentDNW) 
{
    if(currentDNW == null ||currentDNW.getCurrentStatus() == null || currentDNW.getCurrentStatus().getCalledAmount() == null)
        return null;

    if(currentDNW.getCurrentStatus().getCalledAmount() == 1)
        return form.getImages().Emergency.DNW1;
    else if(currentDNW.getCurrentStatus().getCalledAmount() == 2)
        return form.getImages().Emergency.DNW2;
    else if(currentDNW.getCurrentStatus().getCalledAmount() == 3)
        return form.getImages().Emergency.DNW3;

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private String getDNWTooltip(DNWForTrackingVo currentDNW) 
{
    if(currentDNW == null ||currentDNW.getCurrentStatus() == null || currentDNW.getCurrentStatus().getCalledAmount() == null)
        return null;

    if(currentDNW.getCurrentStatus().getCalledAmount() == 1)
        return "DNW 1";
    else if(currentDNW.getCurrentStatus().getCalledAmount() == 2)
        return "DNW 2";
    else if(currentDNW.getCurrentStatus().getCalledAmount() == 3)
        return "DNW 3";

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private Image getDNWImage(DNWForTrackingVo currentDNW) 
{
    if(currentDNW == null ||currentDNW.getCurrentStatus() == null || currentDNW.getCurrentStatus().getCalledAmount() == null)
        return null;

    if(currentDNW.getCurrentStatus().getCalledAmount() == 1)
        return form.getImages().Emergency.DNW1;
    else if(currentDNW.getCurrentStatus().getCalledAmount() == 2)
        return form.getImages().Emergency.DNW2;
    else if(currentDNW.getCurrentStatus().getCalledAmount() == 3)
        return form.getImages().Emergency.DNW3;

    return null;
}
项目:openmaxims-linux    文件:Logic.java   
private String getDNWTooltip(DNWForTrackingVo currentDNW) 
{
    if(currentDNW == null ||currentDNW.getCurrentStatus() == null || currentDNW.getCurrentStatus().getCalledAmount() == null)
        return null;

    if(currentDNW.getCurrentStatus().getCalledAmount() == 1)
        return "DNW 1";
    else if(currentDNW.getCurrentStatus().getCalledAmount() == 2)
        return "DNW 2";
    else if(currentDNW.getCurrentStatus().getCalledAmount() == 3)
        return "DNW 3";

    return null;
}
项目:openmaxims-linux    文件:Logic.java   
private Image getDNWImage(DNWForTrackingVo currentDNW) 
{
    if(currentDNW == null ||currentDNW.getCurrentStatus() == null || currentDNW.getCurrentStatus().getCalledAmount() == null)
        return null;

    if(currentDNW.getCurrentStatus().getCalledAmount() == 1)
        return form.getImages().Emergency.DNW1;
    else if(currentDNW.getCurrentStatus().getCalledAmount() == 2)
        return form.getImages().Emergency.DNW2;
    else if(currentDNW.getCurrentStatus().getCalledAmount() == 3)
        return form.getImages().Emergency.DNW3;

    return null;
}