亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? c048364db75f001d1289bbda6de18a35

?? Vxworks環境下
??
?? 第 1 頁 / 共 2 頁
字號:
/*$Log:**** Rev /main/NC_V0_integration/12** Date: Apr 17 17:33:43 2008 abdeaity** neue fkeys**** Rev /main/NC_V0_integration/11** Date: Apr 2 17:46:59 2008 karlgros** Grafik Applikation auf OEM-Partitition GUI_Demo**** Rev /main/NC_V0_integration/10** Date: Mar 7 17:45:10 2008 karlgros** changed MO_DIAGNOSE to the right key**** Rev /main/NC_V0_integration/9** Date: Mar 5 13:47:55 2008 abdeaity** define Clrt F tasten**** Rev /main/NC_V0_integration/8** Date: Jan 10 15:12:26 2008 abdeaity** exclude pxr0vxsc.h**** Rev /main/NC_V0_integration/7** Date: Nov 1 17:12:28 2007 abdeaity** Kommentar HMI Demo V2 **** Rev /main/NC_V0_integration/6** Date: Oct 30 15:12:51 2007 karlgros** putenv (benutzt in dab) fuer getenv von Tilcon**** Rev /main/NC_V0_integration/5** Date: Jun 6 17:10:18 2007 abdeaity** Kommentar:example of getting the text from system**** Rev /main/NC_V0_integration/4** Date: Jun 1 15:17:49 2007 abdeaity** Kommentar:exclude pxr0xx.h**** Rev /main/NC_V0_integration/3** Date: May 9 17:9:51 2007 abdeaity** Kommentar:call new functions**** Rev /main/NC_V0_integration/2** Date: Mar 13 13:58:1 2007 rolfglei** Log-Syntax geaendert*//*** ---------------------------------------------------------------------**                Copyright (c) Bosch Rexroth AG 1997 - 2007**                        All Rights Reserved** ---------------------------------------------------------------------****    File: dab_h_startgra.c** **    Responsible: AB** **    Description of functions:**                This file is the main File of the graphic task.**                It contain the needed steps to interface to NC Kernel**                on the basis of NCS and to interface to the Tilcon EVE**                There are a few platform-specific commands that need **                to be compiled into the program: **		  We define one of the following according to which **                platform we use:**                1. #define CC_TRT_DOS and #define HWDS_WINDOWS for**                        a Win32 applications**                                   OR**		  2. #define CC_TRT_VXWORKS for an applications running **                       on BRC Target whith Vxworks****					                           **                 in this file we will:**			  -  Start the  GUI task **			  -  Connect the GUI task to NCS   **			  -  InitializeApp (Start the Tilcon Engine EVE,**                        - Open channel to the EVE,Initialize Callbacks**                              Loead Window...)**			  -  wait for events from EVE**			  -  call callback Funktion as example to get **                           axis values, axis number....  ** ** ---------------------------------------------------------------------*//*======================================================================**           >>>>    C - Standard Headerfiles        <<<<** ==================================================================== */#ifdef HWDS_WINDOWS #include <windows.h> /* required for all Windows applications*/#include <stdlib.h>#include <stdio.h>#endif#include <time.h>#include <string.h>/* include Tilcon API functions *//* All function Names begining with TRT_ are Tilcon funktions*//*lint -e46*//*lint -e49*//*lint -e10*/#include <tilcon/TRTAPI.h> 	// Tilcon API functions/*lint +e46*//*lint +e49*//*lint +e10*//*======================================================================**           >>>>    General definitions for c-files <<<<**        these lines are generated automatically , do not modify !** ==================================================================== */#include <ty3c_mac.h>/*F*//*======================================================================**           >>>>    MTX - Headerfiles               <<<<** ==================================================================== */#ifndef HWDS_WINDOWS#ifndef PXR1OSTY_INCLUDED#include "pxr1osty.h"#endif#endif#ifndef NCS1MCSY_INCLUDED#include "ncs1mcsy.h"#endif#ifndef NCS1MCCN_INCLUDED#include "ncs1mccn.h"#endif#ifndef NCS1BAS_INCLUDED#include "ncs1bas.h"#endif #ifndef NCS1WEA_INCLUDED#include "ncs1wea.h"#endif #ifndef NCS1BAP_INCLUDED#include "ncs1bap.h"#endif /*======================================================================**           >>>>    Headerfiles of the subsystem    <<<<** ==================================================================== */#ifdef HWDS_WINDOWS#include "dab_h_win32.h"#endif#ifndef DAB_H_STARTGRA_INCLUDED#include "dab_h_startgra.h"#endif#ifndef DAB_H_ENGINE_IF_INCLUDED#include "dab_h_engine_if.h"#endif#ifndef DAB_H_WEA_INCLUDED#include "dab_h_wea_if.h"#endif#ifndef DAB_H_EVHAN_INCLUDED#include "dab_h_evhan.h"#endif#ifndef DAB_H_AXIS_IF_INCLUDED#include "dab_h_axis_if.h"#endif#ifndef DAB_H_OBJIDS_INCLUDED#include "dab_h_ObjIDs.h"#endif#ifndef DAB_H_CALLBACKS_INCLUDED#include "dab_h_callbacks.h"/*the Header file with Callback Funktions*/#endif#ifndef DAB_H_DIREXP_IF_INCLUDED#include "dab_h_direxp_if.h"#endif#ifndef DAB_H_GETMACPAR_INCLUDED#include "dab_h_getmacpar.h"#endif#ifndef DAB_H_NCEDITOR_INCLUDED#include "dab_h_nceditor.h"#endif#ifndef DAB_H_MEM_INCLUDED#include "dab_h_mem.h"#endif#ifndef DAB_H_MENUIF_INCLUDED#include "dab_h_menuif.h"#endif #ifndef DAB_H_MNTNANCE_INCLUDED#include "dab_h_mntnance.h"#endif#ifndef DAB_H_KYESDEF_INCLUDED#include "dab_h_keysdef.h"#endif#include "dab_h_cpl.h" /*Jiang add it*/IMPORT void Directory_Load(void);IMPORT void FileReadTest(void);/*F*//*======================================================================**           >>>>    Local definitions               <<<<** ==================================================================== *//* Plattform specifacation for Tilcon EVE */#ifdef	CC_TRT_VXWORKS	     /* if the Engine (EVE) will run on Vxworks*/#define OS_TYPE TRT_VXWORKS#endif#ifdef CC_TRT_DOS	 /*if the Engine (EVE) will run on a windows PC*/#define OS_TYPE TRT_MS_WINDOWS			#endifEXPORT pid_t TRT_cid;EXPORT TRT_ReceiveData rec_data;EXPORT int EngineStatus;#define MAXWatchNr 40                 /*we can monitor only 40 watchponts at same time.*/char    FileFoldBuf[100];             /*it will save Directory you select.*/char Currentfileselect[20]=""; /*It will save the file name only.*/long WatchPointRecordNr=0;            /*Use it help me to operate the Watchpoint record.*/         struct  WatchPoint_ID{	char Name[20];                    /*"@1"*/	int  ID;						    /*save ID gived by system*/ 	int  Index;                       /*watchpoint element place in the array.*/	int  Value;                       /*watchpoint element value in the array.*/}WatchPointRecord[MAXWatchNr];        /*Use it to Save the Watchpoint*/ /***************************************************************************This function can help us to get correct file path. **For example "\usr\user"--->"/usr/user"*/void ChangeChar(char *Setence,char oldchar, char newchar)   {   	char* p= Setence;   	while(*p !='\0')   	{   		if(*p == oldchar)   			*p = newchar;   		p++;   	}   	}/***************************************************************************This function can help us to find CPL variable from the variavle tree.***/void Find_PermVariable(char* source){   char* Hold=source;   char* p;   char* q;   q=Hold;   while(*q!=0) q++;   p=q;   while(*p!='@')p--;   TRT_SetValues(TRT_cid2, "WatchSelect",		TRT_ATT_TEXT,p,		NULL);                             }/*F*//*************************************************************************** >AUTHOR        : AB**  FUNCTIONNAME  : ChangeConnectSymbol** ** >DESCRIPTION: this funktion is  an example function for Display and hid**                the connect Symbol on the Window** ** >NOTES:** ** >PARAMETER:   status =1 -> connected to target**                     =0 -> Disconnected** ** >RETURN VALUE:** ** >INCLUDES:** */LOCAL void ChangeConnectSymbol(char status){  long Error=0;  if (status ==1)  {    /* Hide the disconnected symbol */    Error=TRT_Hide(TRT_cid, DISCONNEC_SYMBOL_ICON_ID);    /* Display the connected symbol*/    Error+=TRT_Display(TRT_cid, CONNEC_SYMBOL_ICON_ID);   }  else if(status==0)  { /* Hide the connect symbol */    Error=TRT_Hide(TRT_cid, CONNEC_SYMBOL_ICON_ID);     /* Display the disconnect symbol*/    Error+=TRT_Display(TRT_cid, DISCONNEC_SYMBOL_ICON_ID);  }  if(Error)  {/*Traitment of Error*/  }}  /* OF ChangeConnectSymbol *//*F*//*************************************************************************** >AUTHOR        : AB**  FUNCTIONNAME  : ConnectGUItoNCS** ** >DESCRIPTION: Connect the GUI task to NCS** ** >NOTES: there is a deference in the call of NC_OPEN()**	   between the PC variante and the BRC Target variante. ** ** >PARAMETER:** ** >RETURN VALUE: No one** ** >INCLUDES:** */LOCAL void ConnectGUItoNCS(void){  Ncs_Mbx_t HMI_EventHandlerMailbox;/* MailBox for receive ncs Responce*/#ifdef HWDS_WINDOWS  HWND    hWnd = (HWND) NULL;#endif  /* get the ID of the mail box of the event handler mailbox created     from event handler task*/    dab_h_GetEvHanMailbox(&HMI_EventHandlerMailbox);  #ifdef HWDS_WINDOWS  /* for PC variante the hwnd is the ID of the Mailbox  */  hWnd = (HWND) HMI_EventHandlerMailbox;  /* Register the GUI-Task by NCS   */  /* for synchron and asynchron Requests */  /*the response of synchron requests will be Processed in this Task*/  /*the response of asynchron requests will be*/   /*  Processed in Event Handler Task*/  if (Ncs_Open(               NCS_SYNC_LENT_C,/*synchronous and asynchronous requests */               /* For asynchronous requests, a socket that has */               /* already be created for asynchronous requests.*/               /* we use this parameter because an Ncs_open with*/               /* NCS_SYNC_ASYNC_C */               /*is already occurred in evant handler Task.*/               "10.110.241.86",  /* IP Adresse of the Target.*/                                 /*change as necessary*/               hWnd,             /* Windo handle of the calling program*/               WM_ASYNC_READ,    /* Message that is sent to the*/                                  /*hWnd window in*/                /*the case of an asynchronous response.*/                /* The MessageNumber must be higher than*/               /* WM_USER + 0x100*/               /* we use  #define WM_ASYNC_READ (WM_USER+0x101);*/               5)   /*Time in seconds after which a timeout shall */      /*occur for a */      /*synchronous call. 0 disables the timeout.*/      != Ncs_ErrOk)    {    /* Error Traitement */     Ncs_WeaSetCritSysErr(0,"");  }#else                /* GUI is running on Target */                     /*the NCS_Open will be called as below*/  if (Ncs_Open(               NCS_SYNC_LENT_C,                &HMI_EventHandlerMailbox,               TRUE,   /*ResourceWaitMode:what to do if the Sendepuffer*/               /* is occupied bei belegten Sendepuffern.*/               /*    TRUE -> wait of free Sendebuffer*/               /*    FALSE-> dont wait,beack off with Error*/               0)     /*Time in seconds after which a */                      /*timeout shall occur for a */      /*synchronous call. 0 disables the timeout.*/      != Ncs_ErrOk)  {    /* Error Traitement */     Ncs_WeaSetCritSysErr(0,"");  }#endif}  /* OF ConnectGUItoNCS *//*F*//*************************************************************************** >AUTHOR        : AB**  FUNCTIONNAME  : Dab_h_WaitForEngineStart** ** >DESCRIPTION: the event handler task will try to open a channel to **              Tilcon EVE but for a communication with Tilcon EVE the EVE**             mus be started first.this function synchronise the start. ** ** >NOTES: this function will be called from event handler task **           in module dab_h_evhan.c** ** >PARAMETER: void** ** >RETURN VALUE: void ** ** >INCLUDES: "ab_h_startgra.h"** */EXPORT void Dab_h_WaitForEngineStart(void){  boolean WaitingForEngine= TRUE;  while (WaitingForEngine == TRUE)  {    if(EngineStatus == 0)    {      Dab_h_Delay(500);/*Wait*/      WaitingForEngine = TRUE;    }    else    {      WaitingForEngine = FALSE;    }  }}  /* OF Dab_h_WaitForEngineStart *//*F*//*************************************************************************** >AUTHOR        : AB**  FUNCTIONNAME  :  InitializeApp** ** >DESCRIPTION: Do everything that can be done before getting an event **               from outside.**               Start timers, clocks, etc.  Load/display primery windows.**               Update their objects.  Initialize data/structures.  **		 A local Tilcon EVE wil be launched.**		 we will open a channel to the EVE kernel (TRT_cid) and **               tell it to display the display the primery window **** ** >NOTES:       for more Information see the Tilcon Help** ** >PARAMETER: void** ** >RETURN VALUE: errorcode if an error is occurred else 0** ** >INCLUDES:** */LOCAL long InitializeApp(void){  long errorcode = 0;  TRT_FontRegister fontRegisterProps;  long taskMask;  short int TofElements = 4;  short int NofParameters = 1;  char      file_ext[5] = "";  short int Error = 0;    /* set tilcon environment */  putenv ("Tilcon=/ata0a/GUI_Demo");  TRT_StartData StartData; /* Strucktur of start data */  StartData.Os_Env  = OS_TYPE; /* Opereting system is seting at */  /*the beginning of this file */  StartData.Display	= NULL; /* we use 1 Display. muss be null */  StartData.IPAddr	= NULL;	/*IP addr if the Engine will be used in*/                                /* a remote mode.Hier is NULL  */  StartData.AppName	= "HermesHMI"; /* the name of this aplikation */  /*if you change it hier you have*/   /*to change it in*/   /*dab_h_evhan.c too*/  StartData.Userprog 	= "GUI_TASK";  /* a name of user Programe*/   /*can be changed too*/  StartData.Flags		= FALSE;   errorcode =TRT_StartEx (0, &StartData); /* Start the Tilcon EVE */  if(errorcode)  {/*Traitment of Error*/  }     EngineStatus=1;       /* Engine is started ->*/  /* set the syncronisation signal*/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品免费视频一区二区| 成人免费的视频| 色综合久久88色综合天天6| 精品久久久久久综合日本欧美| 老司机精品视频在线| 精品国产一区二区三区av性色 | 国产女人水真多18毛片18精品视频| 国产麻豆午夜三级精品| 国产精品网友自拍| 91精品1区2区| 日日摸夜夜添夜夜添精品视频| 日韩免费观看高清完整版 | 3d动漫精品啪啪1区2区免费| 日本人妖一区二区| 久久久精品黄色| 色网站国产精品| 免费视频最近日韩| 国产精品每日更新| 777精品伊人久久久久大香线蕉| 久久精品国产一区二区三区免费看 | 亚洲午夜精品一区二区三区他趣| 欧美精品丝袜久久久中文字幕| 国产曰批免费观看久久久| 亚洲国产成人在线| 7777精品伊人久久久大香线蕉超级流畅 | 在线观看免费亚洲| 久久电影网站中文字幕| 国产精品久线观看视频| 欧美日韩国产影片| 成人精品视频.| 日韩高清在线一区| 国产精品久久福利| 正在播放一区二区| 色综合亚洲欧洲| 久久国产尿小便嘘嘘尿| 亚洲乱码国产乱码精品精的特点 | 日韩欧美国产系列| 99精品视频在线观看免费| 日韩电影在线免费观看| 国产精品激情偷乱一区二区∴| 在线综合亚洲欧美在线视频| 国产精品一二二区| 污片在线观看一区二区| 国产精品久久久久久久第一福利| 日韩一区二区在线免费观看| 成人av午夜影院| 精品一区二区免费在线观看| 一区二区三区不卡在线观看 | 国产精品久久久久久久久动漫 | 欧美日韩精品二区第二页| 高清不卡在线观看| 久久99久国产精品黄毛片色诱| 亚洲综合色噜噜狠狠| 中文字幕不卡三区| 精品国产凹凸成av人网站| 欧美日韩在线观看一区二区| 99国产精品久久久| 高清shemale亚洲人妖| 另类成人小视频在线| 日韩一区欧美二区| 亚洲亚洲人成综合网络| 《视频一区视频二区| 国产婷婷精品av在线| 精品国内片67194| 欧美岛国在线观看| 日韩女优视频免费观看| 在线电影一区二区三区| 91激情五月电影| 色综合久久久久久久| 成人av在线网站| 成人性视频免费网站| 国产一区二区三区四 | 精品一区二区三区免费毛片爱| 亚洲福利一区二区| 亚洲影视资源网| 夜夜嗨av一区二区三区| 亚洲女同一区二区| 亚洲精品久久久蜜桃| 伊人开心综合网| 亚洲一区二区四区蜜桃| 一区二区三区欧美亚洲| 亚洲在线视频网站| 五月天亚洲精品| 日本中文在线一区| 狠狠色丁香久久婷婷综| 国产黄色成人av| 成人不卡免费av| 色婷婷一区二区三区四区| 91久久久免费一区二区| 欧美日韩小视频| 欧美一级高清片| 久久久久久久久久久久久女国产乱 | 久久综合九色综合欧美98| 精品国产1区2区3区| 久久久综合精品| 亚洲欧洲精品一区二区三区不卡| 亚洲精品中文在线影院| 亚洲国产一二三| 日韩成人一区二区三区在线观看| 精品中文字幕一区二区| 国产91精品一区二区麻豆网站| 99精品黄色片免费大全| 欧美日韩在线播放三区| 在线综合视频播放| 国产欧美日产一区| 亚洲午夜久久久久久久久电影院 | 日韩va亚洲va欧美va久久| 久久99精品久久久| 成人国产精品免费观看动漫| 91免费版在线| 欧美成人官网二区| 国产精品电影院| 亚洲国产cao| 日本精品裸体写真集在线观看| 91精品国产91久久久久久一区二区| 久久国产日韩欧美精品| 久久影音资源网| 国产综合一区二区| 91亚洲精品一区二区乱码| 成人欧美一区二区三区1314| 国产a级毛片一区| 中文字幕av一区 二区| 97久久久精品综合88久久| 91麻豆蜜桃一区二区三区| 国产精品天干天干在线综合| 国产·精品毛片| 精品国产91久久久久久久妲己 | 欧美这里有精品| 男男gaygay亚洲| 亚洲欧洲日本在线| 秋霞午夜鲁丝一区二区老狼| 精品日韩欧美在线| 99精品国产99久久久久久白柏| 91女人视频在线观看| 日韩激情在线观看| 国产成人午夜精品影院观看视频 | 亚洲人成7777| 欧美精品久久天天躁| 欧美日韩国产区一| 国产成a人亚洲精品| 亚洲男人都懂的| 91久久国产综合久久| 加勒比av一区二区| 日本韩国视频一区二区| 久久精品国内一区二区三区| 中文幕一区二区三区久久蜜桃| 在线观看欧美黄色| 麻豆91精品视频| 久久免费的精品国产v∧| 国产精品午夜电影| 色婷婷久久久久swag精品| 欧美伊人久久久久久久久影院 | 五月婷婷综合激情| 激情小说欧美图片| 亚洲gay无套男同| 久久久国产精品午夜一区ai换脸| 91一区在线观看| 亚洲福中文字幕伊人影院| 最近日韩中文字幕| 制服丝袜日韩国产| 日本一二三不卡| 欧美日韩综合色| 99re成人在线| 国产精品视频第一区| 久久久精品综合| 国产精品三级电影| 日韩1区2区日韩1区2区| 欧美在线观看视频一区二区三区| 欧美日本韩国一区| 亚洲国产精品二十页| 精品久久久久一区| 亚洲国产va精品久久久不卡综合 | 久久精品99久久久| 91污在线观看| 久久蜜臀中文字幕| 久久国产乱子精品免费女| 91色九色蝌蚪| 国内外精品视频| 天堂久久久久va久久久久| 成人国产精品免费网站| 日韩精品中文字幕一区二区三区| 久久众筹精品私拍模特| 欧美日韩一级片在线观看| 亚洲成a人片在线观看中文| 中文字幕不卡在线| 国产精品18久久久久久久久久久久 | a美女胸又www黄视频久久| 色视频欧美一区二区三区| 欧美一区三区四区| 久久国内精品视频| 91色.com| 在线视频一区二区三| 中文字幕一区二区三区在线观看| 国产精品精品国产色婷婷| 97精品超碰一区二区三区| 青青青伊人色综合久久| 欧美sm美女调教| 美洲天堂一区二卡三卡四卡视频| 五月综合激情日本mⅴ| 欧美一区二区三区免费大片|