修改了http服务器无法正确处理post请求入参;添加了modbus tcp客户端支持。

This commit is contained in:
fengjiayi
2025-07-23 15:57:57 +08:00
parent acf0b87ad0
commit 4e20e816ae
24 changed files with 2466 additions and 189 deletions

View File

@@ -36,10 +36,10 @@ namespace Serein.Library.Web
/// <summary>
/// 标记该类为 Web Api 处理类
/// </summary>
public class AutoHostingAttribute : Attribute
public class WebApiControllerAttribute : Attribute
{
public string Url { get; }
public AutoHostingAttribute(string url = "")
public WebApiControllerAttribute(string url = "")
{
this.Url = url;
}