import { _ } from '@biesbjerg/ngx-translate-extract/dist/utils/utils';
import { AbstractDevice, ApparatusSensorType, DeviceType } from './abstract-device';
import { DeviceParams, DeviceParamsModel, DeviceParamType } from './device-params';

export class DeviceMock extends AbstractDevice {
  readonly deviceType = DeviceType.Mock;
  apparatusVersion = DeviceType.Mock;
  apparatusSensorType = ApparatusSensorType.Geiger;
  hitsPeriod = 1000;
  sensorUUID = DeviceType.Mock;

  params: DeviceParams = {
    audioHits: true,
    visualHits: true
  };
  paramsModel: DeviceParamsModel = {
    audioHits: {
      label: <string>_('SENSORS.PARAM.AUDIO_HITS'),
      type: DeviceParamType.Boolean
    },
    visualHits: {
      label: <string>_('SENSORS.PARAM.VISUAL_HITS'),
      type: DeviceParamType.Boolean
    }
  };
}

import { _ } from '@biesbjerg/ngx-translate-extract/dist/utils/utils';
import { AbstractDevice, ApparatusSensorType, DeviceType } from './abstract-device';
import { DeviceParams, DeviceParamsModel, DeviceParamType } from './device-params';

export class DeviceMock extends AbstractDevice {
  readonly deviceType = DeviceType.Mock;
  apparatusVersion = DeviceType.Mock;
  apparatusSensorType = ApparatusSensorType.Geiger;
  hitsPeriod = 1000;
  sensorUuid = DeviceType.Mock;

  params: DeviceParams = {
    audioHits: true,
    visualHits: true
  };
  paramsModel: DeviceParamsModel = {
    audioHits: {
      label: <string>_('SENSORS.PARAM.AUDIO_HITS'),
      type: DeviceParamType.Boolean
    },
    visualHits: {
      label: <string>_('SENSORS.PARAM.VISUAL_HITS'),
      type: DeviceParamType.Boolean
    }
  };
}

--- 
+++ 
@@ -7,7 +7,7 @@
   apparatusVersion = DeviceType.Mock;
   apparatusSensorType = ApparatusSensorType.Geiger;
   hitsPeriod = 1000;
-  sensorUuid = DeviceType.Mock;
+  sensorUUID = DeviceType.Mock;
 
   params: DeviceParams = {
     audioHits: true,
Fix device mock sensor UUID
