Example #1
0
        public bool ClearLogs(TerminalDevice device)
        {
            bool ok = false;

            oTerminal myTerminal = new oTerminal(device.IPAddress, device.ID, device.Port, device.AccKey);

            if (myTerminal.isAlive())
            {
                ok = myTerminal.DeleteAllLog();
            }

            return(ok);
        }