Table of Contents

Interface IDmsSpectrumAnalyzerScripts

Namespace
Skyline.DataMiner.Core.DataMinerSystem.Common
Assembly
Skyline.DataMiner.Core.DataMinerSystem.Common.dll

Represents spectrum analyzer scripts.

public interface IDmsSpectrumAnalyzerScripts
Extension Methods

Methods

AddScript(string, string, string[])

Adds the specified script. Replaces: sa.NotifyElement(userID, elementID, SPA_NE_SETINFO (5), SPAI_SCRIPT (9), scriptMetaInfo, scriptStatements, out result); Where scriptMetaInfo has scriptId set to 2100000000

DeleteScript(int)

Deletes the script with the specified ID. Replaces: sa.NotifyElement(userID, elementID, SPA_NE_SETINFO (5), SPAI_SCRIPT (9), scriptMetaInfo, scriptStatements, out result);

ExecuteScript(string[])

Executes the specified script. Replaces: sa.NotifyElement(userID, elementID, SPA_NE_GETINFO (4), SPAI_EXECUTE_SCRIPT (48), scriptInfo, null, out result); WARNING: Due to SLNet limitations the Return value only supports returning the content & settings of the last GetTrace call.

GetAllScripts()

Retrieves all scripts. Replaces: sa.NotifyElement(userID, elementID, SPA_NE_GETINFO (4), SPAI_SCRIPTS_ALL (10), null, null, out result);

UpdateScript(int, string, string, string[])

Updates the specified script. Replaces: sa.NotifyElement(userID, elementID, SPA_NE_SETINFO (5), SPAI_SCRIPT (9), scriptMetaInfo, scriptStatements, out result);