1234567891011121314151617181920212223242526272829303132333435 |
- class CAEPX_Dose : public GenUnitLogic
- {
- public:
- CAEPX_Dose();
- virtual ~CAEPX_Dose();
- //Data Access
- virtual int DATA_ACTION GetValue(float PARAM_OUT &status, int nParamType);
- virtual int DATA_ACTION SetValue(float PARAM_IN status, int nParamType);
- virtual int DATA_ACTION SetAPR(APRStruct APRParam);
- //Actions
- virtual int DEVICE_ACTION IncParam(int nAdjustStep, int nParamType);
- virtual int DEVICE_ACTION DecParam(int nAdjustStep, int nParamType);
- virtual int DEVICE_ACTION IncParamL(int nAdjustStepL, int nParamType);
- virtual int DEVICE_ACTION DecParamL(int nAdjustStepL, int nParamType);
- //we need check each action resource is Support or not
- //return yes or no inside of OEM module
- virtual bool DEVICE_SUPPORT Support_IncParam(int nParamType);
- virtual bool DEVICE_SUPPORT Support_DecParam(int nParamType);
- virtual bool DEVICE_SUPPORT Support_IncParamL(int nParamType);
- virtual bool DEVICE_SUPPORT Support_DecParamL(int nParamType);
- virtual bool DEVICE_SUPPORT Support_SetValue(int nParamType);
- virtual bool DEVICE_SUPPORT Support_GetValue(int nParamType);
- public:
- int GetValue(float status, int nParamType);
- bool DPCPoint(class CAEPX_DPC* pAEPX_DPC);
- int SetAPRLocal();
- int findPositon(float *pList, int nListSize, double& value);
- CAEPX_DPC* m_pAEPX_DPC;
- // DeviceConfig m_DeviceConfig; //from Gen
- };
|