// 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_)
