Example #1
0
        public static DataListModel <Production_AlarmModel> GetList(int page, int pagesize, string sidx, string sord, string Where)
        {
            string jsonStr = "[]";
            DataListModel <Production_AlarmModel> userList = Production_AlarmModelDAL.GetList(page, pagesize, sidx, sord, Where);

            return(userList);
            //List<UserM_Menu> menuList = UserM_MenuDAL.GetUserMenuList();
            //jsonStr = JSONTools.ScriptSerialize<DataListModel<Production_Model>>(userList);
            //return jsonStr;
        }
Example #2
0
 public static DataTable getTable(string date_time, int PageSize, int StartIndex, int EndIndex, string sort, string order, string wherestr, out int totalcount)
 {
     return(Production_AlarmModelDAL.getTable(date_time, PageSize, StartIndex, EndIndex, sort, order, wherestr, out totalcount));
 }