Пример #1
0
 public Boolean IsMmap(HakoniwaRobotConfigInfo robot_config)
 {
     if (robot_config.Udp.AthrillIpAddr == null)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Пример #2
0
        public string GetRobotMmapReaderFilePath(string robotName)
        {
            HakoniwaRobotConfigInfo robot_cfg = GetRobotConfig(robotName);

            if (robot_cfg != null)
            {
                return(robot_cfg.WorkspacePathWin + System.IO.Path.DirectorySeparatorChar + robot_cfg.ApplicationName + System.IO.Path.DirectorySeparatorChar + "athrill_mmap.bin");
            }
            else
            {
                return(null);
            }
        }