TZ.ViewDataServices
2.0.4
dotnet add package TZ.ViewDataServices --version 2.0.4
NuGet\Install-Package TZ.ViewDataServices -Version 2.0.4
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="TZ.ViewDataServices" Version="2.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TZ.ViewDataServices --version 2.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TZ.ViewDataServices, 2.0.4"
#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 TZ.ViewDataServices as a Cake Addin #addin nuget:?package=TZ.ViewDataServices&version=2.0.4 // Install TZ.ViewDataServices as a Cake Tool #tool nuget:?package=TZ.ViewDataServices&version=2.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
简介: 一个针对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 | Versions 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- CommunityToolkit.Mvvm (>= 8.3.0)
- IotContract (>= 1.0.2)
- MQTTnet (>= 4.3.6.1152)
- XT.Common (>= 1.1.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.