objectstructsdef.h

来自「Linux 环境下」· C头文件 代码 · 共 38 行

H
38
字号
#ifndef _OBJECT_STRUCTS_
#define _OBJECT_STRUCTS_
#include <string>
using namespace std;
typedef struct STATIONCONFIG
{
   string id;
   string name;
   unsigned short code;
   unsigned char type;
}*PSTCONFIG,STCONFIG;

//
typedef struct SIGNALOBJECT
{
   string id;
   string stid;
   string name;
   unsigned short code;
}*PSIGNALOBJ,SIGNALOBJ;

//
typedef struct VALUEOBJECT
{
   string id;
   string stid;
   string name;
   unsigned short code;
   unsigned char type;
   string unit;
   int atod;
   float scalemax;
   float scalemin;
}*PVALUEOBJ,VALUEOBJ;

#endif //_OBJECT_STRUCTS

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?