Beispiel #1
0
        /// <summary>
        /// Methods writing read byte data into respective dataobject
        /// </summary>
        private void ProcessPhysicsData()
        {
            if (memStatus == MEMORY_STATUS.DISCONNECTED)
            {
                return;
            }

            try
            {
                PhysicsData physicsData = ReadPhysicsData();
                OnPhysicsUpdated(new PhysicsEventArgs(physicsData));
            }
            catch (MemoryNotActiveException) { }
        }
 public PhysicsEventArgs(PhysicsData physicsData)
 {
     this.PhysicsData = physicsData;
 }