XT.ViewDataServices 2.0.7

dotnet add package XT.ViewDataServices --version 2.0.7
                    
NuGet\Install-Package XT.ViewDataServices -Version 2.0.7
                    
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="XT.ViewDataServices" Version="2.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XT.ViewDataServices" Version="2.0.7" />
                    
Directory.Packages.props
<PackageReference Include="XT.ViewDataServices" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add XT.ViewDataServices --version 2.0.7
                    
#r "nuget: XT.ViewDataServices, 2.0.7"
                    
#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.
#:package XT.ViewDataServices@2.0.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=XT.ViewDataServices&version=2.0.7
                    
Install as a Cake Addin
#tool nuget:?package=XT.ViewDataServices&version=2.0.7
                    
Install as a Cake Tool

简介: 一个针对ECS调度大屏的数据服务,包含获取视图和点位信息的API接口服务和实现数据轮询刷新的MQTT服务,支持AOT模式。

使用方式: EcsTagApi服务使用:

   GetTags(string viewName):获取视图点位,传入视图名称

   GetViews():获取所有视图

   Login(LoginDto login)登录

   ChangeToUnits(EcsMainView view) 点位转换,传入从GetTags获取的点位信息

   GetView(EcsMainView view) 获取视图相关信息

   PS:记得在程序启动时,设置IApiConfig的RemoteApiUrl远程接口地址

MqttServer服务使用:
   
   InitMqttClient(string serverIp,int serverPort):初始化mqtt客户端,传入ip地址和端口。
   服务自动订阅 Cv,Sc,Bcr,Other主题并对数据进行处理
   你需要订阅UnitDataService下的DataRefreshEvent事件,并根据接收的主题类型进行处理,即可实现数据轮询。
   

    
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 XT.ViewDataServices:

Package Downloads
AvaloniaXT

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.7 297 12/16/2025
2.0.6 268 12/16/2025
2.0.5 259 12/16/2025
2.0.4 266 12/16/2025
2.0.3 403 11/19/2025
2.0.2 199 11/4/2025
2.0.1 186 10/20/2025
2.0.0 293 9/19/2025
1.0.3 158 7/30/2025
1.0.2 150 6/7/2025
1.0.1 199 6/3/2025
1.0.0 259 4/17/2025