#define LOOPBACK
using System;
using static MAXT.MXFoundation.mxf;
using System.Text;
namespace discrete_example
{
class discrete
{
static void Main(string[] args)
{
UInt32 rc;
UInt64 deviceCount;
UInt64 moduleCount;
UInt64 channelCount;
UInt64 server;
var device = new UInt64[1];
var module = new UInt64[1];
var rx = new UInt64[1];
var tx = new UInt64[1];
UInt64 i;
UInt64 state;
StringBuilder errorString = new StringBuilder();
#if LOCAL
#else
#endif
if (rc == MAXT_SUCCESS)
{
Console.Write("Starting ...\n");
}
if (rc == MAXT_SUCCESS)
if (rc == MAXT_SUCCESS)
if (rc == MAXT_SUCCESS)
if (rc == MAXT_SUCCESS)
for (i = 0; i < 10000 && rc == MAXT_SUCCESS; i++)
{
state <<= 1;
if (rc == MAXT_SUCCESS)
}
if (rc != MAXT_SUCCESS)
{
Console.Write(" {0} ERROR # 0x{1:X8}", errorString, rc);
Console.Write("{0}\n\r", errorString);
}
Console.Write("\nPress a key to terminate\n");
Console.ReadKey();
return;
}
}
}