From 2a7f09325b6044b5090fca8c663ef675da9973e5 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期一, 24 十月 2022 16:08:40 +0800
Subject: [PATCH] 定义南通控制接口形式

---
 Application/IStation.Application.Monitor/monitor_control/MonitorControlNTConfigure_Controller.cs |   56 ++++++++++++++++++++++++++++
 Application/IStation.Application.Monitor/monitor_control/dto/NTTestChangeInput.cs                |   19 +++++++++
 2 files changed, 75 insertions(+), 0 deletions(-)

diff --git a/Application/IStation.Application.Monitor/monitor_control/MonitorControlNTConfigure_Controller.cs b/Application/IStation.Application.Monitor/monitor_control/MonitorControlNTConfigure_Controller.cs
new file mode 100644
index 0000000..9b1565e
--- /dev/null
+++ b/Application/IStation.Application.Monitor/monitor_control/MonitorControlNTConfigure_Controller.cs
@@ -0,0 +1,56 @@
+锘縰sing Microsoft.AspNetCore.Mvc;
+using System.Net;
+using System.Net.Http.Headers;
+using Microsoft.Extensions.Hosting.Internal;
+using Microsoft.AspNetCore.Http.Extensions;
+using IStation.Untity;
+using Furion.DynamicApiController;
+using System.ComponentModel.DataAnnotations;
+using Mapster;
+
+
+namespace IStation.Application
+{
+    /// <summary>
+    /// MonitorControlNT
+    /// </summary>
+    [Route("Monitor/Control/NT")]
+    [ApiDescriptionSettings("Monitor", Name = "鐩戞祴鍗楅�氭帶鍒�", Order = 400)]
+    public class MonitorControlNT_Controller : IDynamicApiController 
+    {
+
+        /// <summary>
+        /// 娴嬭瘯鍚姩
+        /// </summary>
+        [Route("TestStart@V1.0")]
+        [HttpPost]
+        public bool TestStart()
+        {
+            return true;
+        }
+
+        /// <summary>
+        /// 娴嬭瘯鍏抽棴
+        /// </summary>
+        [Route("TestStop@V1.0")]
+        [HttpPost]
+        public bool TestStop()
+        {
+            return true;
+        }
+
+        /// <summary>
+        /// 娴嬭瘯鍙橀
+        /// </summary>
+        [Route("TestChange@V1.0")]
+        [HttpPost]
+        public bool TestChange(NTTestChangeInput input)
+        {
+            return true;
+        }
+
+
+
+
+    }
+}
\ No newline at end of file
diff --git a/Application/IStation.Application.Monitor/monitor_control/dto/NTTestChangeInput.cs b/Application/IStation.Application.Monitor/monitor_control/dto/NTTestChangeInput.cs
new file mode 100644
index 0000000..7d5e968
--- /dev/null
+++ b/Application/IStation.Application.Monitor/monitor_control/dto/NTTestChangeInput.cs
@@ -0,0 +1,19 @@
+锘縰sing System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace IStation.Application
+{
+    /// <summary>
+    /// 鍗楅�氭祴璇曞彉棰戣緭鍏�
+    /// </summary>
+    public class NTTestChangeInput
+    {
+        /// <summary>
+        /// 棰戠巼
+        /// </summary>
+        public double HZ { get; set; }
+    }
+}

--
Gitblit v1.9.3