forked from ddrilling/AsbCloudServer
0b1f9683b9
reafctor TelemetryHub; Add wellDepth into TelemetryMessage
30 lines
951 B
C#
30 lines
951 B
C#
using AsbCloudApp.Data;
|
|
using AsbCloudApp.Services;
|
|
using AsbCloudWebApi.SignalR;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.AspNetCore.SignalR;
|
|
|
|
namespace AsbCloudWebApi.Controllers
|
|
{
|
|
[Route("api/[controller]")]
|
|
[ApiController]
|
|
public class TelemetryDataSpinController : TelemetryDataBaseController<TelemetryDataSpinDto>
|
|
{
|
|
public TelemetryDataSpinController(
|
|
ITelemetryTracker telemetryTracker,
|
|
ITelemetryService telemetryService,
|
|
ITelemetryDataService<TelemetryDataSpinDto> telemetryDataService,
|
|
IWellService wellService,
|
|
IHubContext<TelemetryHub> telemetryHubContext)
|
|
: base(
|
|
telemetryTracker,
|
|
telemetryService,
|
|
telemetryDataService,
|
|
wellService,
|
|
telemetryHubContext)
|
|
{
|
|
SirnalRMethodGetDataName = "ReceiveDataSpin";
|
|
}
|
|
}
|
|
}
|