Exemplo n.º 1
0
        public static bool Update(System.Int32 zoneId, System.String hour, System.DateTime recordDate, System.DateTime curTime, System.Int32 curValue, System.Int64 totalMinutes, DbTransaction trans = null)
        {
            StatisticOnlineProvider provider = new StatisticOnlineProvider();

            return(provider.Update(zoneId, hour, recordDate, curTime, curValue, totalMinutes, trans));
        }
Exemplo n.º 2
0
        public static bool Update(StatisticOnlineEntity statisticOnlineEntity, DbTransaction trans = null)
        {
            var provider = new StatisticOnlineProvider();

            return(provider.Update(statisticOnlineEntity, trans));
        }
Exemplo n.º 3
0
        public static bool Create(System.Int32 zoneId, System.DateTime curDate, DbTransaction trans = null)
        {
            StatisticOnlineProvider provider = new StatisticOnlineProvider();

            return(provider.Create(zoneId, curDate, trans));
        }
Exemplo n.º 4
0
        public static bool Delete(System.Int64 idx, DbTransaction trans = null)
        {
            StatisticOnlineProvider provider = new StatisticOnlineProvider();

            return(provider.Delete(idx, trans));
        }
Exemplo n.º 5
0
        public static List <StatisticOnlineEntity> GetbyDate(System.Int32 zoneId, System.DateTime startTime, System.DateTime endTime)
        {
            var provider = new StatisticOnlineProvider();

            return(provider.GetbyDate(zoneId, startTime, endTime));
        }
Exemplo n.º 6
0
        public static List <StatisticOnlineEntity> GetAll()
        {
            var provider = new StatisticOnlineProvider();

            return(provider.GetAll());
        }
Exemplo n.º 7
0
        public static StatisticOnlineEntity GetById(System.Int64 idx)
        {
            var provider = new StatisticOnlineProvider();

            return(provider.GetById(idx));
        }