Files
admin
base
com
developer
drivers
ds
adsi
dns
ds
edb500
ese98
inc
nameres
netapi
access
api
dosprint
inc
messages
netcmd
netdom
netlib
rap
rpcxlate
svcctrl
svcdlls
alrsvc
at
browser
dfs
idl
lls
logonsrv
msgsvc
nwsap
repl
seclogon
srvsvc
upssvc
apcsmart
_defs.h
apc.h
apcdrvr.cxx
apcdrvr.h
apcobj.cxx
apcobj.h
apcsemnt.cxx
apcsemnt.h
apcups.cxx
apcups.def
apcups.h
apcups.rc
attrib.cxx
attrib.h
backups.cxx
backups.h
badbatts.cxx
badbatts.h
batcalt.cxx
batcalt.h
batpacks.cxx
batpacks.h
battcaps.cxx
battcaps.h
battcond.cxx
battcond.h
battmgr.cxx
battmgr.h
battrep.cxx
battrep.h
bypmodes.cxx
bypmodes.h
cdefine.h
cdevice.cxx
cdevice.h
cfgcodes.h
cfgmgr.cxx
cfgmgr.h
chgsensr.cxx
chgsensr.h
codes.h
comctrl.cxx
comctrl.h
contrlr.cxx
contrlr.h
coprites.cxx
coprites.h
cwccons.h
datalog.h
datetime.cxx
datetime.h
dcfrmrev.cxx
dcfrmrev.h
dcomctrl.cxx
dcomctrl.h
devctrl.cxx
devctrl.h
device.cxx
device.h
dispatch.cxx
dispatch.h
eeprom.cxx
eeprom.h
err.h
errlog.h
errlogr.cxx
errlogr.h
event.cxx
event.h
eventime.cxx
eventime.h
evntlog.h
firmman.cxx
firmman.h
firmrevs.cxx
firmrevs.h
icodes.h
isa.h
itemcode.cxx
itemcode.h
list.cxx
list.h
litesnsr.cxx
litesnsr.h
lobatdur.cxx
lobatdur.h
mainapp.cxx
mainapp.h
makefile
manudate.cxx
manudate.h
matrix.cxx
matrix.h
message.cxx
message.h
mutexlck.h
mutexnt.cxx
mutexnt.h
node.cxx
node.h
ntcfgmgr.cxx
ntcfgmgr.h
ntport.cxx
ntsrvap.cxx
ntsrvap.h
ntthrd.cxx
nttimmn.cxx
nttimmn.h
pollparm.cxx
pollparm.h
protlist.cxx
protlist.h
proto.cxx
proto.h
protsimp.cxx
protsimp.h
protsmrt.cxx
protsmrt.h
regdefs.h
replbatt.cxx
replbatt.h
resource.h
runtrems.cxx
runtrems.h
scan.cxx
scan.h
semaphor.h
sensor.cxx
sensor.h
serport.cxx
serport.h
servapp.cxx
servapp.h
shutdel.cxx
shutdel.h
simpsens.h
slist.cxx
slist.h
smart_driver.rc
smartups.cxx
smartups.h
smboosen.cxx
smboosen.h
smrtsens.h
sortable.h
sources
stdcfg.cxx
stream.cxx
stream.h
stsensor.cxx
stsensor.h
sysstate.h
tattrib.cxx
tattrib.h
thrdable.cxx
thrdable.h
thread.h
thsensor.cxx
thsensor.h
timer.cxx
timer.h
timerman.cxx
timerman.h
tokenstr.cxx
tokenstr.h
towdels.cxx
towdels.h
trans.cxx
trans.h
trimsen.cxx
trimsen.h
tripregs.cxx
tripregs.h
turnoff.cxx
turnoff.h
ulinecon.cxx
ulinecon.h
ulinkdef.h
unssens.cxx
unssens.h
update.cxx
update.h
ups.cxx
ups.h
ups2slep.cxx
ups2slep.h
upsdev.cxx
upsdev.h
upsidsen.cxx
upsidsen.h
upsmodl.cxx
upsmodl.h
upsmsgs.h
upsrc.h
upsreg.c
upsreg.h
upssers.cxx
upssers.h
utils.cxx
utils.h
w32utils.cxx
w32utils.h
upsexe
dirs
wkssvc
dirs
svcimgs
xactsrv
dirs
nlrepl
nw
published
safealloca
security
win32
xpress
dirs
project.mk
enduser
inetcore
inetsrv
loc
mergedcomponents
multimedia
net
printscan
public
published
sdktools
shell
termsrv
tools
windows
dirs
makefil0
2025-04-27 07:49:33 -04:00

34 lines
602 B
C++

/*
*
* NOTES:
*
* REVISIONS:
* pcy13Jan92: Get rid of Update/Validate; Return err from Set
*/
#define INCL_BASE
#define INCL_DOS
#define INCL_NOPM
#include "cdefine.h"
extern "C" {
#if (C_OS & C_OS2)
#include <os2.h>
#endif
#include <stdlib.h>
#include <stdio.h>
#include <malloc.h>
#include <string.h>
}
#include "towdels.h"
#include "comctrl.h"
#include "dispatch.h"
//Constructor
TurnOffWithDelaySensor :: TurnOffWithDelaySensor(PDevice aParent, PCommController aCommController)
: Sensor(aParent,aCommController,TURN_OFF_UPS_AFTER_DELAY,AREAD_WRITE)
{
}