public static bool Update(System.Int32 zoneId, System.Int32 analyseType, System.String hour, System.DateTime recordDate, System.DateTime curTime, System.Int32 curValue, DbTransaction trans = null) { StatisticDetailProvider provider = new StatisticDetailProvider(); return(provider.Update(zoneId, analyseType, hour, recordDate, curTime, curValue, trans)); }
public static bool Update(StatisticDetailEntity statisticDetailEntity, DbTransaction trans = null) { var provider = new StatisticDetailProvider(); return(provider.Update(statisticDetailEntity, trans)); }
public static bool Create(System.Int32 zoneId, System.DateTime curDate, DbTransaction trans = null) { StatisticDetailProvider provider = new StatisticDetailProvider(); return(provider.Create(zoneId, curDate, trans)); }
public static bool Delete(System.Int64 idx, DbTransaction trans = null) { StatisticDetailProvider provider = new StatisticDetailProvider(); return(provider.Delete(idx, trans)); }
public static List <StatisticDetailEntity> GetbyDate(System.Int32 zoneId, System.DateTime startTime, System.DateTime endTime) { var provider = new StatisticDetailProvider(); return(provider.GetbyDate(zoneId, startTime, endTime)); }
public static List <StatisticDetailEntity> GetAll() { var provider = new StatisticDetailProvider(); return(provider.GetAll()); }
public static StatisticDetailEntity GetById(System.Int64 idx) { var provider = new StatisticDetailProvider(); return(provider.GetById(idx)); }