mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
536 B
32 lines
536 B
/*
|
|
*
|
|
* REVISIONS:
|
|
* pcy27Dec92: Parent is now an UpdateObj
|
|
* pcy22Jan93: Destructor is in h file
|
|
* pcy28Jan93: Removed netcons.h
|
|
*
|
|
*/
|
|
#include "cdefine.h"
|
|
#include "_defs.h"
|
|
|
|
#include "ups.h"
|
|
#include "devctrl.h"
|
|
#include "comctrl.h"
|
|
#include "err.h"
|
|
|
|
_CLASSDEF(DeviceController)
|
|
_CLASSDEF(DeviceController)
|
|
|
|
Ups::Ups(PUpdateObj aDeviceController, PCommController aCommController)
|
|
: Device(aDeviceController, aCommController), theUpsState(0)
|
|
{
|
|
}
|
|
|
|
INT Ups::Initialize()
|
|
{
|
|
registerForEvents();
|
|
return ErrNO_ERROR;
|
|
}
|
|
|
|
|
|
|