Пример #1
0
 public void PulseDriver(ushort driverNum, byte milliseconds)
 {
     DriverState state = new DriverState();
     state.DriverNum = driverNum;
     PinProc.PRDriverStatePulse(ref state, milliseconds);
     PinProc.PRDriverUpdateState(ProcHandle, ref state);
 }
Пример #2
0
 public static extern Result PRSwitchUpdateRule(IntPtr handle, byte switchNum, EventType eventType, ref SwitchRule rule, DriverState[] linkedDrivers, int numDrivers);
Пример #3
0
 public static extern Result PRDriverUpdateState(IntPtr handle, ref DriverState driverState);
Пример #4
0
 public static extern void PRDriverStateSchedule(ref DriverState state, UInt32 schedule, byte cycleSeconds, bool now);
Пример #5
0
 public static extern void PRDriverStatePulsedPatter(ref DriverState state, UInt16 millisecondsOn, UInt16 millisecondsOff, UInt16 patterTime);
Пример #6
0
 public static extern void PRDriverStatePulse(ref DriverState state, byte milliseconds);
Пример #7
0
 public static extern void PRDriverStatePatter(ref DriverState state, UInt16 millisecondsOn, UInt16 millisecondsOff, UInt16 originalOnTime);
Пример #8
0
 public static extern void PRDriverStateDisable(ref DriverState state);
Пример #9
0
 public static extern Result PRDriverGetState(IntPtr handle, byte driverNum, ref DriverState driverState);