?? sequencetime.h
字號:
//+-----------------------------------------------------------------------------
//| Inclusion guard
//+-----------------------------------------------------------------------------
#ifndef MAGOS_SEQUENCE_TIME_H
#define MAGOS_SEQUENCE_TIME_H
//+-----------------------------------------------------------------------------
//| Included files
//+-----------------------------------------------------------------------------
#include "Common.h"
//+-----------------------------------------------------------------------------
//| Sequence time structure
//+-----------------------------------------------------------------------------
struct SEQUENCE_TIME
{
explicit SEQUENCE_TIME()
{
Time = 0;
IntervalStart = std::numeric_limits<INT>::min();
IntervalEnd = std::numeric_limits<INT>::max();
}
explicit SEQUENCE_TIME(INT NewTime)
{
Time = NewTime;
IntervalStart = std::numeric_limits<INT>::min();
IntervalEnd = std::numeric_limits<INT>::max();
}
explicit SEQUENCE_TIME(INT NewTime, INT NewIntervalStart, INT NewIntervalEnd)
{
Time = NewTime;
IntervalStart = NewIntervalStart;
IntervalEnd = NewIntervalEnd;
}
INT Time;
INT IntervalStart;
INT IntervalEnd;
};
//+-----------------------------------------------------------------------------
//| End of inclusion guard
//+-----------------------------------------------------------------------------
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -