29 lines
728 B
C++
29 lines
728 B
C++
#pragma once
|
|
#include "../config/bean/SystemBase.h"
|
|
#include "../plc/SysParam.h"
|
|
#include "../plc/SignalState.h"
|
|
#include "../LanguageManager.h"
|
|
|
|
|
|
class Machine {
|
|
public:
|
|
Machine(MachineTypeCfg::MachineTypeId type);
|
|
virtual ~Machine();
|
|
static Machine* CreateInstance(int type);
|
|
|
|
void SetAxisAndSignal(SysParamWrapper* sysParamWrapper, AxisRecordWrapper* axisRecordWrapper/*, PLCAxis* axis*/)
|
|
{
|
|
m_SysParamWrapper = sysParamWrapper;
|
|
m_AxisRecordWrapper = axisRecordWrapper;
|
|
/*m_Axis = axis;*/
|
|
}
|
|
|
|
virtual void DrawAnalogExt();
|
|
protected:
|
|
SysParamWrapper* m_SysParamWrapper;
|
|
AxisRecordWrapper* m_AxisRecordWrapper;
|
|
SignalStateWrapper* m_SignalStateWrapper;
|
|
SignalState m_SignalState;
|
|
|
|
void* m_PLC; //wxxtest
|
|
}; |