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

📄 opcbatchdef.h

📁 OPC客户程序所需要的头文件。 OPC基金会产品。 适用于opc1.0和opc2.0规范。
💻 H
字号:
//==============================================================================
// TITLE: OpcBatchDef.h
//
// CONTENTS:
// 
// Defines constants for the Batch specifications.
//
// (c) Copyright 2000-2003 The OPC Foundation
// ALL RIGHTS RESERVED.
//
// DISCLAIMER:
//  This code is provided by the OPC Foundation solely to assist in 
//  understanding and use of the appropriate OPC Specification(s) and may be 
//  used as set forth in the License Grant section of the OPC Specification.
//  This code is provided as-is and without warranty or support of any sort
//  and is subject to the Warranty and Liability Disclaimers which appear
//  in the printed OPC Specification.
//
// MODIFICATION LOG:
//
// Date       By    Notes
// ---------- ---   -----
// 2000/01/17 OPC   Created.
// 2001/01/23 OPC   Added Version 2.0 properties.
// 2003/01/06 RSA   Updated formatting.
//

#ifndef __OPCBATCHDEF_H
#define __OPCBATCHDEF_H

// OPC Batch Component Category Description
#define OPC_BATCHSERVER_CAT_DESC1 L"OPC Batch Server Version 1.0"
#define OPC_BATCHSERVER_CAT_DESC2 L"OPC Batch Server Version 2.0"

#ifndef __EnumSets_MODULE_DEFINED__
#define __EnumSets_MODULE_DEFINED__

// Define the various Batch Enumeration Sets
//
//   Custom Enumeration Set IDs start at 100
//   Custom Enumeration Values for any of the defined Enumeration
//     sets may be appended.  These custom enumeration values start
//     at 100.
//
//   The enumeration values and corresponding localized string 
//     representation are returned via the IOPCEnumerationSets
//     interface methods.

// OPC Batch Enumeration Sets
#define OPCB_ENUM_PHYS        0
#define OPCB_ENUM_PROC        1
#define OPCB_ENUM_STATE       2
#define OPCB_ENUM_MODE        3
#define OPCB_ENUM_PARAM       4
#define OPCB_ENUM_MR_PROC     5
#define OPCB_ENUM_RE_USE      6

// OPC Batch Physical Model Level Enumeration
#define OPCB_PHYS_ENTERPRISE    0
#define OPCB_PHYS_SITE        1
#define OPCB_PHYS_AREA        2
#define OPCB_PHYS_PROCESSCELL   3
#define OPCB_PHYS_UNIT        4
#define OPCB_PHYS_EQUIPMENTMODULE 5
#define OPCB_PHYS_CONTROLMODULE   6
#define OPCB_PHYS_EPE       7

// OPC Batch Procedural Model Level Enumeration
#define OPCB_PROC_PROCEDURE     0
#define OPCB_PROC_UNITPROCEDURE   1
#define OPCB_PROC_OPERATION     2
#define OPCB_PROC_PHASE       3
#define OPCB_PROC_PARAMETER_COLLECTION 4
#define OPCB_PROC_PARAMETER 5
#define OPCB_PROC_RESULT_COLLECTION 6
#define OPCB_PROC_RESULT 7
#define OPCB_PROC_BATCH 8
#define OPCB_PROC_CAMPAIGN 9

// OPC Batch IEC 61512-1State Index Enumeration
#define OPCB_STATE_IDLE       0
#define OPCB_STATE_RUNNING      1
#define OPCB_STATE_COMPLETE     2
#define OPCB_STATE_PAUSING      3
#define OPCB_STATE_PAUSED     4
#define OPCB_STATE_HOLDING      5
#define OPCB_STATE_HELD       6
#define OPCB_STATE_RESTARTING   7
#define OPCB_STATE_STOPPING     8
#define OPCB_STATE_STOPPED      9
#define OPCB_STATE_ABORTING     10
#define OPCB_STATE_ABORTED      11
#define OPCB_STATE_UNKNOWN      12

// OPC Batch IEC 61512-1Mode Index Enumeration
#define OPCB_MODE_AUTOMATIC     0
#define OPCB_MODE_SEMIAUTOMATIC   1
#define OPCB_MODE_MANUAL      2
#define OPCB_MODE_UNKNOWN     3

// OPC Batch Parameter Type Enumeration
#define OPCB_PARAM_PROCESSINPUT   0
#define OPCB_PARAM_PROCESSPARAMETER 1
#define OPCB_PARAM_PROCESSOUTPUT  2

// OPC Batch Master Recipe Procedure Enumeration
#define OPCB_MR_PROC_PROCEDURE        0
#define OPCB_MR_PROC_UNITPROCEDURE    1
#define OPCB_MR_PROC_OPERATION        2
#define OPCB_MR_PROC_PHASE            3
#define OPCB_MR_PARAMETER_COLLECTION  4
#define OPCB_MR_PARAMETER             5
#define OPCB_MR_RESULT_COLLECTION     6
#define OPCB_MR_RESULT                7
      
// OPC Batch Recipe Element Use Enumeration
#define OPCB_RE_USE_INVALID   0
#define OPCB_RE_USE_LINKED    1
#define OPCB_RE_USE_EMBEDDED  2
#define OPCB_RE_USE_COPIED    3
      
#endif // __EnumSets_MODULE_DEFINED__

#endif // __OPCBATCHDEF_H

⌨️ 快捷键说明

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