Examples of queryHistoryValue()


Examples of com.narirelays.ems.exchange.sophic.SophicHistoryDAO.queryHistoryValue()

    else//sum,max,min,count,avg等函数
    {
      SophicHistoryDAO sophicHistoryDAO = (SophicHistoryDAO)StorageService.ctx.getBean("sophicHistoryDAO");
      if(sophicHistoryDAO!=null)
      {
        List<Double> values = sophicHistoryDAO.queryHistoryValue(table_meta_name, table_unit, id_col_name, value_col_name, time_col_name, key, startTime, endTime, interval, target, 0);
        if(values!=null&&values.size()>0)
          value = values.get(0);         
      }     
    }
    return value;
View Full Code Here

Examples of com.narirelays.ems.exchange.sophic.SophicHistoryDAO.queryHistoryValue()

    String value_col_name = "value";
    String time_col_name = "attr_time";
    SophicHistoryDAO sophicHistoryDAO = (SophicHistoryDAO)StorageService.ctx.getBean("sophicHistoryDAO");
    if(sophicHistoryDAO!=null)
    {
      values = sophicHistoryDAO.queryHistoryValue(table_meta_name, table_unit, id_col_name, value_col_name, time_col_name, key, startTime, endTime, interval, null, 1);
    }
    return values;
  }
 
  /**
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.