示例#1
0
 public ApiController(TermoHubContext context, ILastValues lastValues, IAlertReporter alertReporter)
 {
     this.context       = context;
     this.lastValues    = lastValues;
     this.alertReporter = alertReporter;
 }
示例#2
0
 public DeviceController(TermoHubContext context, ILastValues lastValues, IAuthorizationService authorization)
 {
     this.context       = context;
     this.lastValues    = lastValues;
     this.authorization = authorization;
 }