|
@@ -23,6 +23,7 @@ using WingInterfaceLibrary.Enum;
|
|
|
using WingInterfaceLibrary.DTO.Organization;
|
|
|
using WingInterfaceLibrary.DTO.DiagnosisModule;
|
|
|
using WingServerCommon.Config.Parameters;
|
|
|
+using WingServerCommon.Interfaces.Cache;
|
|
|
|
|
|
namespace WingDeviceService.Service
|
|
|
{
|
|
@@ -892,11 +893,7 @@ namespace WingDeviceService.Service
|
|
|
DiagnosisModule = request.DiagnosisModule,
|
|
|
Enabled = request.Enabled
|
|
|
});
|
|
|
- await _remedicalService.DeviceDiagnosisChanged(new DeviceDiagnosisChangedNotification
|
|
|
- {
|
|
|
- Token = request.Token,
|
|
|
- DeviceCode = request.DeviceCode,
|
|
|
- });
|
|
|
+ CacheMaintenance.Instance.Get<IDeviceInfosManager>().Remove(request.DeviceCode);
|
|
|
return result;
|
|
|
}
|
|
|
|