package com.shlanbao.tzsc.data.runtime.bean; import java.util.ArrayList; import java.util.List; /** * 【源数据】数据快照 * 源数据:未经过任何处理的数据 * @author Leejean * @create 2015年1月22日下午2:10:03 */ public class DataSnapshot { private static DataSnapshot instance = null; private List eqpData;//这个是 全局变量 供大家使用 private DataSnapshot() { eqpData = new ArrayList(); } public static DataSnapshot getInstance(){ if (instance == null){ instance = new DataSnapshot(); } return instance; } /** * 【功能说明】:通过当前Id-5 取出前一次的设备数据 * * @createTime 2015年10月19日17:34:29 * @author wanchanghuang * */ public EquipmentData getEquipmentData(int eqp){ for(int i=0;i getEqpData() { return eqpData; } }