示例#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);