Ejemplo n.º 1
0
 public ATAnalogInputConfigCalibrationLimitsUnsafe(DeviceConfiguration.ATAnalogInputConfigCalibrationLimitsUnsafe _0)
 {
     _Instance                     = Marshal.AllocHGlobal(sizeof(DeviceConfiguration.ATAnalogInputConfigCalibrationLimitsUnsafe._Internal));
     _ownsNativeInstance           = true;
     NativeToManagedMap[_Instance] = this;
     *((DeviceConfiguration.ATAnalogInputConfigCalibrationLimitsUnsafe._Internal *)_Instance) = *((DeviceConfiguration.ATAnalogInputConfigCalibrationLimitsUnsafe._Internal *)_0._Instance);
 }
Ejemplo n.º 2
0
        /// <summary>Set the analog input config limits property</summary>
        /// <param name="inputConfig">The analog input config</param>
        /// <param name="limits">The new limits value</param>
        public static void ATAnalogInputConfigSetLimits(DeviceConfiguration.ATAnalogInputConfigUnsafe inputConfig, DeviceConfiguration.ATAnalogInputConfigCalibrationLimitsUnsafe limits)
        {
            var _arg0 = ReferenceEquals(inputConfig, null) ? IntPtr.Zero : inputConfig._Instance;
            var _arg1 = ReferenceEquals(limits, null) ? IntPtr.Zero : limits._Instance;

            _Internal.ATAnalogInputConfigSetLimits(_arg0, _arg1);
        }