ComtradeHandler 1.0.3
dotnet add package ComtradeHandler --version 1.0.3
NuGet\Install-Package ComtradeHandler -Version 1.0.3
<PackageReference Include="ComtradeHandler" Version="1.0.3" />
paket add ComtradeHandler --version 1.0.3
#r "nuget: ComtradeHandler, 1.0.3"
// Install ComtradeHandler as a Cake Addin #addin nuget:?package=ComtradeHandler&version=1.0.3 // Install ComtradeHandler as a Cake Tool #tool nuget:?package=ComtradeHandler&version=1.0.3
Comtrade Handler
A C# library that allows to read and write Comtrade (IEEE C37.111 / IEC 60255-24) files.
The base for the code was taken from Wisp.Comtrade (MIT). All credits to Esticonv.
The base repository was (I thought) inactive and was .NetFramework4 compatible only (2020). I required .NetCore3 so I migrated it for personal use.
The source repository has added some changes since then, and is currently on version v0.9.5 (2022).
These (v0.9.5) changes have been migrated to this project as well.
The main difference with the original repo, is that this repository uses xUnit
and the code has been reformatted with my own .editorConfig
rules.
I also added some tests with some sample Comtrade files from this repo.
This repository has the following features:
- Supports 1991, 1999 and 2013 revisions.
- Supports ASCII and Binary files.
- Supports
.cfg
,.dat
and.cff
files. Does not support.hdr
files.
Installation
You can get the library from Nuget via
> dotnet add package ComtradeHandler
Usage
There are some tests that show how to read and write the COMTRADE files.
Both ComtradeHandler.UnitTests\RecordReaderTest.cs
and ComtradeHandler.UnitTests\RecordWriterTest.cs
are good starting points to see how the code works.
Drop a message or issue if you need help. (:
Contribution
Project is MIT, so all contributions are welcome !
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. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.3 | 168 | 4/2/2024 |
1.0.2 | 124 | 3/17/2024 |
1.0.2-alpha.2 | 58 | 3/17/2024 |
1.0.2-alpha.1 | 61 | 3/17/2024 |
1.0.1 | 110 | 3/17/2024 |
1.0.0 | 110 | 3/12/2024 |
Supporting .Net8