<commit_before>///////////////////////////////////////////////////////////////////////////////
// FILE:          Aquinas.h
// PROJECT:       Micro-Manager
// SUBSYSTEM:     DeviceAdapters
//-----------------------------------------------------------------------------
// DESCRIPTION:   Interfaces with Aquinas microfluidics controller
// COPYRIGHT:     UCSF, 2011
// LICENSE:       LGPL
// AUTHOR:        <NAME>, <EMAIL>


#ifndef _AQUINAS_H_
#define _AQUINAS_H

#include "../../MMDevice/MMDevice.h"
#include "../../MMDevice/DeviceBase.h"
#include "../../MMDevice/ModuleInterface.h"

//////////////////////////////////////////////////////////////////////////////
// Error codes                                                
//

#define ERR_PORT_CHANGE_FORBIDDEN    101

class AqController: public CGenericBase<AqController>
{
public: 
   AqController();
   ~AqController();

    // MMDevice API
    // ------------
    int Initialize();
    int Shutdown();

    void GetName(char* pszName) const;
    bool Busy();

   // action interface
   // ---------------
   int OnPort(MM::PropertyBase* pProp, MM::ActionType eAct);
   int OnID(MM::PropertyBase* pProp, MM::ActionType eAct);
   int OnSetPressure(MM::PropertyBase* pProp, MM::ActionType eAct);
   int OnValveState(MM::PropertyBase* pProp, MM::ActionType eAct);
   int OnValveOnOff(MM::PropertyBase* pProp, MM::ActionType eAct, long valveNr);

private:
   int SetValveState();

   std::string port_;
   bool initialized_;
   bool busy_;
   double pressureSetPoint_;
   unsigned char valveState_;
   std::string id_;
};

#endif<commit_msg>Acquinas: Fix header guard typo.<commit_after>///////////////////////////////////////////////////////////////////////////////
// FILE:          Aquinas.h
// PROJECT:       Micro-Manager
// SUBSYSTEM:     DeviceAdapters
//-----------------------------------------------------------------------------
// DESCRIPTION:   Interfaces with Aquinas microfluidics controller
// COPYRIGHT:     UCSF, 2011
// LICENSE:       LGPL
// AUTHOR:        <NAME>, <EMAIL>


#ifndef _AQUINAS_H_
#define _AQUINAS_H_

#include "../../MMDevice/MMDevice.h"
#include "../../MMDevice/DeviceBase.h"
#include "../../MMDevice/ModuleInterface.h"

//////////////////////////////////////////////////////////////////////////////
// Error codes                                                
//

#define ERR_PORT_CHANGE_FORBIDDEN    101

class AqController: public CGenericBase<AqController>
{
public: 
   AqController();
   ~AqController();

    // MMDevice API
    // ------------
    int Initialize();
    int Shutdown();

    void GetName(char* pszName) const;
    bool Busy();

   // action interface
   // ---------------
   int OnPort(MM::PropertyBase* pProp, MM::ActionType eAct);
   int OnID(MM::PropertyBase* pProp, MM::ActionType eAct);
   int OnSetPressure(MM::PropertyBase* pProp, MM::ActionType eAct);
   int OnValveState(MM::PropertyBase* pProp, MM::ActionType eAct);
   int OnValveOnOff(MM::PropertyBase* pProp, MM::ActionType eAct, long valveNr);

private:
   int SetValveState();

   std::string port_;
   bool initialized_;
   bool busy_;
   double pressureSetPoint_;
   unsigned char valveState_;
   std::string id_;
};

#endif // _AQUINAS_H_
{'fraction_non_alphanumeric': 0.26886060229742315, 'fraction_numerical': 0.004346476249611922, 'mean_word_length': 1.6280587275693312, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1663253', 'n_tokens_mistral': 937, 'n_tokens_neox': 900, 'n_words': 206}