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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? 80be4100b95f001d1289bbda6de18a35

?? Vxworks環(huán)境下
??
?? 第 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*//*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*/ IMPORT char CurrentFileWantToRun[100];  /**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*/  TRT_cid = StartData.TRT_CID; /*get the channel ID  GUITask <-> EVE */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区女人| 国产精品毛片高清在线完整版| 国产乱子伦视频一区二区三区| 亚洲欧洲另类国产综合| 欧美一区二区三区小说| 成人av网址在线| 激情丁香综合五月| 亚洲18色成人| 亚洲免费观看高清| 国产欧美一区二区三区鸳鸯浴 | 欧美男同性恋视频网站| 国产超碰在线一区| 精品一区二区三区影院在线午夜 | 亚洲无线码一区二区三区| 国产女同互慰高潮91漫画| 日韩视频在线你懂得| 欧美自拍丝袜亚洲| 99久久99久久免费精品蜜臀| 国产福利精品一区二区| 久久成人羞羞网站| 丝袜美腿亚洲色图| 一二三四区精品视频| 国产精品白丝在线| 中文字幕av一区二区三区高| 欧美精品一区二区三区蜜桃| 日韩精品一区二区三区蜜臀| 91麻豆精品国产91久久久久久 | 日韩午夜av电影| 在线观看中文字幕不卡| 91无套直看片红桃| av在线播放一区二区三区| 国产成人免费在线观看不卡| 国产麻豆9l精品三级站| 国产精品综合在线视频| 精品亚洲国产成人av制服丝袜| 麻豆专区一区二区三区四区五区| 五月天激情综合网| 琪琪久久久久日韩精品| 久久国产精品色婷婷| 狠狠色2019综合网| 国产91在线|亚洲| 成人午夜激情影院| 成人97人人超碰人人99| www.欧美.com| 色琪琪一区二区三区亚洲区| 91麻豆自制传媒国产之光| 色综合久久66| 欧美色爱综合网| 69久久夜色精品国产69蝌蚪网| 91精品国产色综合久久ai换脸| 欧美日韩你懂的| 日韩一区国产二区欧美三区| 精品免费99久久| 亚洲一区二区黄色| 亚洲bt欧美bt精品| 久久99精品久久久久久国产越南 | 精品一区二区三区免费毛片爱 | 韩国成人在线视频| 东方aⅴ免费观看久久av| 99久久精品免费精品国产| 91蜜桃网址入口| 欧美美女黄视频| 久久久国产精华| 亚洲欧洲av另类| 日精品一区二区| 国产大陆a不卡| 91免费视频大全| 欧美精品自拍偷拍| 久久综合九色综合97婷婷女人 | 国产精品视频一二三区| 1区2区3区精品视频| 亚洲成人在线观看视频| 韩国一区二区三区| 色综合久久中文字幕| 欧美一级视频精品观看| 国产精品毛片高清在线完整版 | 日韩和欧美一区二区| 国产一区二区导航在线播放| 色呦呦日韩精品| 久久综合九色综合97婷婷| 一区在线中文字幕| 日韩电影在线观看一区| 粉嫩绯色av一区二区在线观看| 欧美日韩成人一区| 国产精品免费网站在线观看| 日本伊人色综合网| 成人精品国产福利| 欧美精品v国产精品v日韩精品| 国产精品日产欧美久久久久| 丝袜美腿一区二区三区| 99久久综合精品| 26uuu成人网一区二区三区| 亚洲人一二三区| 韩国av一区二区三区四区| 日本大香伊一区二区三区| 国产人成一区二区三区影院| 日韩在线一区二区| 91亚洲精品久久久蜜桃| 久久无码av三级| 性欧美疯狂xxxxbbbb| 99久久国产综合精品麻豆| 亚洲精品一线二线三线| 日韩电影在线看| 欧美亚洲国产一区二区三区| 中文字幕免费不卡在线| 久草在线在线精品观看| 欧美亚洲免费在线一区| 国产精品色婷婷久久58| 久久99热狠狠色一区二区| 欧美乱熟臀69xxxxxx| 亚洲精品中文在线影院| 丁香桃色午夜亚洲一区二区三区| 日韩三级视频中文字幕| 视频一区二区三区在线| 91黄色小视频| 亚洲欧美日韩精品久久久久| 成人h动漫精品一区二区| 久久久精品人体av艺术| 久久99精品久久久久婷婷| 91精品欧美福利在线观看| 高清shemale亚洲人妖| 精品久久久三级丝袜| 日本强好片久久久久久aaa| 91高清在线观看| 亚洲精品视频自拍| 色狠狠av一区二区三区| 中文字幕字幕中文在线中不卡视频| 国产盗摄视频一区二区三区| 久久久精品天堂| 国产91丝袜在线播放九色| 国产亚洲综合性久久久影院| 国产一区二区伦理片| 国产亚洲一区二区三区| 成人做爰69片免费看网站| 中文一区二区完整视频在线观看| 国产成人福利片| 久久精品欧美日韩| 成人午夜av影视| 亚洲欧洲av在线| 在线视频亚洲一区| 亚洲va欧美va天堂v国产综合| 欧美日韩一区高清| 日韩国产一二三区| 欧美成人在线直播| 国产jizzjizz一区二区| 最新国产精品久久精品| 一本色道亚洲精品aⅴ| 亚洲一区二区三区激情| 在线成人高清不卡| 精品中文av资源站在线观看| 久久精品亚洲精品国产欧美 | 日韩av成人高清| 日韩精品一区二区三区中文精品| 狠狠v欧美v日韩v亚洲ⅴ| 国产精品久久久久久久久晋中| 99re热这里只有精品视频| 亚洲制服丝袜av| 日韩欧美的一区二区| 丰满岳乱妇一区二区三区| 亚洲乱码国产乱码精品精98午夜 | 91在线国产观看| 亚洲国产精品久久一线不卡| 欧美一区午夜视频在线观看 | 国产精品888| 亚洲人成7777| 日韩亚洲欧美一区二区三区| 国产一区啦啦啦在线观看| 国产精品色在线观看| 欧美男同性恋视频网站| 国产乱码精品一区二区三区忘忧草 | 欧美大片在线观看| 成人午夜激情片| 偷窥少妇高潮呻吟av久久免费| 精品国产一区二区三区av性色 | 日韩精品中文字幕在线一区| 国产91在线|亚洲| 成人av影院在线| 天天综合日日夜夜精品| 国产色一区二区| 欧美日韩另类一区| 国产精品亚洲一区二区三区在线 | www.成人网.com| 日产欧产美韩系列久久99| 国产午夜亚洲精品羞羞网站| 一本一道久久a久久精品 | 色综合一个色综合亚洲| 久久成人18免费观看| 亚洲欧美日韩人成在线播放| 精品国产乱码久久久久久图片| 色吧成人激情小说| 国产中文一区二区三区| 亚洲国产视频a| 亚洲欧洲在线观看av| 精品国内片67194| 欧美日韩激情一区二区| 成人91在线观看| 国产一区二区免费在线| 日韩电影免费在线看| 亚洲精品视频在线观看网站| 国产三级欧美三级|