![02-ument使用說明golden二次開發(fā)手冊for c_第1頁](http://file4.renrendoc.com/view/cba098846fbe943e27ecaea06fbd8f4d/cba098846fbe943e27ecaea06fbd8f4d1.gif)
![02-ument使用說明golden二次開發(fā)手冊for c_第2頁](http://file4.renrendoc.com/view/cba098846fbe943e27ecaea06fbd8f4d/cba098846fbe943e27ecaea06fbd8f4d2.gif)
![02-ument使用說明golden二次開發(fā)手冊for c_第3頁](http://file4.renrendoc.com/view/cba098846fbe943e27ecaea06fbd8f4d/cba098846fbe943e27ecaea06fbd8f4d3.gif)
![02-ument使用說明golden二次開發(fā)手冊for c_第4頁](http://file4.renrendoc.com/view/cba098846fbe943e27ecaea06fbd8f4d/cba098846fbe943e27ecaea06fbd8f4d4.gif)
![02-ument使用說明golden二次開發(fā)手冊for c_第5頁](http://file4.renrendoc.com/view/cba098846fbe943e27ecaea06fbd8f4d/cba098846fbe943e27ecaea06fbd8f4d5.gif)
版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
1、目首目首快速入函數(shù)分批量搜精確搜快照操查詢快關閉連模塊索模類索類列模塊說數(shù)據(jù)類坐標類型 類型定詳細描枚枚詳細描結構詳細描宏定宏定宏定宏定詳細描類型定詳細描錯誤信宏定枚詳細描API 配置接函詳細描函數(shù)說函詳細描函數(shù)說函詳細描函數(shù)說函詳細描函數(shù)說函詳細描函數(shù)說詳細描函數(shù)說函詳細描函數(shù)說函詳細描函數(shù)說類說結構體參Public 屬詳細描_GOLDEN_COORDINATE結構體參Public 屬詳細描_GOLDEN_HEADER_PAGE結構體參Public 屬詳細描_GOLDEN_HOST_CONNECT_INFO結構體參Public 屬詳細描結構體參Public 屬詳細描結構體參Public 屬詳
2、細描_GOLDEN_TABLE 結構體參Public 屬詳細描_GOLDEN_TAG_FACTION聯(lián)合體參Public 屬詳細描索v首簡該手冊詳細描述了客戶端應用程序庚頓實時數(shù)據(jù)庫管理系統(tǒng) (Golden Real-DatabaseManagementSystem,簡稱庚頓實時數(shù)據(jù)庫或Golden實時數(shù)據(jù)庫)V2.1所使用的基于C/C+調用標準的應用程序接口(GoldenV2.1 API)。 GoldenV2.1 API Golden實時數(shù)據(jù)庫。 在的編程接口,使用GoldenV2.1API 首簡該手冊詳細描述了客戶端應用程序庚頓實時數(shù)據(jù)庫管理系統(tǒng) (Golden Real-Database
3、ManagementSystem,簡稱庚頓實時數(shù)據(jù)庫或Golden實時數(shù)據(jù)庫)V2.1所使用的基于C/C+調用標準的應用程序接口(GoldenV2.1 API)。 GoldenV2.1 API Golden實時數(shù)據(jù)庫。 在的編程接口,使用GoldenV2.1API Windows系列操作系統(tǒng)下發(fā)布的GoldenAPI動GoldenAPI動文golden.h GoldenAPIC/C+結golden_errorGoldenAPIC/C+函數(shù)返回值定義文goldenapi.h GoldenAPIC/C+文快速入本文主要介紹了如何快速使用GoldenC+API 與GoldenGoldenAPI 連接
4、數(shù)據(jù)#include1搜點點對應的id搜點點對應的id HYPERLINK http:/w/ .cn #include #includegoldenapi.h#include #includegoldenapi.husinggolden 32count=32 ids(count); goldenerrorretval=gobsearch(demoif(ret val != GoE OK)32handle=0; 32 priv = 0;goldenerrorretval=GoEretval=goconnect(,6327,&handle); if(ret val != GoE OK)ret_va
5、l=go_login(sa,golden,&priv); if(ret_val != GoE_OK) HYPERLINK http:/w/ .cn #includegolden_errorret_val=count HYPERLINK http:/w/ .cn #includegolden_errorret_val=countids11id#includegolden_errorret_val=countids11iddatetimes1 = 0 ;/ 輸出,時間戳,秒 ms1 = 0 ;/ 輸出,時間戳,毫秒部分 golden float64 values1 = 0.0 ;/ 輸出,浮點型數(shù)
6、值列表 es1 = 0 ;/輸出,實時整型數(shù)值列表 qualities1 = 0 ;/ 輸出,質量碼 golden errorerrors1 = 0 ;/ 輸出,對應錯誤碼列表ret_val = gos_get_snapshots(handle, &count, ids, datetimes, ms, values, ses,qualities, if(ret_val!=GoE_OK|errors0!=using32 count = 2; vectortabledottags(count); 32 ids(count); 32 types(count); 32classof(count); 1
7、6 use_ms(count);chartable_dot_tag1GOLDENTAGSIZE+GOLDENTAGSIZE=demo.demo_ai001; chartable_dot_tag2GOLDENTAGSIZE+GOLDENTAGSIZE=demo.demo_ai002; table_dot_tags0 = table_dot_tag1;table_dot_tags1=golden_error ret_val = gob_find_pos(handle,&count,table_dot_tags.data(),ids.data(), types.data(), classof.dat
8、a(), use_ms.data();if(ret_val!=絕大部分API的返回值是一個golden error類型的整數(shù),通過go format message方法,可以 HYPERLINK http:/w/ .cn #include using namespa#include絕大部分API的返回值是一個golden error類型的整數(shù),通過go format message方法,可以 HYPERLINK http:/w/ .cn #include using namespa#includegoldenapi.hconst golden32strsize=256; char namest
9、r size = 0;charmsgstr_size=goformatmessage(ret_val,msg,name,cout錯誤碼:ret_val,錯誤描述:msg#includego_disconnec datetimes1 = 0 ;/ 輸出,時間戳,秒 ms1 = 0 ;/ 輸出,時間戳,毫秒部分 golden float64 values1 = 45.6 ;/ 輸出,浮點型數(shù)值列表 es1 = 0 ;/輸出,實時整型數(shù)值列表 qualities1 = 0 ;/ 輸出,質量碼 golden errorerrors1 = 0 ;/ 輸出,對應錯誤碼列表64datetime64=ret_
10、val=go_parse_time(2015-03-2014:00:00,&datetime64,ms); if(ret_val != GoE_OK)datetimes0=ret_val = gos_put_snapshots(handle, &count, ids, datetimes, ms, values, ses,qualities, if(ret_val!=GoE_OK|errors0!=模塊索模這里列出了所有模塊數(shù)據(jù)類枚結構宏定回調函數(shù)定錯誤信API 配模塊索模這里列出了所有模塊數(shù)據(jù)類枚結構宏定回調函數(shù)定錯誤信API 配置接網絡服務接基點信息接實時數(shù)據(jù)接存檔文件接歷史數(shù)據(jù)接方程式計
11、算接類索類列這里列出了所有類、結構、聯(lián)合以及接口定義等,并附帶明 GOLDEN CALC (計算點擴展屬性集。8字節(jié)對齊條件下占用2048字節(jié)。 GOLDEN COORDINATE (坐標類型 GOLDEN AGE(歷史數(shù)據(jù)存檔文件頭部頁 GOLDEN HOST CONNECT INFO(連接到GOLDEN數(shù)據(jù)庫服務器的連接信息 GOLDEN (基點屬性集。8字節(jié)對齊的條件下占用512字節(jié)。 GOLDEN SCAN GOLDEN TABLE(點擴展屬性集。8字節(jié)對齊條件下占用512字節(jié)。 點索引表屬性集。 GOLDEN TAG FACTION點派別結構 HYPERLINK http:/w/ .
12、cn 模塊說類struct GOLDEN 坐標類型 類型定typedefstruct GOLDEN COORDINATEGOLDEN 坐標類typedefunsignedchargolden 單字節(jié)typedef char golden 位整typedefunsignedchar模塊說類struct GOLDEN 坐標類型 類型定typedefstruct GOLDEN COORDINATEGOLDEN 坐標類typedefunsignedchargolden 單字節(jié)typedef char golden 位整typedefunsignedchargolden 8位正整typedef shor
13、t golden 16位整typedefunsignedshortgolden 16位正整golden 32位整typedef32位正整golden typedef long long golden 64位整typedefunsignedlonglonggolden 64位正整typedefshortgolden 16位浮點typedeffloatgolden 32位浮點typedefdoublegolden 64位浮點typedefGOLDEN COORDINATEgolden 二維坐typedef錯誤數(shù)golden typedefvoid *golden datagram UDP連接 HY
14、PERLINK http:/w/ .cn typedefstruct GOLDEN TABLEGOLDEN 點索引表屬性集。typedefstruct GOLDEN GOLDEN 基點屬性集。8字節(jié)對齊的條件下占用512字節(jié)。typedefstruct GOLDEN SCAN GOLDEN SCAN 點擴展屬性集。8字節(jié)typedefstruct GOLDEN TABLEGOLDEN 點索引表屬性集。typedefstruct GOLDEN GOLDEN 基點屬性集。8字節(jié)對齊的條件下占用512字節(jié)。typedefstruct GOLDEN SCAN GOLDEN SCAN 點擴展屬性集。8字
15、節(jié)對齊條件下占用512字節(jié)。typedefstruct GOLDEN CALC GOLDEN CALC 計算點擴展屬性集。8字節(jié)對齊條件下占用2048字節(jié)。typedefstruct GOLDEN 歷史數(shù)據(jù)存檔文件頭部頁AGEGOLDEN typedefstruct GOLDEN HOST CONNECT INFOGOLDEN HOST CONNECT 連接到GOLDEN數(shù)據(jù)庫服務器的連接信息typedefstruct GOLDEN HOST CONNECT INFO *PGOLDEN HOST CONNECT 連接到GOLDEN數(shù)據(jù)庫服務器的連接信struct GOLDEN CALC GOL
16、DEN CALC 計算點擴展屬性集。8字節(jié)對齊條件下占用2048字節(jié)。參見 GOLDEN CALC struct GOLDEN COORDINATEGOLDEN 坐標類參見 GOLDEN HYPERLINK http:/w/ .cn struct GOLDEN AGEGOLDEN 歷史數(shù)據(jù)存檔文件頭部頁參見 GOLDEN struct GOLDEN HOST CONNECT INFOGOLDEN HOST CONNECT 連接到GOLDEN數(shù)據(jù)庫服務器的連接信息struct GOLDEN AGEGOLDEN 歷史數(shù)據(jù)存檔文件頭部頁參見 GOLDEN struct GOLDEN HOST CON
17、NECT INFOGOLDEN HOST CONNECT 連接到GOLDEN數(shù)據(jù)庫服務器的連接信息參見 GOLDEN HOST CONNECT struct GOLDEN GOLDEN 基點屬性集。8字節(jié)對齊的條件下占用512字節(jié)?;鶇⒁?GOLDEN struct GOLDEN SCAN GOLDEN SCAN 點擴展屬性集。8字節(jié)對齊條件下占用512字節(jié)。參見 GOLDEN SCAN struct GOLDEN TABLEGOLDEN 點索引表屬性集。 HYPERLINK http:/w/ .cn 參見 GOLDEN struct GOLDEN HOST CONNECT INFOPGOL
18、DEN HOST CONNECT 連接到GOLDEN數(shù)據(jù)庫服務器的連接信參見 GOLDEN HOST CONNECT 枚枚enum GOLDEN QUALITY GOLDEN Q GOOD = 0, GOLDEN Q NODATA = 1, GOLDEN Q CREATED=2,GOLDEN Q SHUTDOWN=3,GOLDEN Q CALCOFF 參見 GOLDEN struct GOLDEN HOST CONNECT INFOPGOLDEN HOST CONNECT 連接到GOLDEN數(shù)據(jù)庫服務器的連接信參見 GOLDEN HOST CONNECT 枚枚enum GOLDEN QUALI
19、TY GOLDEN Q GOOD = 0, GOLDEN Q NODATA = 1, GOLDEN Q CREATED=2,GOLDEN Q SHUTDOWN=3,GOLDEN Q CALCOFF =4, GOLDEN Q BAD = 5, GOLDEN Q DIVBYZERO = 6, GOLDEN Q REMOVED = 7, GOLDEN Q OPC = 256, GOLDEN Q USER = 512 0 x0200 以內的系統(tǒng)定義質量碼enumGOLDEN CONSTGOLDEN TAG SIZE80, GOLDEN DESC SIZE100GOLDEN UNIT SIZE20GOL
20、DEN USER SIZE= 20,GOLDEN IZE=256,GOLDEN INSTRUMENT SIZE=GOLDEN LOCATIONS SIZE=5,GOLDEN SIZE=2,GOLDEN USERREAL =2,GOLDEN EQUATION SIZE =2036,GOLDEN TYPE NAME SIZE =GOLDEN PACK APSHOT =6,GOLDEN PACK OF =GOLDEN PACK OF BASE =76,GOLDEN PACK OF SCAN=GOLDEN PACK OF CALC =0,GOLDEN FILE NAME SIZE=64,GOLDEN
21、PATH SIZE1024 - 4 - GOLDEN_FILE_NAME_SIZE, GOLDEN MAX USER COUNT = 100, GOLDEN MAX AUTH COUNT =100,GOLDEN MAX BLACKLIST LEN =100, GOLDEN MAX SUBSCRIBE SNAPSHOTS = 1000 系統(tǒng)常數(shù)定義.enumGOLDEN TYPEGOLDEN BOOL,GOLDEN 8, GOLDEN CHAR,GOLDEN 16, 16,GOLDEN 32, 64,GOLDEN REAL16, GOLDEN REAL32,GOLDEN REAL64, GOLD
22、EN GOLDEN STRING,GOLDEN BLOB,GOLDEN DATETIME=16點數(shù)值類型,決點數(shù)值所占字節(jié)數(shù)。. enum GOLDEN GOLDEN BASE=0,GOLDEN SCAN=1,GOLDEN CALC=2,GOLDEN ALARM=4點類別,決定點具有哪些擴展屬性點可以同時具備多個類別,最多可以33點類別。enumGOLDEN TRIGGERGOLDEN NULL GOLDEN EVENT TRIGGER,GOLDEN TIMER TRIGGER計點觸發(fā)機制。enumGOLDEN TIME COPYGOLDEN CALC GOLDEN LATEST TIME,G
23、OLDEN ST TIME計算結果時間戳參考。enumGOLDEN SEARCH SORTGOLDEN SORT BY TABLE, GOLDEN SORT BY TAG, GOLDEN SORT BY ID HYPERLINK http:/w/ .cn 點搜索結果排序方式enumGOLDEN HIS MODEGOLDEN GOLDEN PREVIOUS,GOLDEN EXACT, ER歷史數(shù)據(jù)搜索方式. enum GOLDEN ASKGOLDEN SEARCH GOLDEN SEARCH COMPDEV,GOLDEN SEARCH GOLDEN SEARCH COMPMIN, GOLDEN
24、SEARCH EXCDEV, GOLDEN SEARCH GOLDEN SEARCH點搜索結果排序方式enumGOLDEN HIS MODEGOLDEN GOLDEN PREVIOUS,GOLDEN EXACT, ER歷史數(shù)據(jù)搜索方式. enum GOLDEN ASKGOLDEN SEARCH GOLDEN SEARCH COMPDEV,GOLDEN SEARCH GOLDEN SEARCH COMPMIN, GOLDEN SEARCH EXCDEV, GOLDEN SEARCH GOLDEN SEARCH EXCMIN, GOLDEN SEARCH SUMMARY, GOLDEN SEAR
25、GOLDEN SEARCH COMPRESS, GOLDEN SEARCH STEP,GOLDEN SEARCH SHUTDOWN, GOLDEN SEARCH ARCHIVE, GOLDEN SEARCH CHANGER, GOLDEN SEARCH CREATOR, GOLDEN SEARCH LOWLIMIT, GOLDEN SEARCH HIGHLIMIT, GOLDEN SEARCH TYPICAL,GOLDEN SEARCH CHANGEDATE, GOLDEN SEARCH CREATEDATE, GOLDEN SEARCH DIGITS,GOLDEN SEARCH COMPDE
26、VPERCENT,GOLDEN SEARCH EXCDEVPERCENT, GOLDEN SEARCH SCAN BEGIN, GOLDEN SEARCH SCAN,GOLDEN SEARCH LOCATION1,GOLDEN SEARCH LOCATION2, GOLDEN SEARCH LOCATION3,GOLDEN SEARCH GOLDEN SEARCH LOCATION5,GOLDEN SEARCH GOLDEN SEARCH 2,GOLDEN SEARCH GOLDEN SEARCH USERREAL2, GOLDEN SEARCH SCAN END, GOLDEN SEARCH
27、 CALC BEGIN,GOLDEN SEARCH EQUATION,GOLDEN SEARCH TRIGGER, GOLDEN SEARCH TIMECOPY, GOLDEN SEARCH PERIOD, GOLDEN SEARCH CALC END 搜點所指定的屬性集合 enum GOLDEN API GOLDEN API AUTO RECONN,GOLDEN API CONN TIMEOUT 用于設置API的工作模式的參數(shù)選項 enum GOLDEN S GOLDEN PRO GOLDEN PRO =1,GOLDEN S HISTORIAN,GOLDEN S EQUATION,GOLDE
28、N S S LAST 數(shù)據(jù)庫對應的enumGOLDEN BIG JOB NAMEGOLDEN MERGE1, GOLDEN ARRANGE = 2, GOLDEN REINDEX = 3, GOLDEN BACKUP = 4,GOLDEN REACTIVE=5,GOLDEN COMPUTE=11,GOLDEN UPDATE TABLE =21, GOLDEN REMOVE TABLE = 22 大任務enumGOLDEN PRIV GROUPGOLDEN ROGOLDEN DWGOLDEN TA, GOLDEN SA 用戶權限enumGOLDEN TAG CHANGE REASON GOLDE
29、N TAG CREATED 1, GOLDEN TAG UPDATEDGOLDEN TAG REMOVEDGOLDEN TAG RECOVERD, GOLDEN TAG PURGED, GOLDEN TAB UPDATED, GOLDEN TAB REMOVED 點變更原因enumGOLDEN ARCHIVE EGOLDEN INVALID GOLDEN ACTIVED ARCHIVE,GOLDEN NORMAL ARCHIVE, GOLDEN READONLY ARCHIVE 歷史存檔文件狀態(tài)enumGOLDEN DB PARAM INDEXGOLDEN PARAM =0 x0,GOLDEN
30、 PARAM TABLE FILE=GOLDEN_PARAM_STR_ GOLDEN PARAM BASE FILE,GOLDEN PARAM SCAN FILE, GOLDEN PARAM CALC FILE,GOLDEN PARAM SNAP ,GOLDEN PARAM LIC FILE,GOLDEN PARAM HIS FILE,GOLDEN PARAM LOG DIR, GOLDEN PARAM USER FILE, GOLDEN PARAM SERVER FILE,GOLDEN PARAM EQAUTION FILE,GOLDEN PARAM ARV PAGES GOLDEN PAR
31、AM ARVEX PAGES FILE,GOLDEN PARAM ARVEX PAGES BLOB FILE, GOLDEN PARAM AUTH FILE, GOLDEN PARAM RECYCLED BASE FILE,GOLDEN PARAM RECYCLED SCAN FILE,GOLDEN PARAM RECYCLED CALC FILE, GOLDEN PARAM AUTO BACKUP PATH, GOLDEN PARAM SERVER SENDER IP,GOLDEN PARAM BLACKLIST FILE,GOLDEN PARAM DB , HYPERLINK http:/
32、w/ .cn GOLDEN PARAM LIC USER, GOLDEN PARAM LIC TYPE, GOLDEN PARAM INDEX DIR,GOLDEN PARAM MIRROR BUFFGOLDEN PARAM MIRROR EX ATH,_=0 x1000,GOLDEN PARAM LIC TABLES COUNT ,GOLDEN PARAM LIC TAGS GOLDEN PARAM LIC SCAN COUNT, GOLDEN PARAM LIC CALC COUNT, GOLDEN PARAM LIC ARCHICVE COUNT,GOLDEN PARAM SERVER
33、IPC SIZE, GOLDEN PARAM EQUATION IPC SIZE, GOLDEN PARAM HASH TABLE SIZE,GOLDEN PARAM TAG DELETEGOLDEN PARAM LIC USER, GOLDEN PARAM LIC TYPE, GOLDEN PARAM INDEX DIR,GOLDEN PARAM MIRROR BUFFGOLDEN PARAM MIRROR EX ATH,_=0 x1000,GOLDEN PARAM LIC TABLES COUNT ,GOLDEN PARAM LIC TAGS GOLDEN PARAM LIC SCAN C
34、OUNT, GOLDEN PARAM LIC CALC COUNT, GOLDEN PARAM LIC ARCHICVE COUNT,GOLDEN PARAM SERVER IPC SIZE, GOLDEN PARAM EQUATION IPC SIZE, GOLDEN PARAM HASH TABLE SIZE,GOLDEN PARAM TAG DELETE TIMES,GOLDEN PARAM GOLDEN PARAM SERVER ORT,GOLDEN PARAM SERVER GOLDEN PARAM SERVER MODE,GOLDEN PARAM SERVER CONNECTION
35、 GOLDEN PARAM ARV PAGES NUMBER,GOLDEN PARAM ARVEX PAGES NUMBER, GOLDEN PARAM EXCEPTION AT SERVER,GOLDEN PARAM ARV PAGE RECYCLE DELAY,GOLDEN PARAM EX ARCHIVE SIZE, GOLDEN PARAM ARCHIVE BATCH SIZE, GOLDEN PARAM DATAFILE PAGESIZE, GOLDEN PARAM ARV ASYNC QUEUE NORMAL DOOR,GOLDEN PARAM INDEX GOLDEN PARAM
36、 DISK MIN REST SIZE,GOLDEN PARAM MIN SIZE OF ARCHIVE, GOLDEN PARAM DELAY OF AUTO MERGE OR ARRANGE,GOLDEN PARAM START OF AUTO MERGE OR ARRANGE, GOLDEN PARAM STOP OF AUTO MERGE OR ARRANGE, GOLDEN PARAM START OF AUTO BACKUP,GOLDEN PARAM STOP OF AUTO GOLDEN PARAM MAX LATENCY GOLDEN AGE ALLOCATOR RESERVE
37、 GOLDEN PARAM INCLUDE SNAPSHOT IN GOLDEN PARAM LIC BLOB COUNT,GOLDEN PARAM MIRROR BUFFER SIZE, GOLDEN PARAM BLOB ARVEX PAGES NUMBER,GOLDEN PARAM MIRROR EVENT QUEUE CAPACITY, GOLDEN PARAM NOTIFY NOT ENOUGH SPACE, GOLDEN PARAM ARCHIVE FIXED RANGE,GOLDEN PARAM ONE CLINET MAX CONNECTION COUNT, GOLDEN PA
38、RAM ARV PAGES CAPACITY,GOLDEN PARAM ARVEX PAGES CAPACITY, GOLDEN PARAM BLOB ARVEX PAGES CAPACITY,GOLDEN PARAM LOCKED PAGES MEM,GOLDEN PARAM LIC RECYCLE COUNT, GOLDEN PARAM ARCHIVED POLICY,GOLDEN PARAM NETWORK ISOLATION ACK GOLDEN PARAM SUBSCRIBE SNAPSHOT COUNT,查詢系統(tǒng)參數(shù)時對應的索_=0 x2000,GOLDEN PARAM MAX B
39、LOB SIZE_, _LASTenumGOLDEN TAG FIELD =0 x0,GOLDEN TAG INDEX TAG ,GOLDEN TAG INDEX GOLDEN TAG INDEX TYPE,GOLDEN TAG INDEX TABLE, GOLDEN TAG INDEX DESC, GOLDEN TAG INDEX UNIT,GOLDEN TAG INDEX ARCHIVE, GOLDEN TAG INDEX DIGITS, GOLDEN TAG INDEX SHUTDOWN,GOLDEN TAG INDEX LOWLIMIT, GOLDEN TAG INDEX HIGHLI
40、MIT, GOLDEN TAG INDEX STEP, GOLDEN TAG INDEX TYPICAL, GOLDEN TAG INDEX COMPRESS,GOLDEN TAG INDEX COMPDEV, GOLDEN TAG INDEX COMPDEVPERCENT, GOLDEN TAG INDEX COMPTIMEMAX,GOLDEN TAG INDEX COMPTIMEMIN, GOLDEN TAG INDEX EXCDEV, GOLDEN TAG INDEX EXCDEVPERCENT, HYPERLINK http:/w/ .cn GOLDEN TAG INDEX EXCTI
41、MEMAX,GOLDEN TAG INDEX EXCTIMEMIN, GOLDEN TAG INDEX CLASSOF, GOLDEN TAG INDEX CHANGEDATE, GOLDEN TAG INDEX CHANGER, GOLDEN TAG INDEX CREATEDATE, GOLDEN TAG INDEX CREATOR, GOLDEN TAG INDEX MIRROR,GOLDEN TAG INDEX MS,GOLDEN TAG INDEX GOLDEN TAG INDEX SUMMARY,=0 x1000,GOLDENGOLDEN TAG INDEX EXCTIMEMAX,
42、GOLDEN TAG INDEX EXCTIMEMIN, GOLDEN TAG INDEX CLASSOF, GOLDEN TAG INDEX CHANGEDATE, GOLDEN TAG INDEX CHANGER, GOLDEN TAG INDEX CREATEDATE, GOLDEN TAG INDEX CREATOR, GOLDEN TAG INDEX MIRROR,GOLDEN TAG INDEX MS,GOLDEN TAG INDEX GOLDEN TAG INDEX SUMMARY,=0 x1000,GOLDEN TAG INDEX SOURCE,GOLDEN TAG INDEX
43、 GOLDEN TAG INDEX INSTRUMENT,GOLDEN TAG INDEX LOCATION1, GOLDEN TAG INDEX LOCATION2, GOLDEN TAG INDEX LOCATION3, GOLDEN TAG INDEX LOCATION4, GOLDEN TAG INDEX LOCATION5,GOLDEN TAG INDEX 1,GOLDEN TAG INDEX GOLDEN TAG INDEX USERREAL1,GOLDEN TAG INDEX GOLDEN_TAG_INDEX_SCAN_LAST,GOLDEN_TAG_INDEX_CALC_ GO
44、LDEN TAG INDEX EQUATION = GOLDEN_TAG_INDEX_CALC_ GOLDEN TAG INDEX TRIGGER, GOLDEN TAG INDEX TIMECOPY, GOLDEN TAG INDEX PERIOD,GOLDEN_TAG_INDEX_CALC_LAST,= ,=0 x3000,GOLDEN TAG INDEX , GOLDEN TAG INDEX GOLDEN TAG INDEX QUALITY,GOLDEN_TAG_INDEX_SNAPSHOT_LAST點屬性索引enumGOLDEN TAG SORT FLAGGOLDEN SORT FLA
45、G DESCEND0 x0001,GOLDEN SORT FLAG CASE SENSITIVE=0 x0002, GOLDEN SORT FLAG RECYCLED = 0 x0004 點排序的enumGOLDEN TAG LOAD MEMORY GOLDEN LOAD EMPTY =0 x0,GOLDEN LOAD TABLE DOT TAG=GOLDEN LOAD DESC=0 x2,GOLDEN LOAD UNIT=0 x4,GOLDEN LOAD CHANGER0 x8,GOLDEN LOAD CREATOR=0 x10,GOLDEN LOAD LOWLIMIT =0 x20, GO
46、LDEN LOAD HIGHLIMIT = 0 x40, GOLDEN LOAD TYPICAL = 0 x80,GOLDEN LOAD CHANGEDATE = 0 x100, GOLDEN LOAD CREATEDATE = 0 x200, GOLDEN LOAD DIGITS = 0 x400, GOLDEN LOAD COMPDEVPERCENT = 0 x800, GOLDEN LOAD EXCDEVPERCENT = 0 x1000, GOLDEN LOAD SOURCE = 0 x10000, GOLDEN LOAD SCAN = 0 x20000, GOLDEN LOAD IN
47、STRUMENT = 0 x40000, GOLDEN LOAD LOCATION1 = 0 x80000, GOLDEN LOAD LOCATION2 = 0 x100000, GOLDEN LOAD LOCATION3 =0 x200000,GOLDEN LOAD LOCATION4 =0 x400000,GOLDEN LOAD LOCATION5 =0 x800000,GOLDEN LOAD 1 =GOLDEN LOAD 2=0 x2000000,GOLDEN LOAD USERREAL1 =GOLDEN LOAD USERREAL2=0 x8000000,GOLDEN LOAD BAS
48、E =GOLDEN_LOAD_TABLE_DOT_TAG | GOLDEN_LOAD_DESC | GOLDEN_LOAD_UNIT | GOLDEN_LOAD_CHANGER | GOLDEN_LOAD_CREATOR | GOLDEN_LOAD_LOWLIMIT | GOLDEN_LOAD_HIGHLIMIT|GOLDEN_LOAD_TYPICAL|GOLDEN_LOAD_CHANGEDATE| GOLDEN_LOAD_CREATEDATE | GOLDEN_LOAD_DIGITS PDEVPERCENT|GOLDEN LOAD SCAN =GOLDEN_LOAD_SOURCE|GOLDE
49、N_LOAD_SCANGOLDEN_LOAD_INSTRUMENT|GOLDEN_LOAD_LOCATION1| GOLDEN_LOAD_LOCATION2 | GOLDEN_LOAD_LOCATION3 |GOLDEN_LOAD_LOCATION4 | GOLDEN_LOAD_LOCATION5 | 1|2|GOLDEN_LOAD_USERREAL1GOLDEN_LOAD_USERREAL2,GOLDEN LOAD ALL |將點屬性加載到內存中的標志 enum GOLDEN ARCHIVED GOLDEN_ARCHIVED_SNAPSHOT_ GOLDEN_ARCHIVED_AUTO 數(shù)據(jù)
50、歸檔策, , HYPERLINK http:/w/ .cn enumGOLDEN API 用于設置API的工作模式的參數(shù)選參見go set 枚舉enumGOLDEN API 用于設置API的工作模式的參數(shù)選參見go set 枚舉api 在連接中斷后是否自動重連0 不重連;1 重連。默認為 0 不重連api 連接超時值設置(enumGOLDEN ARCHIVE E3:enumGOLDEN BIG JOB 枚舉 HYPERLINK http:/w/ .cn enumGOLDEN 點類別,決點具有哪些擴展屬點可以同時具備多enumGOLDEN 點類別,決點具有哪些擴展屬點可以同時具備多個類別,最多可
51、以定enumGOLDEN 點 HYPERLINK http:/w/ .cn enumGOLDEN DB PARAM string點表文件全路徑, 字符串最大長度為基本點文件全路徑, 字符串最大長度為點文件全路徑, 字符串最大長度為計算點文件全路徑, 字符串最大長度為點快照文件全路徑, 字符串最大長度為歷史信息文件全路徑, 字符串最大長度為服務器端日志文件全路徑, 字符串最大長度為 HYPERLINK http:/w/ .cn 存文件,字符串最大長度為 GOLDEN_MAX_PATH享內存文件,字符串最大長度為 GOLDEN_MAX_PATH度為 GOLDEN_MAX_PATH最大長度為 GOL
52、DEN_MAX_PATH全路徑,字符串最大長度為 GOLDEN_MAX_PATH存文件,字符串最大長度為 GOLDEN_MAX_PATH享內存文件,字符串最大長度為 GOLDEN_MAX_PATH度為 GOLDEN_MAX_PATH最大長度為 GOLDEN_MAX_PATH全路徑,字符串最大長度為 GOLDEN_MAX_PATH或“/”結束,字符串最大長度為 GOLDEN_MAX_PATH鏡像發(fā)送地址, 字符串最大長度為補寫鏡像緩存本地文件所在 HYPERLINK http:/w/ .cn (毫秒歷史數(shù)據(jù)緩存頁回收延時歷史數(shù)據(jù)存檔文件附屬文件字節(jié)大小(歷史數(shù)據(jù)緩存隊列尺寸自動合并/自動合并/整
53、理自動合并/止時間 HYPERLINK http:/w/ .cn ?。篕B),0 決定取樣本值和統(tǒng)計值協(xié)議中限定的字符串或BLOB類型blob、str鏡像緩存文件頁大一旦啟用,設置為ON小:KB),0 決定取樣本值和統(tǒng)計值協(xié)議中限定的字符串或BLOB類型blob、str鏡像緩存文件頁大一旦啟用,設置為ON:歷史數(shù)據(jù)補寫緩存所占字節(jié)大節(jié)網裝置ACK HYPERLINK http:/w/ .cn enumGOLDEN HIS ,如果沒有則返回錯誤enumGOLDEN PRIV enumGOLDEN HIS ,如果沒有則返回錯誤enumGOLDEN PRIV enumGOLDEN S enumGOL
54、DEN 0 x0200 以內的系統(tǒng)定義質量碼. HYPERLINK http:/w/ .cn 壞點 壞點 enumGOLDEN HYPERLINK http:/w/ .cn enumGOLDEN SEARCH enumGOLDEN TAG CHANGE 點變更原因 HYPERLINK http:/w/ .cn 枚舉 enumGOLDEN TAG FIELD 枚舉 enumGOLDEN TAG FIELD type HYPERLINK http:/w/ .cn summary summary snapshotst snapshot valuesnapshotenumGOLDEN TAG LOAD
55、 MEMORY 將點屬性加載到內存中的標枚舉 HYPERLINK http:/w/ .cn base 屬性合集 scan 屬性合集enumGOLDEN TAG SORT HYPERLINK http:/w/ .cn enumGOLDEN TIME enumGOLDEN enumGOLDEN TIME enumGOLDEN enumGOLDEN 點數(shù)值類型,決枚舉點數(shù)值所占字節(jié)數(shù)。 HYPERLINK http:/w/ .cn 結構類struct GOLDEN 點索引表屬性集。. struct GOLDEN 基點屬性集。8字節(jié)對齊的結構類struct GOLDEN 點索引表屬性集。. struc
56、t GOLDEN 基點屬性集。8字節(jié)對齊的條件下占用512字節(jié)。. struct GOLDEN SCAN 點擴展屬性集。8字節(jié)對齊條件下占用512字節(jié)。. struct GOLDEN CALC 計算點擴展屬性集。8字節(jié)對齊條件下占用2048字節(jié)。. struct GOLDEN 歷史數(shù)據(jù)存檔文件頭部頁struct GOLDEN HOST CONNECT 連接到GOLDEN數(shù)據(jù)庫服務器的連接信息宏定宏定#defineGOLDEN QUALITY MODIFY UPDATE U) (U)? (Q)|=0 x8000:(Q);為質量碼增加或去除UPDATE 標志,U為true 增加UPDATE 標志,
57、否則去除UPDATE 標#defineGOLDEN QUALITY IS UPDATED(Q) (Q)&0 x8000根據(jù)質量碼判定事件是否被修改過#defineGOLDEN QUALITY WITHOUT FLAG(Q) (Q)&獲得不包含 UPDATE 標志的質量碼#defineGOLDEN QUALITY OPC GOOD OPC協(xié)議中正常有效數(shù)據(jù)的質量)#defineGOLDEN QUALITY FROM OPC(OPC_Q) (GOLDEN QUALITY OPC GOOD = (OPC_Q) ? GOLDEN Q GOOD : (OPC_Q) & 0 xFF | GOLDEN_Q_
58、OPC )從OPC協(xié)議獲取的質量碼,使用此宏轉換為GOLDEN中對應的質量碼#defineGOLDEN QUALITY IS OPC(Q) (GOLDEN QUALITY WITHOUT FLAG(Q)= GOLDEN Q OPC & GOLDEN QUALITY WITHOUT FLAG(Q) =GOLDEN Q OPC&GOLDEN QUALITY WITHOUT FLAG(Q)=GOLDEN Q OPC&GOLDEN QUALITY WITHOUT FLAG(Q) GOLDEN Q USER )判定GOLDEN中的質量碼是否屬于OPC協(xié)議范圍參數(shù) GOLDEN QUALITY WITHO
59、UT FLAG(Q)(GOLDEN Q REMOVED依據(jù)質量判定對應的事件是否被刪除參數(shù) (Q)&0 x8000根據(jù)質量碼判定事件是否被修改過參數(shù)#defineGOLDEN_QUALITY_IS_VALID(GOLDEN Q GOOD GOLDEN QUALITY WITHOUT FLAG(Q)依據(jù)質量判定對應的事件是否正常有效 HYPERLINK http:/w/ .cn Q質量Q質量QGOLDEN中的質量從OPC協(xié)議獲取的質量參數(shù) (U)?(Q)0 x8000:(Q)&=;為質量碼增加或去除 UPDATE 標志,U為true 增加UPDATE 參數(shù) (U)?(Q)0 x8000:(Q)&
60、=;為質量碼增加或去除 UPDATE 標志,U為true 增加UPDATE 標志否則去除UPDATE 標參數(shù)#defineGOLDEN_QUALITY_TO_OPC(GOLDEN Q GOOD GOLDEN QUALITY WITHOUT FLAG(Q)?GOLDEN QUALITY OPC GOOD(Q)& 0 xFF GOLDEN中屬于OPC協(xié)議范圍的質量碼,使用此宏還原為OPC原始質量碼參數(shù) (Q)& )獲得不UPDATE 標志的質量碼參數(shù) (TYPE= GOLDEN |TYPE=GOLDEN BLOB)?false:true判斷此數(shù)據(jù)類型是否是除、之外的數(shù)據(jù)類參數(shù) HYPERLINK
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 幼兒園親子放風箏活動方案
- 2025年無功功率自動補償裝置項目發(fā)展計劃
- 室外冬季瓷磚施工方案設計
- 大學生身邊有哪些創(chuàng)業(yè)項目
- 大學生創(chuàng)新創(chuàng)業(yè)項目安徽省
- 入團申請書班級姓名
- 大學生創(chuàng)業(yè)可以做哪些項目
- 外門窗更換冬季施工方案
- 云南財經大學生創(chuàng)業(yè)項目
- 退社申請書3000字
- 閩教版(2020)小學信息技術三年級上冊第2課《人工智能在身邊》說課稿及反思
- 正面上手發(fā)球技術 說課稿-2023-2024學年高一上學期體育與健康人教版必修第一冊
- 2025年上海寶冶集團限公司招聘歷年高頻重點提升(共500題)附帶答案詳解
- 佛山市普通高中2025屆高三下學期一??荚嚁?shù)學試題含解析
- 人教 一年級 數(shù)學 下冊 第6單元 100以內的加法和減法(一)《兩位數(shù)加一位數(shù)(不進位)、整十數(shù)》課件
- 事故隱患排查治理情況月統(tǒng)計分析表
- 2024年中國黃油行業(yè)供需態(tài)勢及進出口狀況分析
- 永磁直流(汽車)電機計算程序
- 中學學校2024-2025學年教師發(fā)展中心工作計劃
- app 購買合同范例
- 高二上學期物理(理科)期末試題(含答案)
評論
0/150
提交評論