// ProductiveTime.h: interface for the CProductiveTime class.
//
//////////////////////////////////////////////////////////////////////

#pragma once

#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,
    };
};
