public AlarmService(IThingService thingservice, ApplicationDbContext context, IHistorianAlarmsService historianService, IConfiguration configuration)
 {
     _context          = context;
     _historianService = historianService;
     _configuration    = configuration;
     _thingservice     = thingservice;
 }
 public HistorianAlarmController(IHistorianAlarmsService historianAlarmsService)
 {
     _historianAlarmsService = historianAlarmsService;
 }