userflowcontroller.h
1 /***************************************************************************
2  Copyright (C) 2002-2015 Kentaro Kitagawa
3  kitagawa@phys.s.u-tokyo.ac.jp
4 
5  This program is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  You should have received a copy of the GNU Library General
11  Public License and a list of authors along with this program;
12  see the files COPYING and AUTHORS.
13 ***************************************************************************/
14 
15 #ifndef USERFLOWCONTROLLER_H_
16 #define USERFLOWCONTROLLER_H_
17 
18 #include "flowcontroller.h"
19 #include "fujikininterface.h"
20 
21 //Fujikin FCST1000 Series Mass Flow Controllers.
22 class XFCST1000 : public XFujikinProtocolDriver<XFlowControllerDriver> {
23 public:
24  XFCST1000(const char *name, bool runtime,
25  Transaction &tr_meas, const shared_ptr<XMeasure> &meas);
26  virtual ~XFCST1000() {}
27 protected:
28  virtual bool isController(); //! distinguishes monitors and controllers.
29  virtual bool isUnitInSLM(); //! false for SCCM.
30  virtual double getFullScale();
31 
32  virtual void getStatus(double &flow, double &valve_v, bool &alarm, bool &warning);
33  virtual void setValveState(bool open);
34  virtual void changeControl(bool ctrl);
35  virtual void changeSetPoint(double target);
36  virtual void setRampTime(double time);
37 
38  enum ClassID {NetworkClass = 0x03, DeviceManagerClass = 0x64, ExceptionClass = 0x65,
39  GasCalibrationClass = 0x66, FlowMeterClass = 0x68, FlowControllerClass = 0x69, ValveDriverClass = 0x6a};
40 private:
41 };
42 
43 #endif /* USERFLOWCONTROLLER_H_ */

Generated for KAME4 by  doxygen 1.8.3