mirror of
https://github.com/Binary-Coalescence/motorDSM.git
synced 2025-08-05 14:15:39 -05:00
Substituted string "mcb4b" with "md90".
The following case replacements were applied (in order): mcb4b -> md90 MCB4B -> MD90 mcb-4b -> md-90 MCB-4B -> MD-90 MCB -> MD-90
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
FILENAME... MCB4BDriver.h
|
||||
USAGE... Motor driver support for the DSM MCB-4B controller.
|
||||
FILENAME... MD90Driver.h
|
||||
USAGE... Motor driver support for the DSM MD-90 controller.
|
||||
|
||||
Mark Rivers
|
||||
March 1, 2012
|
||||
@@ -10,16 +10,16 @@ March 1, 2012
|
||||
#include "asynMotorController.h"
|
||||
#include "asynMotorAxis.h"
|
||||
|
||||
#define MAX_MCB4B_AXES 4
|
||||
#define MAX_MD90_AXES 4
|
||||
|
||||
// No controller-specific parameters yet
|
||||
#define NUM_MCB4B_PARAMS 0
|
||||
#define NUM_MD90_PARAMS 0
|
||||
|
||||
class epicsShareClass MCB4BAxis : public asynMotorAxis
|
||||
class epicsShareClass MD90Axis : public asynMotorAxis
|
||||
{
|
||||
public:
|
||||
/* These are the methods we override from the base class */
|
||||
MCB4BAxis(class MCB4BController *pC, int axis);
|
||||
MD90Axis(class MD90Controller *pC, int axis);
|
||||
void report(FILE *fp, int level);
|
||||
asynStatus move(double position, int relative, double min_velocity, double max_velocity, double acceleration);
|
||||
asynStatus moveVelocity(double min_velocity, double max_velocity, double acceleration);
|
||||
@@ -30,20 +30,20 @@ public:
|
||||
asynStatus setClosedLoop(bool closedLoop);
|
||||
|
||||
private:
|
||||
MCB4BController *pC_; /**< Pointer to the asynMotorController to which this axis belongs.
|
||||
MD90Controller *pC_; /**< Pointer to the asynMotorController to which this axis belongs.
|
||||
* Abbreviated because it is used very frequently */
|
||||
asynStatus sendAccelAndVelocity(double accel, double velocity);
|
||||
|
||||
friend class MCB4BController;
|
||||
friend class MD90Controller;
|
||||
};
|
||||
|
||||
class epicsShareClass MCB4BController : public asynMotorController {
|
||||
class epicsShareClass MD90Controller : public asynMotorController {
|
||||
public:
|
||||
MCB4BController(const char *portName, const char *MCB4BPortName, int numAxes, double movingPollPeriod, double idlePollPeriod);
|
||||
MD90Controller(const char *portName, const char *MD90PortName, int numAxes, double movingPollPeriod, double idlePollPeriod);
|
||||
|
||||
void report(FILE *fp, int level);
|
||||
MCB4BAxis* getAxis(asynUser *pasynUser);
|
||||
MCB4BAxis* getAxis(int axisNo);
|
||||
MD90Axis* getAxis(asynUser *pasynUser);
|
||||
MD90Axis* getAxis(int axisNo);
|
||||
|
||||
friend class MCB4BAxis;
|
||||
friend class MD90Axis;
|
||||
};
|
||||
|
Reference in New Issue
Block a user