Пример #1
0
 public byte[] GetRemoteChessboardCorner(byte[] input)
 {
     if (_GetRemoteChessboardCornerLabel != null)
     {
         return(_GetRemoteChessboardCornerLabel.Call(input));
     }
     return(null);
 }
Пример #2
0
 public void ChangeSlamStatus(SlamStatusOverall slamStatus, bool wait = false)
 {
     try
     {
         if (_SlamChangeStatusLabel != null && ConnectivityState == LinkUpConnectivityState.Connected)
         {
             if (wait)
             {
                 _SlamChangeStatusLabel.Call(new byte[] { (byte)slamStatus });
             }
             else
             {
                 _SlamChangeStatusLabel.AsyncCall(new byte[] { (byte)slamStatus });
             }
         }
     }
     catch (Exception) { }
 }