versadac  1
versadac - Scalable Recorder Firmware
mc_dataXModemStatus.h
1 /*******************************************************************************
2 FILE : mc_dataXModemStatus.h
3 VERSION : $Id: mc_dataXModemStatus.h 4938 2006-10-10 14:20:18Z martinto $
4 SYSTEM : __GNUC__ on vxworks
5 DESCRIPTION : Master comms dataXModemStatus class
6  This is used to poll for XModemStatus on 4xxx recorders. NOTE this
7  is non standard modbus, it is a 4xxx extension. We are not interested
8  in the data returned at the moment. We just use this to help identify
9  4xxx recorders.
10  If calling getStatus returns ENUM_MCS_Ok then assume 4xxx, if
11  it returns ENUM_MCS_IllegalFunction
12 *******************************************************************************/
13 
14 #ifndef __MC_DATAXMODEMSTATUS_H
15 #define __MC_DATAXMODEMSTATUS_H
16 #include "mc_data.h"
17 
19 {
20  protected:
22 
23  public:
24  virtual ~mc_dataXModemStatus();
25 
26  static mc_dataXModemStatus* newTransaction(
27  char * z_ipAddressOrName,
28  uint8 z_modbusAddress,
29  uint32 z_timeout,
30  uint16 z_network
31  );
32 
33  virtual void setStatus(ENUM_MCStatus z_status);
34 
35  protected:
36 
37  private:
38 };
39 
40 #endif
Definition: mc_dataXModemStatus.h:18
Definition: mc_data.h:17