diff --git a/AsbCloudApp/Data/ClusterMseStatDto.cs b/AsbCloudApp/Data/ClusterMseStatDto.cs
deleted file mode 100644
index 4b3841ef..00000000
--- a/AsbCloudApp/Data/ClusterMseStatDto.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-namespace AsbCloudApp.Data
-{
- public class ClusterMseStatDto
- {
- public double MseMax { get; set; }
- public double MseAverage { get; set; }
- }
-}
\ No newline at end of file
diff --git a/AsbCloudApp/Data/ClusterRopStatDto.cs b/AsbCloudApp/Data/ClusterRopStatDto.cs
new file mode 100644
index 00000000..92af0004
--- /dev/null
+++ b/AsbCloudApp/Data/ClusterRopStatDto.cs
@@ -0,0 +1,8 @@
+namespace AsbCloudApp.Data
+{
+ public class ClusterRopStatDto
+ {
+ public double RopMax { get; set; }
+ public double RopAverage { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/AsbCloudWebApi/Controllers/ClusterOperationStatController.cs b/AsbCloudWebApi/Controllers/ClusterOperationStatController.cs
index 139b2951..60b652e0 100644
--- a/AsbCloudWebApi/Controllers/ClusterOperationStatController.cs
+++ b/AsbCloudWebApi/Controllers/ClusterOperationStatController.cs
@@ -37,9 +37,9 @@ namespace AsbCloudWebApi.Controllers
/// id скважины с данного куста (через нее будут полуены данные)
///
/// Возвращает данные по среднему и максимальному МСП на кусту
- [HttpGet("{idWell}/mseStat")]
- [ProducesResponseType(typeof(ClusterMseStatDto), (int)System.Net.HttpStatusCode.OK)]
- public async Task GetClusterMseStatAsync([FromRoute] int idWell,
+ [HttpGet("{idWell}/ropStat")]
+ [ProducesResponseType(typeof(ClusterRopStatDto), (int)System.Net.HttpStatusCode.OK)]
+ public async Task GetClusterRopStatAsync([FromRoute] int idWell,
CancellationToken token = default)
{
if (!await CanUserAccessToWellAsync(idWell, token).ConfigureAwait(false))
@@ -48,10 +48,10 @@ namespace AsbCloudWebApi.Controllers
// var result = await operationService.GetOperationsAsync(
// idWell, token).ConfigureAwait(false);
- var result = new ClusterMseStatDto()
+ var result = new ClusterRopStatDto()
{
- MseMax = 3.2,
- MseAverage = 1.1
+ RopMax = 3.2,
+ RopAverage = 1.1
};
return Ok(result);