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

📄 pqdif_lg.h

📁 电能质量PQDIF文件格式IEEE标准Logic定义
💻 H
📖 第 1 页 / 共 4 页
字号:
/***  PQDIF - Power Quality Data Interchange Format**  Version 1.5****  File name:          $Workfile: pqdif_lg.h $**  Last modified:      $Modtime: 1/17/02 2:04p $**  Last modified by:   $Author: Jack $****  VCS archive path:   $Archive: /PQDIF/Document/Version15/pqdif_lg.h $**  VCS revision:       $Revision: 54 $ ****  LOGICAL FORMAT DEFINITIONS**  ======================================================================**  This file contains the complete specifications for the logical**  format of a PQDIF file. It is based on the _physical_ structure of**  the file, which is defined in PQDIF_PH.H****  ======================================================================**  The current version of this file and related information**  can be found at URL:****  http://grouper.ieee.org/groups/1159/3/docs.html****  ======================================================================****  LOGICAL HIERARCHY OF RECORDS**  ======================================================================**  The records that make up PQDIF are currently of four different kinds:**  Container, Data Source, Monitor Settings, and Observation.****  There are absolute links from one record to another (these are**  different from links within a record, which are relative within the**  record). When these links are followed, the records form a logical**  hierarchy:****    +-----------+**    | Container |**    +-----------+**        |**        |   +---------------+**        +---| Data Source 1 |**        |   +---------------+**        |       |**        |       |   +--------------------+**        |       +---| Monitor Settings 1 |**        |       |   +--------------------+**        |       |       |**        |       |       |   +---------------+**        |       |       +---| Observation 1 |**        |       |       |   +---------------+**        |       |       |   +---------------+**        |       |       +---| Observation 2 |**        |       |       |   +---------------+**        |       |      ...**        |       |       |   +---------------+**        |       |       +---| Observation n |**        |       |           +---------------+**        |       |**        |       |   +--------------------+**        |       +---| Monitor Settings 2 |**        |       |   +--------------------+**        |      ...**        |       |   +--------------------+**        |       +---| Monitor Settings n |**        |       |   +--------------------+**        |      ...**        |   +---------------+**        +---| Data Source 2 |**        |   +---------------+**       ...**        |   +---------------+**        +---| Data Source n |**        |   +---------------+**       ...****  The first record in a PQDIF file must be of the Container type.**  This data in this record describes attributes of the items **  contained within the PQDIF file.****  The container record is then followed by a Data Source**  record which can be followed by one or more Data Source**  records or Observation records.  A Data Source record**  describes the source of the data that is contained in the**  Observation records that follow it.**  **  Note that Monitor Settings records are optional; in their absence,**  Observation records fall directly under the appropriate**  Data Source record.*/#ifndef PQDIF_LG_H#define PQDIF_LG_H/***  RECORD HEADER**  ======================================================================**  The first item in a PQDIF File (and in each record) is a 128 bit**  GUID which serves as a unique signature for both the file as a whole**  and each record.****  Every record must have this GUID.*/const GUID guidRecordSignaturePQDIF = { /* 4a111440-e49f-11cf-9900-505144494600 */    0x4a111440,    0xe49f,    0x11cf,    {0x99, 0x00, 0x50, 0x51, 0x44, 0x49, 0x46, 0x00}  };/***  TAG FOR ANY RECORD**  ======================================================================**  The following tag can be used to leave space in a collection. To leave **  a collection item blank, specify it as a scalar of less than 8 bytes**  (such as a UINT4), and specify it as embedded.*/const GUID tagBlank =  //      { 0x89738618, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };    // {89738618-F1C3-11cf-9D89-0080C72E70A3}//  ======================================================================//  Do not modify anything after the following comment://  {{{{ AUTO-GENERATED CONSTANTS }}}}//  Description:   Record-level tag which identifies the container record (always  the first one in the file, and there must be only one per file).//  Element type:  Collection [ * ]//  Physical type: (n/a)//  Required/opt:  Required//  Version:       1.0const GUID tagContainer = { 0x89738606, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   Record-level tag which identifies a data source (an instrument, etc.).//  Element type:  Collection [ * ]//  Physical type: (n/a)//  Required/opt:  Required//  Version:       1.0const GUID tagRecDataSource = { 0x89738619, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   Record-level tag which identifies a set of configuration parameters.//  Element type:  Collection [ * ]//  Physical type: (n/a)//  Required/opt:  Optional//  Version:       1.0const GUID tagRecMonitorSettings = { 0xb48d858c, 0xf5f5, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   Record-level tag which identifies an observation -- an event, measurement, etc.//  Element type:  Collection [ * ]//  Physical type: (n/a)//  Required/opt:  Required//  Version:       1.0const GUID tagRecObservation = { 0x8973861a, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   Specifies the format version for read/write compatibility. The four required numbers in the vector are described below.//  Element type:  Vector [ 4 ]//  Physical type: UINT4//  Required/opt:  Required//  Version:       1.0const GUID tagVersionInfo = { 0x89738607, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   Original name of the file.//  Element type:  Vector [ * ]//  Physical type: CHAR1//  Required/opt:  Required//  Version:       1.0const GUID tagFileName = { 0x89738608, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   Date/time when the file was created.//  Element type:  Scalar//  Physical type: TIMESTAMP//  Required/opt:  Required//  Version:       1.0const GUID tagCreation = { 0x89738609, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   Date/time when the file was last saved.//  Element type:  Scalar//  Physical type: TIMESTAMP//  Required/opt:  Optional//  Version:       1.0const GUID tagLastSaved = { 0x8973860a, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   The number of times the file has been saved/modified.//  Element type:  Scalar//  Physical type: UINT4//  Required/opt:  Optional//  Version:       1.0const GUID tagTimesSaved = { 0x8973860b, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   The language (English, etc.) of the file.//  Element type:  Vector [ * ]//  Physical type: CHAR1//  Required/opt:  Optional//  Version:       1.0const GUID tagLanguage = { 0x8973860c, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   Arbitrary title.//  Element type:  Vector [ * ]//  Physical type: CHAR1//  Required/opt:  Optional//  Version:       1.0const GUID tagTitle = { 0x8973860d, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   Arbitrary subject string//  Element type:  Vector [ * ]//  Physical type: CHAR1//  Required/opt:  Optional//  Version:       1.0const GUID tagSubject = { 0x8973860e, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   Individual/company who caused the file to be written//  Element type:  Vector [ * ]//  Physical type: CHAR1//  Required/opt:  Optional//  Version:       1.0const GUID tagAuthor = { 0x8973860f, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   Keywords for assisting searches//  Element type:  Vector [ * ]//  Physical type: CHAR1//  Required/opt:  Optional//  Version:       1.0const GUID tagKeywords = { 0x89738610, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   Arbitrary comments//  Element type:  Vector [ * ]//  Physical type: CHAR1//  Required/opt:  Optional//  Version:       1.0const GUID tagComments = { 0x89738611, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   Individual/company who last wrote to file//  Element type:  Vector [ * ]//  Physical type: CHAR1//  Required/opt:  Optional//  Version:       1.0const GUID tagLastSavedBy = { 0x89738612, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   Creating application//  Element type:  Vector [ * ]//  Physical type: CHAR1//  Required/opt:  Optional//  Version:       1.0const GUID tagApplication = { 0x89738623, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   Security descriptor information//  Element type:  Vector [ * ]//  Physical type: CHAR1//  Required/opt:  Optional//  Version:       1.0const GUID tagSecurity = { 0x89738613, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   Owner of file contents (This and some of the following fields are for copyright and trademark information)//  Element type:  Vector [ * ]//  Physical type: CHAR1//  Required/opt:  Optional//  Version:       1.0const GUID tagOwner = { 0x89738614, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   Copyright notice//  Element type:  Vector [ * ]//  Physical type: CHAR1//  Required/opt:  Optional//  Version:       1.0const GUID tagCopyright = { 0x89738615, 0xf1c3, 0x11cf, { 0x9d, 0x89, 0x0, 0x80, 0xc7, 0x2e, 0x70, 0xa3 } };//  Description:   Trademark notice//  Element type:  Vector [ * ]//  Physical type: CHAR1//  Required/opt:  Optional//  Version:       1.0

⌨️ 快捷键说明

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