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.

64 lines
1.1 KiB
C

#ifndef _INFOFILE_H_
#define _INFOFILE_H_
#include <QString>
#include <QTime>
#include "qstringlist.h"
#define WS_PICSIZE 129 //!>缩放大小
#define WS_PICSIZELIST 120
#define WF_HUBMODEL_ID "hubID"
#define WF_HUBMODEL_DIAMETER "diameter"//轮毂直径
#define WF_HUBMODEL_HEIGHT "height"//轮毂厚度
#define WF_HUBMODEL_CHANNELS "channels"
#define WF_HUBMODEL_FILEPATH "filepath"
#define WF_LIFHT "Light"
#define WF_PLCPARA "PlcPara"
#define WF_PARASET "paraSetting"//PLC参数设置
enum AMPMType{
AM=0,
PM=1,
};
struct TimeStruct
{
int m_Index;
QString m_name;
QTime m_startTime;
AMPMType time_start;
QTime m_endTime;
AMPMType time_end;
TimeStruct(){
time_start = AM;
time_end = AM;
}
};
struct WarnMessage
{
QString m_Message;
QString m_Date;
QString m_class;
};
struct ChannelInfo
{
QString m_ChannelName;
QString m_AboutName;
int m_value;
QStringList m_strModels;
};
enum EM_LOG_TYPE{
emTypeWaring = 1,
emTypeCameraState,
emTypeNetState,
emTypeRunState,
emTypeUseState
};
enum emTypeBee{
LIGHT_REDBEE = 0,
LIGHT_GREENBEE,
LIGHT_YELLOWBEE,
LIGHT_BEE
};
#endif