public int EnableWatchDogEx(WatchdogMonitoringTime TimeOut) { if (this._ready && this._dtiHandle > 0) { return(PhoenixContact.DDI.DDI.EnableWatchDogEx(this._dtiHandle, TimeOut)); } return(-2); }
public int EnableWatchDogEx(WatchdogMonitoringTime TimeOut) { int num = -1; if (this.dtiHandle > 0 && this.dtiHandle <= (int)ushort.MaxValue) { num = IBS_G4Driver.DN_DDI_EnableWatchDogEx(this.dtiHandle, (int)TimeOut); } return(num); }
public static int EnableWatchDogEx(int DTI_Handle, WatchdogMonitoringTime TimeOut) { lock (PhoenixContact.DDI.DDI.l_EnableWatchdogEx) { Trace.WriteLine("In PhoenixContact.DDI.DDI.l_EnableWatchdogEx\n"); int num = -1; if (DTI_Handle > 0 && DTI_Handle <= (int)ushort.MaxValue) { num = PhoenixContact.DDI.DDI.DN_DDI_EnableWatchDogEx(DTI_Handle, (int)TimeOut); } return(num); } }