Skip to content

Commit

Permalink
Version 9.0.2202.0701
Browse files Browse the repository at this point in the history
  • Loading branch information
gurux01 committed Feb 7, 2022
1 parent fab9fdf commit fe09c09
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Development/ConformanceTests/GXConformanceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,6 @@ private static void Execute(
GXDLMSObject obj;
foreach (GXMacro macro in macros)
{
//test.OnProgress(test, "Testing " + m.Name, ++i, cnt);
// lastExternalException = null;
List<KeyValuePair<ObjectType, string>> succeeded = new List<KeyValuePair<ObjectType, string>>();
if (settings.Delay.TotalSeconds != 0)
{
Expand All @@ -218,6 +216,9 @@ private static void Execute(
{
case UserActionType.None:
throw new Exception("Invalid macro type.");
case UserActionType.Delay:
Thread.Sleep(int.Parse(macro.Value));
break;
case UserActionType.Connect:
break;
case UserActionType.Disconnecting:
Expand Down
4 changes: 4 additions & 0 deletions Development/Macro/GXMacroEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Threading;
using System.Windows.Forms;
using System.Xml;
using System.Xml.Serialization;
Expand Down Expand Up @@ -738,6 +739,9 @@ private void Run(System.Collections.IList items, List<GXMacro> macros)
case UserActionType.Action:
m_OnAction(macro);
break;
case UserActionType.Delay:
Thread.Sleep(int.Parse(macro.Value));
break;
default:
break;
}
Expand Down

0 comments on commit fe09c09

Please sign in to comment.