Sripe.DataAcquisition.WellTesting 0.23.0
Sripe试油试气数据采集组件使用说明
1 概述
Introduction: This package provide the base classes and interfaces which could be used to build welltesting data acquiring program.
What's in it:
- IRealtimeRecordAcquirer: Base interface of front-end data acquiring. Sripe.SiteApp uses it to acquire data. You should implement this interface according to the specific equipment model.
- RealtimeRecordAcquiredEventArg: event argument class for new data acquired event.
2 What's new:
- 0.23.0(2023.7.16):
- *Update Dependences.
- 0.22.0(2023.7.16):
- *Update Dependences.
- 0.21.0(2023.7.16):
- *Update Dependences.
- 0.20.0(2023.7.16):
- *Update Dependences.
- 0.19.0(2023.7.15):
- *Update Dependences.
- 0.18.0(2023.7.14):
- *Update Dependences.
- 0.17.0(2023.7.14):
- *Update Dependences.
- 0.16.0(2023.7.14):
- *Update Dependences.
- 0.15.0(2023.7.13):
- *Update Dependences.
- 0.14.0(2023.7.10):
- *Update Dependences.
- 0.13.0(2023.6.5):
- *Update Dependences.
- 0.12.0(2023.1.5):
- *Update Dependences.
- 0.11.0(2022.12.13):
- *Update Dependences.
- 0.10.0(2022.12.12):
- *Update Dependences.
- 0.9.0(2022.10.27):
- *Update Dependences.
- 0.8.18(2022.4.15):
- *Update Dependences.
- 0.7.18(2022.4.14):
- *Update Dependences.
- 0.6.18(2022.4.9):
- *Update Dependences.
- 0.5.18(2022.4.9):
- *Update Dependences.
- 0.4.18(2022.4.9):
- *Update Dependences.
- 0.3.18(2022.4.1):
- *Parser derived from SripeRealtimeRawDataParserBase
- 0.3.14(2021.12.7):
- *update dep
- 0.3.13(2020.11.24):
- +exproRawStringParser2
- 0.3.11(2020.10.15):
- *update pkg.
- 0.3.3(2020.09.27):
- *update pkg.
- 0.2.3(2020.9.25):
- +ExproRawStringReaderMock
- +FarduxRawStringReaderMock
- 0.1.9(2020.9.24):
- +datanameattribute
- +RealtimeMonitorControlDisplay(false) for some fields
- +loggers in ctors.
- 0.1.6(2020.9.23):
- *configs.
- 0.1.1(2020.9.22):
- +config for expro and fardux.
- 0.1.0(2020.9.22):
- *Move back from Sripe.DataAcquisition
3 准备工作
- 安装
Sripe.DataAcquisition.MWD
包 - 在代码文件中引用
Sripe.DataAcquisition.MWD
命名空间
4 使用采集器
构建新实例:
var acquirer = new MwdReliableAcquirer(30000, null); acquirer.OnDataAcquired += (s, e) => { //mwd realtime data in e.Record };
启动采集器:
acquirer.StartAcquiringAsync();
停止采集, 关闭底层的网络资源.
acquirer.Close();
5 使用采集模拟器
构建新实例:
var acquirer = new MwdAcquirerSimulator(); acquirer.OnDataAcquired += (s, e) => { //mwd realtime data in e.Record };
启动采集器:
acquirer.StartAcquiringAsync();
停止采集, 关闭资源.
acquirer.Close();
6 启用日志
使用内置日志机制(内部使用NLog)
using ijw.Next.Log var _logger = LogHelper.GetNLogger(); //然后可以将_logger传入采集器的构造函数中, 如: var acquirer = new MudLogReliableAcquirer(30000, _logger);
启动项目增加
NLog.config
文件, 并复制到生成文件夹中.项目运行后, 会根据
NLog.config
中的配置生成日志, 一般来说是在logs
文件夹下面按时间生成文件(第三方组件NLog
的功能).
7 其他
- 数据采集使用了事件处理器, 因此可能有内存泄露, 注意close之后, 解绑事件处理器挂载, 方便GC回收.
Showing the top 20 packages that depend on Sripe.DataAcquisition.WellTesting.
Packages | Downloads |
---|---|
Sripe.SiteApp
What's New:
0.9.1(2020.9.27):
+EF Core support.
0.8.3(2020.7.1):
+EF Core support.
0.8.2(2020.1.10):
+local ipendpoint
0.8.1(2019.12.28):
*null or empty data disgard.
0.8.0(2019.11.14):
*Dependence update.
0.7.7(2019.11.13):
*Dependence update.
0.7.5(2019.11.13):
*MultiTargetSiteSender: use async cache for net45.
*SiteApp: use async cache for net45.
0.7.3(2019.11.5):
*Async support.
0.7.2(2019.11.5):
*Dependence update.
0.6.3(2019.11.4):
+MultiTargetSiteApp and MultiTargetSiteSender classes.
+Dependence update.
*fix: LogCleaner may crash.
0.5.2(2019.11.1):
*Dependence update.
0.5.1(2019.10.22):
*Add runtime info/error events.
0.4.9(2019.10.21):
*Dependence update.
0.4.7(2019.10.18):
*Dependence update.
0.4.3(2019.10.17):
*Dependence update.
0.4.1(2019.10.16):
+Cleaning logs for the specific number of days ago.
0.3.0(2019.10.9):
+First release.
Introduction:
This package includes a SiteApp class for building Sripe on-site application.
What's in it:
SiteApp class, which uses SripeDataClient and IDataAcquirer to simplify
|
2 |
Sripe.DataAcquisition.WellTesting.HYSystem
What's New:
0.2.6(2020.9.26):
+HYAcquirer.
0.1.0(2019.12.29):
+First release.
Introduction:
This package provides the data acquiring class for the HYSystem.
|
1 |
.NET Framework 4.0
- Sripe.DataAcquisition (>= 2.5.12)
- IndexRange (>= 1.0.2)
- ijw.Next.Log (>= 0.2.3)
- ijw.Next (>= 0.7.6)
.NET Standard 2.1
- ijw.Next.Log (>= 0.2.3)
- ijw.Next (>= 0.7.6)
- Sripe.DataAcquisition (>= 2.5.12)
.NET Standard 2.0
- ijw.Next.Log (>= 0.2.3)
- ijw.Next (>= 0.7.6)
- IndexRange (>= 1.0.2)
- Sripe.DataAcquisition (>= 2.5.12)
.NET 6.0
- ijw.Next (>= 0.7.6)
- Sripe.DataAcquisition (>= 2.5.12)
- ijw.Next.Log (>= 0.2.3)
.NET 5.0
- ijw.Next (>= 0.7.6)
- ijw.Next.Log (>= 0.2.3)
- Sripe.DataAcquisition (>= 2.5.12)
.NET Framework 4.5
- Sripe.DataAcquisition (>= 2.5.12)
- ijw.Next (>= 0.7.6)
- ijw.Next.Log (>= 0.2.3)
- IndexRange (>= 1.0.2)
Version | Downloads | Last updated |
---|---|---|
0.23.0 | 1 | 2025/4/17 |