forked from ddrilling/AsbCloudServer
TelemetryDataBaseController. Spelling in var names
This commit is contained in:
parent
f02346a24a
commit
1c01411ba9
@ -23,7 +23,7 @@ namespace AsbCloudWebApi.Controllers.SAUB
|
||||
private readonly ITelemetryDataService<TDto> telemetryDataService;
|
||||
private readonly IHubContext<TelemetryHub> telemetryHubContext;
|
||||
|
||||
public string SirnalRMethodGetDataName { get; protected set; } = "ReceiveData";
|
||||
public string SignalRMethodGetDataName { get; protected set; } = "ReceiveData";
|
||||
|
||||
public TelemetryDataBaseController(
|
||||
ITelemetryService telemetryService,
|
||||
@ -55,7 +55,7 @@ namespace AsbCloudWebApi.Controllers.SAUB
|
||||
var idWell = telemetryService.GetIdWellByTelemetryUid(uid);
|
||||
if (idWell is not null && dtos.Any())
|
||||
_ = Task.Run(() => telemetryHubContext.Clients.Group($"well_{idWell}")
|
||||
.SendAsync(SirnalRMethodGetDataName, dtos), CancellationToken.None);
|
||||
.SendAsync(SignalRMethodGetDataName, dtos), CancellationToken.None);
|
||||
|
||||
return Ok();
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ namespace AsbCloudWebApi.Controllers.SAUB
|
||||
wellService,
|
||||
telemetryHubContext)
|
||||
{
|
||||
SirnalRMethodGetDataName = "ReceiveDataSaub";
|
||||
SignalRMethodGetDataName = "ReceiveDataSaub";
|
||||
telemetryDataSaubService = telemetryDataService;
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ namespace AsbCloudWebApi.Controllers.SAUB
|
||||
wellService,
|
||||
telemetryHubContext)
|
||||
{
|
||||
SirnalRMethodGetDataName = "ReceiveDataSpin";
|
||||
SignalRMethodGetDataName = "ReceiveDataSpin";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user