MACHINE_Dose.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. class CAEPX_Dose : public GenUnitLogic
  2. {
  3. public:
  4. CAEPX_Dose();
  5. virtual ~CAEPX_Dose();
  6. //Data Access
  7. virtual int DATA_ACTION GetValue(float PARAM_OUT &status, int nParamType);
  8. virtual int DATA_ACTION SetValue(float PARAM_IN status, int nParamType);
  9. virtual int DATA_ACTION SetAPR(APRStruct APRParam);
  10. //Actions
  11. virtual int DEVICE_ACTION IncParam(int nAdjustStep, int nParamType);
  12. virtual int DEVICE_ACTION DecParam(int nAdjustStep, int nParamType);
  13. virtual int DEVICE_ACTION IncParamL(int nAdjustStepL, int nParamType);
  14. virtual int DEVICE_ACTION DecParamL(int nAdjustStepL, int nParamType);
  15. //we need check each action resource is Support or not
  16. //return yes or no inside of OEM module
  17. virtual bool DEVICE_SUPPORT Support_IncParam(int nParamType);
  18. virtual bool DEVICE_SUPPORT Support_DecParam(int nParamType);
  19. virtual bool DEVICE_SUPPORT Support_IncParamL(int nParamType);
  20. virtual bool DEVICE_SUPPORT Support_DecParamL(int nParamType);
  21. virtual bool DEVICE_SUPPORT Support_SetValue(int nParamType);
  22. virtual bool DEVICE_SUPPORT Support_GetValue(int nParamType);
  23. public:
  24. int GetValue(float status, int nParamType);
  25. bool DPCPoint(class CAEPX_DPC* pAEPX_DPC);
  26. int SetAPRLocal();
  27. int findPositon(float *pList, int nListSize, double& value);
  28. CAEPX_DPC* m_pAEPX_DPC;
  29. // DeviceConfig m_DeviceConfig; //from Gen
  30. };