IPX800cs 3.2.0

dotnet add package IPX800cs --version 3.2.0
NuGet\Install-Package IPX800cs -Version 3.2.0
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="IPX800cs" Version="3.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IPX800cs --version 3.2.0
#r "nuget: IPX800cs, 3.2.0"
#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 IPX800cs as a Cake Addin
#addin nuget:?package=IPX800cs&version=3.2.0

// Install IPX800cs as a Cake Tool
#tool nuget:?package=IPX800cs&version=3.2.0

IPX800 C# v3

Copyright (c) 2013-2022 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

The version 3 introduce 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 request 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 Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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 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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
3.2.0 264 4/9/2023
3.1.0 367 1/2/2023
3.0.1 399 10/16/2022
3.0.0 389 8/17/2022
2.1.3 597 5/23/2020
2.1.2 473 4/12/2020
2.0.0 646 2/6/2019