/************************************************************************/
/* Copyright 1998 MBARI							*/
/************************************************************************/
#ifndef _COREHYDRAULICS_H
#define _COREHYDRAULICS_H
static char CoreHydraulics_h_id[] = "$Header: /u/oreilly/rov/tmacs/RCS/CoreHydraulics.h,v 1.5 1999/02/16 22:10:33 oreilly Exp $";

/*
$Log: CoreHydraulics.h,v $
Revision 1.5  1999/02/16 22:10:33  oreilly
*** empty log message ***

Revision 1.4  1998/12/18 21:07:21  oreilly
Added documentation

Revision 1.3  1997/04/09 14:05:43  oreilly
Sensitize/de-sensitize controls depending on Hydraulic system state

 * Revision 1.2  97/03/20  12:38:43  12:38:43  oreilly (Thomas C. O'Reilly)
 * *** empty log message ***
 * 
 * Revision 1.1  96/10/28  09:14:13  09:14:13  oreilly (Thomas C. O'Reilly)
 * Initial revision
 * 
*/

#include <stdio.h>
#include <Vk/VkMeter.h>
#include <Vk/VkRadioBox.h>
#include "DmGuiObject.h"
#include "LabeledText.h"
#include "BarGuage.h"
#include "ValveFunctions.h"
#include "PowerSwitchGui.h"

/*
CLASS 
CoreHydraulics

DESCRIPTION
GUI for variable buoyancy system; includes buoyancy and volume display,
and control for setting buoyancy.

AUTHOR
Tom O'Reilly
*/
class CoreHydraulics : public DmGuiObject
{
  public:
  
  CoreHydraulics(const char *name, Widget parent, int period);

  ~CoreHydraulics()
  {
  }
  
  virtual const char *className()
  {
    return "CoreHydraulics";
  }
  
  virtual void updateGui(DM_Item handle = 0);
  

  protected:

  PowerSwitchGui *_vbFill;

  static DM_Time _t;
  static struct timezone _tz;

  ValveFunctions *_valveFunctions;

};


#endif
