Search Results for

    Show / Hide Table of Contents

    Class WSSVersionHandler

    Handles firmware version parsing and feature availability based on known supported versions.

    Inheritance
    object
    WSSVersionHandler
    Namespace: Wss.CoreModule
    Assembly: WSS_Core_Interface.dll
    Syntax
    public class WSSVersionHandler

    Constructors

    WSSVersionHandler(string)

    Initializes a new instance of the WSSVersionHandler class using a string version. Defaults to H03 if an unknown version string is provided.

    Declaration
    public WSSVersionHandler(string strVersion)
    Parameters
    Type Name Description
    string strVersion

    Firmware version string (e.g., "H03", "J03").

    Methods

    GetVersion()

    Gets the current firmware version as a named enum.

    Declaration
    public WSSVersionHandler.SupportedVersions GetVersion()
    Returns
    Type Description
    WSSVersionHandler.SupportedVersions

    The current WSSVersionHandler.SupportedVersions enum value.

    IsFeatureAvailable(string)

    Checks if the specified feature is supported by the current firmware version.

    Declaration
    public bool IsFeatureAvailable(string feature)
    Parameters
    Type Name Description
    string feature

    The name of the feature to check (e.g., "AmplitudeCheck").

    Returns
    Type Description
    bool

    true if the feature is available in this firmware version; otherwise, false.

    IsLEDSettingsAvailable()

    Indicates whether LED settings are available in the current firmware version.

    Declaration
    public bool IsLEDSettingsAvailable()
    Returns
    Type Description
    bool

    true if LED settings are supported; otherwise, false.

    IsModuleQueryAvailable()

    Indicates whether ModuleQuery (unit settings probe) is available in the current firmware version.

    Declaration
    public bool IsModuleQueryAvailable()
    Returns
    Type Description
    bool

    true if module query is supported; otherwise, false.

    ToString()

    Returns the string representation of the current firmware version (e.g., "H03").

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    The string name of the current firmware version.

    Overrides
    object.ToString()

    isVersionSupported(string)

    Determines whether the specified firmware version string is supported by this application.

    Declaration
    public bool isVersionSupported(string strVersion)
    Parameters
    Type Name Description
    string strVersion

    Firmware version identifier to check (for example, "H03" or "J03").

    Returns
    Type Description
    bool

    true if the supplied version is recognized and supported; otherwise, false.

    In this article
    Back to top Generated by DocFX