Innorev.App 1.2.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Innorev.App --version 1.2.2                
NuGet\Install-Package Innorev.App -Version 1.2.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Innorev.App" Version="1.2.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Innorev.App --version 1.2.2                
#r "nuget: Innorev.App, 1.2.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Innorev.App as a Cake Addin
#addin nuget:?package=Innorev.App&version=1.2.2

// Install Innorev.App as a Cake Tool
#tool nuget:?package=Innorev.App&version=1.2.2                

Innorev.App Json配置

"InnorevWebAppOptions": { // 调用Innorev.App库
    "AppName": "IOCollector", // 程序名
    "Silverback": true, // 是否启用Silverback
    "Subscriber": true, // 是否订阅Silverback监听事件,订阅后需要在SubscriberServices中配置订阅数据
    "MQType": "MQTT", // 消息类型None,MQTT,Kafka,RabbitMQ
    "EndpointsConfigurator": { // Silverback端点配置信息
      "ClientId": "IOCollector", // 配置当前程序集中使用Silverback的客户端ID,必须唯一
      "ConnectAddress": "localhost", // TCP方式连接Borker的地址
      "Port": 1883, // 连接Borker的端口
      "User": "admin", // 连接Borker的权限认证 用户
      "Password": "password", // 连接Borker的权限认证 密码
      "MessageFiles": [ //反射获取订阅消息类型所在程序集:List<string>格式存储
        "Common.DLL"
      ],
      "Outbounds": [ //出站端点配置信息:集合类储存(发出消息类型配置),配置信息中:类必须在MessageFiles中配置好
        {
          "MessageClass": "OpcExchangeMessage", // 发出消息类
          "TopicName": "IOCollector/BasicMessage", // 订阅主题
          "MqttQualityOfServiceLevel": 1 // 消息质量 AtMostOnce:0,AtLeastOnce:1,ExactlyOnce:2
        }
      ],
      "Inbound": { //入站端点配置信息:集合类储存(接收消息类型配置)
        "Topics": [ // 订阅主题:List<string>格式存储
          "Dispatcher/BasicMessage",
          "Dispatcher/CommandMessage"
        ],
        "MqttQualityOfServiceLevel": 1, // 消息质量 AtMostOnce:0,AtLeastOnce:1,ExactlyOnce:2,库中暂未实现
        "OnError": "Skip" // 库中暂未实现
      }
    },
    "SubscriberServices": [ // 配置订阅数据监听事件:集合类储存,与Subscriber联立
      {
        "SubscriberName": "IOConnector.DLL", // 订阅数据监听事件类所在程序集
        "Subscribers": [ // 订阅类:List<string>格式存储,监听事件函数的入参
          "ReceiveMessage"
        ]
      }
    ],
    "RegisterServices": {// 注册程序集:依赖注入服务配置和后台服务配置
      "RegisterAssmbly": true,  // 是否加载依赖注入程序集
      "AssemblyNames": [
        {
          "AssemblyName": "IOConnector.DLL",
          "AddSingletons": [ // 生命周期:单例,依赖注入配置类集合:List<string>格式存储,注入类名
            "PublishQueue",
            "ReceiveQueue",
            "OpcTags"
          ],
          "AddScopes": [ // 生命周期:作用域,依赖注入配置类集合:List<string>格式存储,注入类名
          ],
          "AddTransients": [ // 生命周期:瞬时,依赖注入配置类集合:List<string>格式存储,注入类名
            "OpcClient"
          ]
        }
      ],
      "RegisterHost": true, // 是否加载后台服务
      "Hosts": [ // 后台服务类配置:集合类储存,与RegisterHost联立
        {
          "HostName": "IOConnector.DLL", // 后台服务所在程序集
          "HostServices": [ // 后台服务集合:List<string>格式存储,后台服务类名
            "IOCollectService"
          ]
        }
      ]
    }
  }
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Innorev.App:

Package Downloads
Innorev.FrontEnd

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.4 357 12/6/2022
2.0.2 365 11/21/2022
2.0.1 351 11/21/2022
2.0.0 366 11/10/2022
1.2.4 373 11/10/2022
1.2.3 382 11/10/2022 1.2.3 is deprecated because it is no longer maintained and has critical bugs.
1.2.2 451 10/24/2022
1.2.1 408 10/19/2022
1.2.0 426 10/14/2022