public ActionResult FindPageByWhere(int machineType, string store, int status, string keyword)
        {
            int count;
            var list = DeviceRegInfoService.FindPageListByWhere(machineType, store, status, keyword, out count);

            return(ToDataGrid(list, count));
        }
        public ActionResult FindPageList()
        {
            int count;
            var list = DeviceRegInfoService.FindPageList(out count);

            return(ToDataGrid(list, count));
        }
Example #3
0
 public bool HasRegister(string deviceSn, DeviceType type, bool verfyState = true)
 {
     return(DeviceRegInfoService.HasRegister(StoreId, MachineSN, deviceSn, type, CompanyId, verfyState));
 }
Example #4
0
 public void RegisterDevice(string deviceSn, DeviceType type)
 {
     DeviceRegInfoService.RegisterDevice(StoreId, MachineSN, deviceSn, type, CompanyId);
 }
        public ActionResult SaveMemo(int id, string memo)
        {
            var result = DeviceRegInfoService.SetMemo(id, memo);

            return(new Pharos.Utility.JsonNetResult(result));
        }
        public ActionResult SetDevState(string ids, short state)
        {
            var result = DeviceRegInfoService.SetDevState(ids, state);

            return(new Pharos.Utility.JsonNetResult(result));
        }