예제 #1
0
        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));
        }
예제 #2
0
        public ActionResult FindPageList()
        {
            int count;
            var list = DeviceRegInfoService.FindPageList(out count);

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

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

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