Inheco.IhcPmsLib.Scila
1.0.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Inheco.IhcPmsLib.Scila --version 1.0.2
NuGet\Install-Package Inheco.IhcPmsLib.Scila -Version 1.0.2
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="Inheco.IhcPmsLib.Scila" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Inheco.IhcPmsLib.Scila --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Inheco.IhcPmsLib.Scila, 1.0.2"
#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 Inheco.IhcPmsLib.Scila as a Cake Addin #addin nuget:?package=Inheco.IhcPmsLib.Scila&version=1.0.2 // Install Inheco.IhcPmsLib.Scila as a Cake Tool #tool nuget:?package=Inheco.IhcPmsLib.Scila&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SiLAv1 .Net integration library by INHECO.
using IhcPmsLib;
using IhcPmsLib.Scila;
using IhcPmsLib.Scila.Factory;
using System.Net;
PMS pms = new();
Uri eventReceiverUri = pms.StartEventReceiver();
using Scila device = ScilaFactory.Create(pms, IPAddress.Parse("192.168.1.xxx"), TimeSpan.FromSeconds(10), null, null);
try {
device.GetStatus(out Status status);
device.Reset();
device.Initialize();
// Open/Close Drawer 1
device.PrepareForInput(1);
device.OpenDoor();
device.CloseDoor();
// Open/Close Drawer 2
device.PrepareForInput(2);
device.OpenDoor();
device.CloseDoor();
var res = device.GetTemperature();
ResponseDataGetTemperature t = res.ResponseData;
Console.WriteLine($"Current temperature: {t.CurrentTemperature}°C");
Console.WriteLine($"Current temperature: {t.TargetTemperature}°C");
Console.WriteLine($"Heater enabled: {t.TemperatureControl}");
// Set new Targettemperature and enable heater
device.SetTemperature(44.0, true);
// ...
// disable heater
device.SetTemperature(null, false);
} catch (CommandException) {
throw;
} catch (SiLARequestException) {
throw;
} catch (SiLAResponseException) {
throw;
}
Product | Versions 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 is compatible. 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.
-
net6.0
- Inheco.IhcPmsLib (>= 1.1.5)
- Inheco.IhcPmsLib.Svcutil (>= 2.1.0)
- Microsoft.CodeAnalysis.CSharp (>= 4.5.0)
- System.ServiceModel.Http (>= 4.10.2)
-
net7.0
- Inheco.IhcPmsLib (>= 1.1.5)
- Inheco.IhcPmsLib.Svcutil (>= 2.1.0)
- Microsoft.CodeAnalysis.CSharp (>= 4.5.0)
- System.ServiceModel.Http (>= 4.10.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Inheco.IhcPmsLib.Scila:
Package | Downloads |
---|---|
Inheco.SiLA2.Scila.Features
SCILA CO2 4-Position Cell Incubator - SiLA2 Feature Library. |
GitHub repositories
This package is not used by any popular GitHub repositories.
v1.0.2
rebuild package
v1.0.1
- update IhcPmsLib package dependency (fix wcf maxcontentlength)
v1.0.0
- initial release