//TagAnalogOutput.h #ifndef __TAG_ANALOG_OUTPUT_H__ #define __TAG_ANALOG_OUTPUT_H__ #include class TagAnalogOutput : public TagObject { public: TagAnalogOutput(char *strName, int nChannel); virtual ~TagAnalogOutput(); virtual BOOL GetMessageObject(char *strPath, MessageObject *lpMsgObj); virtual void ProcessMessage(int nSlot, MessageObject *lpMsgObj); virtual void SetState(LPVOID lpState); protected: int m_nMyChannel; float *m_lpValue; }; #endif