예제 #1
0
 public Antilatency.RadioMetrics.Metrics getMetrics(Antilatency.DeviceNetwork.NodeHandle targetNode)
 {
     Antilatency.RadioMetrics.Metrics result;
     Antilatency.RadioMetrics.Metrics resultMarshaler;
     HandleExceptionCode(_VMT.getMetrics(_object, targetNode, out resultMarshaler));
     result = resultMarshaler;
     return(result);
 }
예제 #2
0
            public Antilatency.RadioMetrics.ICotask startTask(Antilatency.DeviceNetwork.INetwork network, Antilatency.DeviceNetwork.NodeHandle node)
            {
                Antilatency.RadioMetrics.ICotask result;
                System.IntPtr resultMarshaler;
                var           networkMarshaler = Antilatency.InterfaceContract.Details.InterfaceMarshaler.ManagedToNative <Antilatency.DeviceNetwork.INetwork>(network);

                HandleExceptionCode(_VMT.startTask(_object, networkMarshaler, node, out resultMarshaler));
                result = (resultMarshaler == System.IntPtr.Zero) ? null : new Antilatency.RadioMetrics.Details.ICotaskWrapper(resultMarshaler);
                return(result);
            }
예제 #3
0
            public Antilatency.Alt.Tracking.ITrackingCotask startTask(Antilatency.DeviceNetwork.INetwork network, Antilatency.DeviceNetwork.NodeHandle node, Antilatency.Alt.Tracking.IEnvironment environment)
            {
                Antilatency.Alt.Tracking.ITrackingCotask result;
                System.IntPtr resultMarshaler;
                var           networkMarshaler     = Antilatency.InterfaceContract.Details.InterfaceMarshaler.ManagedToNative <Antilatency.DeviceNetwork.INetwork>(network);
                var           environmentMarshaler = Antilatency.InterfaceContract.Details.InterfaceMarshaler.ManagedToNative <Antilatency.Alt.Tracking.IEnvironment>(environment);

                HandleExceptionCode(_VMT.startTask(_object, networkMarshaler, node, environmentMarshaler, out resultMarshaler));
                result = (resultMarshaler == System.IntPtr.Zero) ? null : new Antilatency.Alt.Tracking.Details.ITrackingCotaskWrapper(resultMarshaler);
                return(result);
            }
 public DeviceInfo(string hardwareType, string serialNumber, Antilatency.DeviceNetwork.NodeHandle node)
 {
     HardwareType = hardwareType;
     SerialNumber = serialNumber;
     Node         = node;
 }
예제 #5
0
            public Antilatency.Alt.Tracking.ITask createTracking(Antilatency.DeviceNetwork.IFactory factory, Antilatency.DeviceNetwork.NodeHandle nodeHandle, Antilatency.Alt.Tracking.IEnvironment environment)
            {
                Antilatency.Alt.Tracking.ITask result;
                System.IntPtr resultMarshaler;
                var           factoryMarshaler     = AntilatencyInterfaceContract.Details.InterfaceMarshaler.ManagedToNative <Antilatency.DeviceNetwork.IFactory>(factory);
                var           environmentMarshaler = AntilatencyInterfaceContract.Details.InterfaceMarshaler.ManagedToNative <Antilatency.Alt.Tracking.IEnvironment>(environment);

                HandleExceptionCode(_VMT.createTracking(_object, factoryMarshaler, nodeHandle, environmentMarshaler, out resultMarshaler));
                result = (resultMarshaler == System.IntPtr.Zero) ? null : new Antilatency.Alt.Tracking.Details.ITaskWrapper(resultMarshaler);
                return(result);
            }