using System;
using RSI.RapidCode.dotNET;
using RSI.RapidCode.dotNET.Enums;
{
public static class HelperFunctions
{
public static void CheckErrors(IRapidCodeObject rsiObject)
{
while (rsiObject.ErrorLogCountGet() > 0)
{
Console.WriteLine("RSI Object: " + rsiObject + ")\n\n " + rsiObject.ErrorLogGet().Message);
}
}
{
{
Console.WriteLine("Starting Network..");
}
{
for (int i = 0; i < messagesToRead; i++)
{
}
Console.WriteLine("Expected OPERATIONAL state but the network did not get there.");
}
else
{
Console.WriteLine("Network Started");
}
}
}
}