Exemplo n.º 1
0
        private static void comandoRobLog(string uuid, string msg, DBStorage db)
        {
            int separatorPos = msg.IndexOf("@@");

            if (separatorPos == -1)
            {
                return;
            }

            db.addRobotLog(Guid.Parse(uuid), new RobotLog(msg.Substring(0, separatorPos), msg.Substring(separatorPos + 2)));
        }