Exemplo n.º 1
0
 public bool HasRegister(string deviceSn, ValueObject.DeviceType type)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 2
0
 public void RegisterDevice(string deviceSn, ValueObject.DeviceType type)
 {
     throw new NotImplementedException();
 }
        public bool HasRegister(string deviceSn, ValueObject.DeviceType type, bool verfyState = true)
        {
            var dataAdapter = DataAdapterFactory.DbFactory(MachinesSettings.Mode, StoreId, MachineSN, CompanyId, DeviceSn);

            return(dataAdapter.HasRegister(deviceSn, type, verfyState));
        }
        public void RegisterDevice(string deviceSn, ValueObject.DeviceType type)
        {
            var dataAdapter = DataAdapterFactory.DbFactory(MachinesSettings.Mode, StoreId, MachineSN, CompanyId, DeviceSn);

            dataAdapter.RegisterDevice(deviceSn, type);
        }
 public bool HasRegister(string deviceSn, ValueObject.DeviceType type, bool verfyState = true)
 {
     return(DeviceRegInfoService.HasRegister(StoreId, MachineSN, deviceSn, type, CompanyId, verfyState));
 }
 public void RegisterDevice(string deviceSn, ValueObject.DeviceType type)
 {
     DeviceRegInfoService.RegisterDevice(StoreId, MachineSN, deviceSn, type, CompanyId);
 }