You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.2 KiB
C++
48 lines
1.2 KiB
C++
// StandbyTime.h: interface for the CStandbyTime class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_STANDBYTIME_H__5D3F13DE_32ED_4540_A0A0_EA500A392724__INCLUDED_)
|
|
#define AFX_STANDBYTIME_H__5D3F13DE_32ED_4540_A0A0_EA500A392724__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "EquipState.h"
|
|
|
|
/*
|
|
#ifdef BUILD_MCCTRDLL
|
|
#define MCCTRDLLCLASS __declspec(dllexport)
|
|
#else
|
|
#define MCCTRDLLCLASS __declspec(dllimport)
|
|
#endif
|
|
|
|
class MCCTRDLLCLASS CStandbyTime : public CEquipState*/
|
|
class CStandbyTime : public CEquipState
|
|
{
|
|
public:
|
|
// default constructor
|
|
CStandbyTime();
|
|
|
|
// default destructor
|
|
virtual ~CStandbyTime();
|
|
|
|
// set all standby time equipment state
|
|
void SetEquipState(int iEvt, int iState);
|
|
|
|
// get total standby time equipment time
|
|
LONGLONG GetTotalTime();
|
|
|
|
enum
|
|
{
|
|
NO_OPERATOR,
|
|
NO_PRODUCT,
|
|
NO_SUPPORT_TOOL,
|
|
STOP_MACHINE,
|
|
MAX_STANBY_EQUIP_STATE
|
|
};
|
|
};
|
|
|
|
#endif // !defined(AFX_STANDBYTIME_H__5D3F13DE_32ED_4540_A0A0_EA500A392724__INCLUDED_)
|