Movensys.FSMHelper.Core
1.0.4
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Framework 4.5
This package targets .NET Framework 4.5. The package is compatible with this framework or higher.
dotnet add package Movensys.FSMHelper.Core --version 1.0.4
NuGet\Install-Package Movensys.FSMHelper.Core -Version 1.0.4
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="Movensys.FSMHelper.Core" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Movensys.FSMHelper.Core" Version="1.0.4" />
<PackageReference Include="Movensys.FSMHelper.Core" />
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 Movensys.FSMHelper.Core --version 1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Movensys.FSMHelper.Core, 1.0.4"
#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.
#addin nuget:?package=Movensys.FSMHelper.Core&version=1.0.4
#tool nuget:?package=Movensys.FSMHelper.Core&version=1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Movensys.FSMHelper
This is a function for writing logs in .txt format developed by the Movensys Application Team.
Features
- Easy to use based on enum
- State Management
- State Transition
- State Query
- Timeout Management
- Events
Code Highlighting
using Movensys.FSMHelper;
namespace WinFormsApp1
{
public enum DeviceState
{
Idle,
Running,
Error,
Stopped
}
var fsm = new MovensysFSM.Fsm<DeviceState>(DeviceState.Idle);
fsm.Set(DeviceState.Running);
var currentState = fsm.Get();
if (fsm.IsTimeout(5000))
{
Console.WriteLine("Timeout");
}
fsm.SetCheckEvent += (sender, e) =>
{
Console.WriteLine($"State : {e.previousCmd} -> {e.currentCmd}");
};
}
Tip
Release History
May 20, 2025 - 1.0.4 ver<br> A message field has been added to the SetCheckEventArgs event class. The default value is an empty string ("").
May 2, 2025 - 1.0.3 ver<br> Only the Function function is separated from the existing FSMHelper 1.0.2 (for cross-platform)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Framework | net45 is compatible. net451 is compatible. net452 is compatible. net46 is compatible. net461 is compatible. net462 is compatible. net463 was computed. net47 is compatible. net471 is compatible. net472 is compatible. net48 is compatible. net481 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.5
- No dependencies.
-
.NETFramework 4.5.1
- No dependencies.
-
.NETFramework 4.5.2
- No dependencies.
-
.NETFramework 4.6
- No dependencies.
-
.NETFramework 4.6.1
- No dependencies.
-
.NETFramework 4.6.2
- No dependencies.
-
.NETFramework 4.7
- No dependencies.
-
.NETFramework 4.7.1
- No dependencies.
-
.NETFramework 4.7.2
- No dependencies.
-
.NETFramework 4.8
- No dependencies.
-
.NETFramework 4.8.1
- No dependencies.
-
net5.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.