NETMacros CLASS

CreateTimer (TimerCallback callback, object state, TimeSpan dueTime, TimeSpan period) METHOD (Return: Timer)
Timer that will be stopped at the end of the script. SYNTAX public Timer CreateTimer (TimerCallback callback,object state,TimeSpan dueTime,TimeSpan ...
Wed, May 2, 2018 at 11:17 AM
CreateTimer (TimerCallback callback, object state, uint dueTime, uint period) METHOD (Return: Timer)
Timer that will be stopped at the end of the script. SYNTAX public Timer CreateTimer (TimerCallback callback,object state,uint dueTime,uint period) ...
Wed, May 2, 2018 at 11:20 AM
Execute () METHOD (Return: void)
This function will be called for macros activation. SYNTAX public void Execute () RETURN void
Wed, May 2, 2018 at 11:21 AM
GetHistoricalData (HistoricalDataRequest request) METHOD (Return: HistoricalData)
Represent access to created historical data request. SYNTAX public HistoricalData GetHistoricalData (HistoricalDataRequest request) PARAMETERS ...
Wed, May 2, 2018 at 11:23 AM
GetLastError () METHOD (Return: int)
Returns the last error code; then this value will be zeroized. SYNTAX public int GetLastError () RETURN int
Wed, May 2, 2018 at 11:30 AM
GetLastErrorDescription () METHOD (Return: string)
Returns the last error code; then this value will be zeroized. SYNTAX public string GetLastErrorDescription () RETURN string
Wed, May 2, 2018 at 11:31 AM
IsTesting () METHOD (Return: bool)
Gets true if script was runned by tester. SYNTAX public bool IsTesting () RETURN bool
Wed, May 2, 2018 at 11:31 AM
OnPaintChart (object sender, PaintChartEventArgs args) METHOD (Return: void)
Drawing char. SYNTAX public void OnPaintChart (object sender,PaintChartEventArgs args) PARAMETERS sender — object args — PaintChartEventArg...
Wed, May 2, 2018 at 11:33 AM
PlaySound (string fileName) METHOD (Return: void)
Plays one of the standard sounds. SYNTAX public void PlaySound (string fileName) PARAMETERS fileName — string RETURN void
Wed, May 2, 2018 at 11:35 AM
Print (object[] args) METHOD (Return: void)
Stores the string in logs. SYNTAX public void Print (object[] args) PARAMETERS args — object[] RETURN void
Wed, May 2, 2018 at 11:36 AM