24 lines
722 B
C#
24 lines
722 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Sys;
|
|
namespace ConsoleTestDll
|
|
{
|
|
class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
MACHINEINTERFACEDLL.SSI_STATUS_MOTION rStatus;
|
|
Console.WriteLine("Machine_Startup.");
|
|
rStatus = MACHINEINTERFACEDLL.Machine_Startup(false, MACHINEINTERFACEDLL.EHOME_MACHINE_MODE.HOME_XYZ);
|
|
Console.WriteLine("RStatus:{0}\n",rStatus);
|
|
Console.WriteLine("Machine_Shutdown");
|
|
rStatus = MACHINEINTERFACEDLL.Machine_Shutdown();
|
|
Console.WriteLine("RStatus:{0}\n", rStatus, ".\n");
|
|
Console.WriteLine("Press enter key to exit...");
|
|
Console.ReadLine();
|
|
}
|
|
}
|
|
}
|