// ScheduleDowntime.h: interface for the CScheduledDowntime class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SCHEDULEDOWNTIME_H__24A97202_645B_4814_A4AC_FF33E5AECA34__INCLUDED_)
#define AFX_SCHEDULEDOWNTIME_H__24A97202_645B_4814_A4AC_FF33E5AECA34__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 CScheduledDowntime : public CEquipState*/
class CScheduledDowntime : public CEquipState
{
public:
//  default constructor
    CScheduledDowntime();

//  default destructor
    virtual ~CScheduledDowntime();

//  set all scheduled downtime equipment state
    void SetEquipState(int iEvt, int iState);

//  get total scheduled downtime equipment time
    LONGLONG GetTotalTime();

    enum
    {
        SCHEDULED_MAINT_DELAY,
        PRODUCTION_TEST,
        PREVENTIVE_MAINT,
        SCHEDULED_CHANGE_OF_CONSUMABLES_CHEMICALS,
        SETUP,
        SCHEDULED_FACILITIES_RELATED,
        MAX_SCHEDULED_EQUIP_STATE,
    };
};

#endif // !defined(AFX_SCHEDULEDOWNTIME_H__24A97202_645B_4814_A4AC_FF33E5AECA34__INCLUDED_)
