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++
// ProductiveTime.h: interface for the CProductiveTime class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_PRODUCTIVETIME_H__39FF9AF6_B016_493B_A338_BD96C38D7FE0__INCLUDED_)
|
|
#define AFX_PRODUCTIVETIME_H__39FF9AF6_B016_493B_A338_BD96C38D7FE0__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 CProductiveTime : public CEquipState*/
|
|
class CProductiveTime : public CEquipState
|
|
{
|
|
public:
|
|
// default constructor
|
|
CProductiveTime();
|
|
|
|
// default Destructor
|
|
virtual ~CProductiveTime();
|
|
|
|
// set all productive time equipment state
|
|
void SetEquipState(int iEvt, int iState);
|
|
|
|
// get total productive time equipment time
|
|
LONGLONG GetTotalTime();
|
|
|
|
enum
|
|
{
|
|
REGULAR_PRODUCTION,
|
|
WORK_FOR_3RD_PARTY,
|
|
REWORK,
|
|
ENGINEERING_RUNS,
|
|
MAX_PRODUCTIVE_EQUIP_STATE,
|
|
};
|
|
};
|
|
|
|
#endif // !defined(AFX_PRODUCTIVETIME_H__39FF9AF6_B016_493B_A338_BD96C38D7FE0__INCLUDED_)
|