IPX800cs 4.0.1
dotnet add package IPX800cs --version 4.0.1
NuGet\Install-Package IPX800cs -Version 4.0.1
<PackageReference Include="IPX800cs" Version="4.0.1" />
paket add IPX800cs --version 4.0.1
#r "nuget: IPX800cs, 4.0.1"
// Install IPX800cs as a Cake Addin #addin nuget:?package=IPX800cs&version=4.0.1 // Install IPX800cs as a Cake Tool #tool nuget:?package=IPX800cs&version=4.0.1
IPX800 C# v3
Copyright (c) 2013-2024 Julien Tschäppät
IPX800 C# is a library that allows to control an IPX800 v2, v3, v4, v5 from GCE Electronic
Features
Support of common functions of IPX800 v2, v3, v4, v5 like reading or setting output state and reading the inputs state
Breaking changes
Since version 4, GetOutputs with IPX800v5 does not throws exception when no output is found. It returns an empty list.
The version 3 introduced several breaking changes :
- IPX800v3 with firmware older than v3.05.42 is no more supported
- The class IPX800Factory is no more static and now implement IIPX800Factory
- Send of HTTP requests now use HttpClient instead of WebRequest
- IIPX800, IIPX800v2, ... interfaces have been simplified. Only the IIPX800 left. To replace the specific methods (e.g. IPX800 v4 virtual outputs) some extensions methods have been added.
- Items of IPX800Version enum have been reorderd for more logical meaning (e.g. 3 value mean IPX800 v3
Getting Started
First, install the NuGet package
Install-Package IPX800cs
Then, get an instance of an IPX800 implementation using the factory and call any IPX800 action
//Create an IIPX800 instance
//In the case of the HTTP protocol, another method allows to pass the HttpClient.
IIPX800 ipx800 = ipx800Factory.CreateInstance(IPX800Version.V3, IPX800Protocol.Http, "http://192.168.1.2", 80, "user", "password");
// read the state of output 1
OutputState outputState = ipx800.GetOutput(new Output { Number = 1, Type = OutputType.Output });
//Same action using the extension method
OutputState outputState2 = ipx800.GetOutput(1);
// read the state of virtual output
OutputState virtualOutputState = ipx800.GetOutput(new Output { Number = 1, Type = OutputType.VirtualOutput });
//Same action using the extension method
OutputState virtualOutputState2 = ipx800.GetVirtualOutput(1);
// set the output state
bool result = ipx800.SetOutput(new Output { Number = 1, State = OutputState.Active, Type = OutputType.Output });
//Same action using the extension method
bool result2 = ipx800.SetOutput(1, OutputState.Active);
// etc.
License
IPX800 C# is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3.0 of the License, or (at your option) any later version.
IPX800 C# is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details (https://www.gnu.org/licenses/lgpl.html)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. 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 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Net.Http (>= 4.3.4)
- System.Text.Json (>= 8.0.5)
-
.NETStandard 2.0
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Text.Json (>= 8.0.5)
-
net6.0
- No dependencies.
-
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.