コード例 #1
0
 public bool HasRegister(string deviceSn, ValueObject.DeviceType type)
 {
     throw new NotImplementedException();
 }
コード例 #2
0
 public void RegisterDevice(string deviceSn, ValueObject.DeviceType type)
 {
     throw new NotImplementedException();
 }
コード例 #3
0
        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));
        }
コード例 #4
0
        public void RegisterDevice(string deviceSn, ValueObject.DeviceType type)
        {
            var dataAdapter = DataAdapterFactory.DbFactory(MachinesSettings.Mode, StoreId, MachineSN, CompanyId, DeviceSn);

            dataAdapter.RegisterDevice(deviceSn, type);
        }
コード例 #5
0
 public bool HasRegister(string deviceSn, ValueObject.DeviceType type, bool verfyState = true)
 {
     return(DeviceRegInfoService.HasRegister(StoreId, MachineSN, deviceSn, type, CompanyId, verfyState));
 }
コード例 #6
0
 public void RegisterDevice(string deviceSn, ValueObject.DeviceType type)
 {
     DeviceRegInfoService.RegisterDevice(StoreId, MachineSN, deviceSn, type, CompanyId);
 }