提出了一种用于单片机测控装置的可裁减的微型脚本语言解释器.为便于控制脚本语言解释器的大小,将脚本语言解释器分解为一组独立的脚本命令解释器模块和一个脚本命令解释器容器.每个脚本命令解释器可以解析和执行一句脚本命令,脚本命令...提出了一种用于单片机测控装置的可裁减的微型脚本语言解释器.为便于控制脚本语言解释器的大小,将脚本语言解释器分解为一组独立的脚本命令解释器模块和一个脚本命令解释器容器.每个脚本命令解释器可以解析和执行一句脚本命令,脚本命令解释器容器则提供一个插件框架将脚本命令解释器模块装配在一起.根据目标测控装置所用到的脚本命令选择所需脚本命令解释器模块,就可以设计出量身定做的微型脚本解释器.为便于概念理解,文中以BA S IC句法的简单脚本语言为例,对脚本命令解释器容器和脚本命令解释器的设计方法进行了介绍.展开更多
本课题设计的数控系统可定制界面是以QT为平台,采用脚本程序定制界面的功能来实现。包括人机界面的设计与构建,QT界面加载器和脚本引擎的扩展,以及底层接口主程序的实现等;同时在QT图形组件类的基础上构建了数控系统专用的图形组件类库...本课题设计的数控系统可定制界面是以QT为平台,采用脚本程序定制界面的功能来实现。包括人机界面的设计与构建,QT界面加载器和脚本引擎的扩展,以及底层接口主程序的实现等;同时在QT图形组件类的基础上构建了数控系统专用的图形组件类库,是实现界面可定制性的基础。该方法充分利用了QT在GUI(Graphical User Interface,图形用户界面)设计方面的优势以及新增的支持脚本功能模块,使定制人机界面的过程变得简便快捷。展开更多
"How do the rescue helicopters find out an optimized path to arrive at the site of a disaster as soon as possible?" or "How are the flight procedures over mountains and plateaus simulated?" and so ..."How do the rescue helicopters find out an optimized path to arrive at the site of a disaster as soon as possible?" or "How are the flight procedures over mountains and plateaus simulated?" and so on.In this paper a script language on spatial moving objects is presented by abstracting 3D spatial moving objects' behavior when implementing moving objects simulation in 3D digital Earth scene,which is based on a platform of digital China named "ChinaStar".The definition of this script language,its morphology and syntax,its compiling and mediate language generating,and the behavior and state control of spatial moving objects are discussed emphatically.In addition,the language's applications and implementation are also discussed.展开更多
文摘提出了一种用于单片机测控装置的可裁减的微型脚本语言解释器.为便于控制脚本语言解释器的大小,将脚本语言解释器分解为一组独立的脚本命令解释器模块和一个脚本命令解释器容器.每个脚本命令解释器可以解析和执行一句脚本命令,脚本命令解释器容器则提供一个插件框架将脚本命令解释器模块装配在一起.根据目标测控装置所用到的脚本命令选择所需脚本命令解释器模块,就可以设计出量身定做的微型脚本解释器.为便于概念理解,文中以BA S IC句法的简单脚本语言为例,对脚本命令解释器容器和脚本命令解释器的设计方法进行了介绍.
文摘本课题设计的数控系统可定制界面是以QT为平台,采用脚本程序定制界面的功能来实现。包括人机界面的设计与构建,QT界面加载器和脚本引擎的扩展,以及底层接口主程序的实现等;同时在QT图形组件类的基础上构建了数控系统专用的图形组件类库,是实现界面可定制性的基础。该方法充分利用了QT在GUI(Graphical User Interface,图形用户界面)设计方面的优势以及新增的支持脚本功能模块,使定制人机界面的过程变得简便快捷。
基金Supported in part by the National High-Tech Research and Development Program of China ("863" Project) (Grant Nos.2007AA12Z216,2007AA120502)the National Natural Science Foundation of China (Grant Nos:40701134,40629001)
文摘"How do the rescue helicopters find out an optimized path to arrive at the site of a disaster as soon as possible?" or "How are the flight procedures over mountains and plateaus simulated?" and so on.In this paper a script language on spatial moving objects is presented by abstracting 3D spatial moving objects' behavior when implementing moving objects simulation in 3D digital Earth scene,which is based on a platform of digital China named "ChinaStar".The definition of this script language,its morphology and syntax,its compiling and mediate language generating,and the behavior and state control of spatial moving objects are discussed emphatically.In addition,the language's applications and implementation are also discussed.