#ifndef CHALETDATA_H
#define CHALETDATA_H
#include <QString>
#include "GlobalDefine.h"
#include <QDateTime>
#include <QByteArray>



class CChaletMainStatus
{
public:

    QByteArray ToByteArray();
 //   int FromByteArray(QByteArray Data);

    CChaletMainStatus();

    quint8 mInverterRelayStatus;
    quint8 mWiFiModuleStatus;
    qint8 mCurrentSensorStatus;

    float mBatteryVoltage;
    qint16 mBatteryCurrent;
    qint16 mBatterySOC;

    bool mHarakiriDone;
    bool mIsOnline;

    bool mStatusToggleBit;

    QDateTime mLastLoraStatus;

};


#endif // CHALETDATA_H
