117 lines
2.0 KiB
C
117 lines
2.0 KiB
C
#ifndef _STMDEFINE_H_
|
|
#define _STMDEFINE_H_
|
|
|
|
#define CN_TOTAL_DEFECT 20 //总的缺陷数
|
|
#define CN_DEFECT_ITEMS 11 //每组缺陷的项数
|
|
|
|
//计划头数据
|
|
struct S_PREDATA
|
|
{
|
|
/* primary data */
|
|
|
|
float EntryThick;
|
|
float EntryWidth;
|
|
float ExitThick;
|
|
float ExitWidth;
|
|
char SteelGrade[8];
|
|
int CoilRule;
|
|
int CutMode;
|
|
char CombineGroup[7];
|
|
|
|
int HotCoiledTemp;
|
|
|
|
char OrderNo[10];
|
|
char FinalUse[4];
|
|
|
|
/* class data */
|
|
int ChemClass;
|
|
int PhysClass;
|
|
int AlloyId;
|
|
|
|
/* cross section area */
|
|
int FrontCrosSecCls;
|
|
int BehindCrosSecCls;
|
|
float FrontCrosSec;
|
|
float BehindCrosSec;
|
|
|
|
int ExitFrontCrosSecCls;
|
|
int ExitBehindCrosSecCls;
|
|
float ExitFrontCrosSec;
|
|
float ExitBehindCrosSec;
|
|
|
|
float CrosSec;
|
|
float ExitCrosSec;
|
|
float WeldCrosSec;
|
|
|
|
/* entry thick */
|
|
float FrontThick;
|
|
float BehindThick;
|
|
|
|
/* data of POR */
|
|
int PORFrontTension;
|
|
int PORBehindTension;
|
|
// int PORTension;
|
|
int POR_TenMax;
|
|
int POR_TenMin;
|
|
|
|
/* data of entry loop */
|
|
int ELPFrontTension;
|
|
int ELPBehindTension;
|
|
// int ELTotalTension;
|
|
int ELP_TenMax;
|
|
int ELP_TenMin;
|
|
int BendLoseTenMax;
|
|
int BendLoseTenMin;
|
|
|
|
/* data of exit loop */
|
|
int DLPFrontTension;
|
|
int DLPBehindTension;
|
|
int DLP_TenMax;
|
|
int DLP_TenMin;
|
|
|
|
/* data of jump roll */
|
|
int JR_TenMax;
|
|
int JR_TenMin;
|
|
float JR_UnitTen;
|
|
|
|
/* data of DC */
|
|
int DCFrontTension;
|
|
int DCBehindTension;
|
|
int DC_TenMax;
|
|
int DC_TenMin;
|
|
|
|
/* data of five rolls leveler */
|
|
int AdjFactor1;
|
|
int AdjFactor2;
|
|
int LevelerConst;
|
|
int FrontDepthMax;
|
|
int FrontDepthMin;
|
|
int BehindDepthMax;
|
|
int BehindDepthMin;
|
|
|
|
/* data of process section */
|
|
int Temp_Max;
|
|
int Temp_Min;
|
|
float TempFactor[4];
|
|
int MaxProcessSpeed;
|
|
int StandardMaxSpeed;
|
|
|
|
/* data of tension leveler */
|
|
float TLFrontElg;
|
|
float TLBehindElg;
|
|
int TL_ElMax;
|
|
int TL_ElMin;
|
|
float TLFrontDepth;
|
|
float TLBehindDepth;
|
|
int TL_DepthMax;
|
|
int TL_DepthMin;
|
|
float TLFrontLeanAngle;
|
|
float TLBehindLeanAngle;
|
|
int TL_LeanMax;
|
|
int TL_LeanMin;
|
|
int TL_TenMax;
|
|
int TL_TenMin;
|
|
};
|
|
|
|
#endif
|