Salvini.IoTDB 2.13.970

There is a newer version of this package available.
See the version list below for details.
dotnet add package Salvini.IoTDB --version 2.13.970                
NuGet\Install-Package Salvini.IoTDB -Version 2.13.970                
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="Salvini.IoTDB" Version="2.13.970" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Salvini.IoTDB --version 2.13.970                
#r "nuget: Salvini.IoTDB, 2.13.970"                
#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 Salvini.IoTDB as a Cake Addin
#addin nuget:?package=Salvini.IoTDB&version=2.13.970

// Install Salvini.IoTDB as a Cake Tool
#tool nuget:?package=Salvini.IoTDB&version=2.13.970                

Salvini TimeSeries Client

采用 Apache IoTDB 实现,封装类似 PI、eDNA 传统实时历史数据库访问接口风格 采用 MongoDB 连接字符串格式,iotdb://root:admin#123@192.168.0.11:6667/database=lz

生成 rpc.thrift

https://github.com/apache/iotdb/blob/master/thrift/src/main/thrift/rpc.thrift

thrif -r -gen netstd rpc.thrift 

调用样例

using Salvini.IoTDB;

class Program
{
    static async Task Main(string[] args)
    {
        using var client1 = TimeSeriesClient.CreateInstance("iotdb://root:admin#123@192.168.145.120:6667/database=kylin");
        using var client2 = TimeSeriesClient.CreateInstance("iotdb://root:admin#123@192.168.145.120:6667/database=KylinAGC");

        await client2.InitializeAsync(new List<(string Tag, string Type, string Unit, string Desc)> { ("MW", "AI", "兆瓦", "机组负荷") });
        var archive1 = await client1.HistoryAsync(new List<string> { "AO_PL_RATE_PV" }, new DateTime(2022, 8, 4).AddHours(14), new DateTime(2022, 8, 4).AddHours(15), 4);
        await client2.BulkWriteAsync("AO_PL_RATE_PV", archive1["AO_PL_RATE_PV"]);
        var archive2 = await client2.HistoryAsync(new List<string> { "AO_PL_RATE_PV" }, new DateTime(2022, 8, 4).AddHours(14), new DateTime(2022, 8, 4).AddHours(15), 4);
    }
}

Version 2.13.970.0

[+] 解决 InitializeAsync 无法更新测点信息BUG [+] 去掉对 ApacheIoTDB 访问接口的直接公开,仅公开 TimeSeriesClient 对象 [-] Session, Client, ClientPool ...

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 Salvini.IoTDB:

Package Downloads
Salvini.TimeSeries.Client

时序数据库访问封装,支持MongoDB和Apache/IoTDB

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.13.1110 520 11/10/2022 2.13.1110 is deprecated because it is no longer maintained and has critical bugs.
2.13.985 532 9/16/2022 2.13.985 is deprecated because it is no longer maintained and has critical bugs.
2.13.980 518 8/18/2022 2.13.980 is deprecated because it is no longer maintained and has critical bugs.
2.13.970.817 526 8/16/2022 2.13.970.817 is deprecated because it is no longer maintained and has critical bugs.
2.13.970 534 8/10/2022 2.13.970 is deprecated because it is no longer maintained and has critical bugs.
2.13.960.810 583 8/10/2022 2.13.960.810 is deprecated because it is no longer maintained and has critical bugs.
2.13.960.807 569 8/6/2022 2.13.960.807 is deprecated because it is no longer maintained and has critical bugs.
2.13.960.806 575 8/6/2022 2.13.960.806 is deprecated because it is no longer maintained and has critical bugs.
2.13.960 553 8/5/2022 2.13.960 is deprecated because it is no longer maintained and has critical bugs.
1.13.760.1 1,819 5/5/2022 1.13.760.1 is deprecated because it is no longer maintained and has critical bugs.
1.13.760 539 4/28/2022 1.13.760 is deprecated because it is no longer maintained and has critical bugs.
1.0.23.310 299 3/10/2023 1.0.23.310 is deprecated because it is no longer maintained and has critical bugs.
1.0.23.306 292 3/6/2023 1.0.23.306 is deprecated because it is no longer maintained and has critical bugs.
1.0.23.216 285 2/16/2023 1.0.23.216 is deprecated because it is no longer maintained and has critical bugs.