forked from ddrilling/AsbCloudServer
31 lines
978 B
C#
31 lines
978 B
C#
using AsbCloudApp.Data.SAUB;
|
|
using AsbCloudApp.Services;
|
|
using AsbCloudWebApi.SignalR;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.AspNetCore.SignalR;
|
|
|
|
namespace AsbCloudWebApi.Controllers.SAUB
|
|
{
|
|
/// <summary>
|
|
/// Данные осциллятора и демпфера
|
|
/// </summary>
|
|
[Route("api/[controller]")]
|
|
[ApiController]
|
|
public class TelemetryDataSpinController : TelemetryDataBaseController<TelemetryDataSpinDto>
|
|
{
|
|
public TelemetryDataSpinController(
|
|
ITelemetryService telemetryService,
|
|
ITelemetryDataService<TelemetryDataSpinDto> telemetryDataService,
|
|
IWellService wellService,
|
|
IHubContext<TelemetryHub> telemetryHubContext)
|
|
: base(
|
|
telemetryService,
|
|
telemetryDataService,
|
|
wellService,
|
|
telemetryHubContext)
|
|
{
|
|
SignalRMethodGetDataName = "ReceiveDataSpin";
|
|
}
|
|
}
|
|
}
|