ArtWare.Smiro.Windows
1.0.2.18
dotnet add package ArtWare.Smiro.Windows --version 1.0.2.18
NuGet\Install-Package ArtWare.Smiro.Windows -Version 1.0.2.18
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="ArtWare.Smiro.Windows" Version="1.0.2.18" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ArtWare.Smiro.Windows" Version="1.0.2.18" />
<PackageReference Include="ArtWare.Smiro.Windows" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ArtWare.Smiro.Windows --version 1.0.2.18
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ArtWare.Smiro.Windows, 1.0.2.18"
#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.
#:package ArtWare.Smiro.Windows@1.0.2.18
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ArtWare.Smiro.Windows&version=1.0.2.18
#tool nuget:?package=ArtWare.Smiro.Windows&version=1.0.2.18
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SmiroDevice.Windows
Libreria .NET Framework 4.8 per il controllo del sistema SMIRO (Base Station + TAG) in ambiente Windows desktop.
Caratteristiche
- Ricerca e identificazione TAG via Base Station
- Accensione LED multicolore del TAG
- Comandi EasyLock (apri/chiudi)
- Impostazione testo su display TAG (fino a 6 caratteri)
- Buzzer OFF
- Lettura stato / batteria TAG
- Funzioni SleepLong / WakeUp per gestione consumi
- Eventi per log, stato, risposta TAG
Installazione
(Quando pubblicato su nuget.org)
Install-Package SmiroDevice.Windows
Oppure locale (cartella con il .nupkg):
dotnet add package SmiroDevice.Windows -s ..\packagesLocal
Quick Start
using ArtWare.SMIRO;
var bs = new BaseStation();
bs.LogMode = LogLevel.Extended; // opzionale
// Aggancia eventi (opzionali)
bs.OnStatusChange += s => Console.WriteLine($"Status: {s}");
bs.OnTAGEvent += e => Console.WriteLine($"TAG {e.TAGCode} evt={e.EventType} batt={e.BatteryValue}% time={e.ResponseTime}ms");
bs.OnDebugLog += msg => System.Diagnostics.Debug.WriteLine(msg);
// Imposta porta COM (es: COM3)
if(!bs.SetPort("COM3"))
{
Console.WriteLine("Porta non valida");
return;
}
// Ricerca singolo TAG (codice decimale, verr� convertito in HEX a 12 cifre)
int batt;
bool trovato = bs.SingleTAGFind("123456789", out batt);
Console.WriteLine(trovato ? $"Trovato. Batteria: {batt}%" : "Non trovato");
// Accensione LED verde
int batt2;
bs.LedColorON("123456789", (int)LedColor.Green, out batt2);
// EasyLock (apri)
int batt3;
bs.EasyLock("123456789", true, out batt3);
// Imposta testo (max 6 char)
int batt4;
bs.SetText("123456789", "HELLO", out batt4);
License
MIT
Supporto
Per problemi contatta Artware S.r.l.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8
- 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.