⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 monitors.mco

📁 eXtremeDB数据库在Linux平台下的使用源码。内含多个示例程序
💻 MCO
字号:
/* */#define int1	  signed<1>#define int2	  signed<2>#define int4	  signed<4>#define uint8   unsigned<8>#define uint4   unsigned<4>#define uint2   unsigned<2>#define uint1   unsigned<1>declare database monitorDB;declare oid ID[10000];struct Svalue {	time	 tm;	uint4	 u4;        char<36> bytes;	};struct ID{	time  tm;        uint4 cnt;	uint4 seq;};/* * gets updated every s1 microseconds * the new sensor1 measurement is is written in, and the oldest * measurement is deleted. * insert new record, update oldest with another * new record & delete oldest record */class Sensor1 {	time            tm;	uint4 value1;	uint4 value2;	uint4 value3;	uint4 value4;	vector <Svalue> valuev;	tree <tm> IS1tm;	list;};

⌨️ 快捷键说明

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