在 html help workshop 如何做出 what's this 功能

sbamdanb 2002-06-02 09:09:22
在 html help workshop 如何做出 what's this 功能
...全文
35 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
rivershan 2002-06-02
  • 打赏
  • 举报
回复
?
What is the best way for new Arduino users to get started? I'd say the best way get started with Arduino is to find a workshop near you and see where it takes you. Workshops really accelerate your learning and put you in an environment with like-minded people. I've met all kinds of interesting people through workshops. Sometimes they'll open your eyes to completely new "scenes" that you wouldn't know about otherwise, and other time, you'll find people that might be excited about exactly the same things as you. What is your all-time favorite Arduino project that you've either worked on or heard about from someone else? My own favourite project is the Pen Nib Dress that I made with Steven Tai. It's my favourite purely because it's so beautiful to look at. It's maybe a little impractical (weighing about 5 kg. or just over 11 lbs.) for the poor model who had to wear it but that's the way it is with prototypes! Why do you think Arduino has become such a popular device, especially for tech hobbyists? Arduino is cheap and easy to use, but I don't think that either of these is the main reason that it's so popular. The community around it is what's so remarkable and this is something that you see on the Arduino forums. If they were entirely populated by one group of people, whether it were artists, designers, programmers, engineers or hobbyists, then it wouldn't work, but there seems to be an excellent ecosystem of people on the forum pages to both ask new and challenging questions as well as to answer them. How do you think Arduino has influenced interactive design projects? Arduino has made it possible to quickly and easily get a lot of concepts into the real world. Students can build prototypes that actually work for their final shows and design studios can build the interactive elements of a project themselves without needing an entire technical company to partner with. This allows people to make their ideas a reality, which makes it easier to convey them to a client and also to see if they work the way you expect. I believe that prototyping is an essential process and skill to have in the design industry today and that through this process you will understand more about your project or idea than any number of sketches, renderings or simulations can teach you. Any advice for someone who may be interested in Arduino, but not sure what it's all about? Get Googling! It's all out there on the net: talks, workshops, resources, kits, and more. Once you've seen a few other projects, you'll have an idea of what's possible and what's interesting to you, then you can think about your own projects and how Arduino can help you solve a problem or maybe just create something interesting. What should people expect when they open a copy of Arduino For Dummies? Arduino For Dummies is written for not-technical people that are interested in learning more about technology. The first part of the book gets you familiar with Arduino and what it involves, then there are some simple examples to teach you the fundamentals that you'll need to know before you go further. Later on there's a bit of inspiration to get you thinking about the kind of projects that you can build, a bit of practical advice to get your prototyping skills up to scratch, and then the book dives into a few more advanced uses to give you an idea of what's possible with this fantastic little board!
Abstract—Based on demands in proxy pattern, this article proposes informatization solution of proxy pattern which includes enterprise management, proxy management, franchisee management and supply chain management, then discusses basic functions, system architecture of the platform as well as metadata services, security strategies, and finally gives a multi-user data model -shared database, shared architecture. Keywords-Proxy Pattern; Informatization; Multi-User Data Model I. INTRODUCTION SaaS is the abbreviation of software as a service. It is a brand innovative software application pattern which starts in the 21st century along with the development and application of Internet technology. Through providing the software services over the Internet, manufactures deploy the application software on his own server, while the user customizes the services over the Internet according to the actual demand, at the same time defrays the expense according to the kind and hours of service used. What is a proxy pattern? It refers to that someone obtains the sale proxy of production enterprise or purchase proxy of users through a form of contract, and gets the commission after finishing the transaction [1]. Generally speaking, it is suitable for a new market or marketing of specialized product, such as jewelry industry, they always need special supply chain management, technology and local market, some requirements should be possessed by distributor. But it is not easy to find such one, so using a proxy pattern and establishing a proxy service center is very useful to open the target market rapidly, meanwhile fully control the logistics of both supply and demand, as shown in Figure 1: Figure 1. Proxy pattern service schema As a public service platform of the supply chain, the proxy service center is an extremely important intermediate link. On one hand, it enables every enterprise in each link of the proxy pattern to be a node in the supply chain network; on the other hand it realizes the exchange and sharing of data, information and knowledge among supply, product, and sales enterprises. The proxy service center which carries on the product logistics between supplier and franchisee has a function of managing retailers and franchisees. So this pattern can grasps the supply condition quickly, control the logistics flexibly. At present, there are already relatively mature networks in many industries. Therefore, it has a very vital practical significance to promote the informatization platform based on the proxy pattern. II. FUNCTION STUDIES OF INFORMATIZATION PLATFORM The proxy pattern informatization mainly provides a stable, completely functional service platform which integrates application systems configuring on the unified service architecture. The service vendor who is responsible for maintenance and management of the software provides the software service over the Internet for users. Users need not purchase, construct and maintain infrastructure and the application procedure. According to informatization demands in proxy industry, functions of this platform includes enterprise informatization, franchisee informatization, proxy service center informatization, supply chain informatization and SaaS website service, which is shown in Figure 2: Figure 2. Proxy pattern informatization platform A. Enterprise informatization Enterprise informatization will be realized in this module which is mainly composed of general information management systems and management information systems for specific industry. The former includes OA system, personnel management system, attendance system, human resources management system and financial system .etc; the latter are suitable for the different industries, such as production management, workshop management, inventory management etc. Each system can realize seamless integration through web services; users in different industries can customize a combination of modules, share the synthesis statistical report, and establish basic data set .etc. This has fully manifested the superiorities of the SaaS application, which not only meets individual demands of various enterprises, but also makes these enterprises to be a link in the industry chain as well as realize its own informatization. Thus, every enterprise can share the information in upstream and downstream which is a great advantage for enterprise development. B. Proxy service center informatization As one important part of the informatization platform, the proxy service center carries on the product logistics between suppliers and franchisees. The realization of proxy pattern informatization may break the phenomenon of information island, which makes the proxy service center to be an important information channel on the entire industrial chain, thus it is more advantageous for information communication and sharing among enterprises. Informatization management for the proxy service center includes functions like statistics, inquiry, finance, user management. The center requires comprehensive statistic and inquire abilities, so as to fully grasp upstream and downstream information of the industrial chain. C. Franchisee service informatization Under the proxy pattern, franchisee manages one or several brands through the proxy service center, technically accepts the instruction of the brands, and engages in the operating activities according to the business pattern in the contract. As a different from branch business, franchisee has independent operation system and informatization platform. Informatization management for franchisee will be realized in this module, which includes functions like inventory, statistics, sales, finance .etc. So it not only realizes franchisee informatization service, but integrates franchisees into the industry informatization process. D. SaaS website service SaaS website service is a show window of service vendor and a communication channel of users, through which users submit their informatization demands. After satisfying the demand of users, the supplier gives feedback to users, so as to interact with user on line. Functions like company introduction, product synopsis, informatization diagnosis, product experience, service support will be included in this module. III. SYSTEM ARCHITECTURE Above we discuss the basic functions of informatization platform in proxy industry, the remainder of this article will detail the system architecture that can help us plan and build SaaS application. A well-designed SaaS application is distinguished by three qualities: scalability, configurability, and multi-user efficiency [2]. • Scalability, which is maximum enhancing concurrency, so as to high-efficiently use the application resources. • Configurability, refers to that each user can configure appearance and behaviors of the application with metadata, simultaneously guarantees easy use of the configuration and no expense. • Multi-user efficiency, this requires an architecture that maximizes the sharing of resources across users, but that is still able to differentiate data belonging to different users [3]. In a SaaS application, keys to determine these characteristics are metadata service and data security service, which are also the focus of users [4]. Neither can a common B/S architecture guarantee the data security of users, nor can satisfy flexible business requirement. Therefore, this article proposes the following SaaS platform system architecture based on proxy pattern, as Figure 3 shows: Figure 3. SaaS system architecture under proxy pattern In this architecture, the service vendor hosts multiple users on a load-balanced farm of identical instances (SCM instance, ERP instance, franchisee instance, agent instance etc.) with the same code library. Each instance serves for a certain amount of users with different demands, and with configurable metadata providing a unique user experience and feature set for each user [5]. Identical instances can maximize resource sharing. From users’ perspectives, the application is used as usual. As a unified interface of users, the load-balanced server will be responsible to manage these application instances. SaaS can meet various kinds of service requirement changes as well as behavior differences of business logic, which is realized mainly through metadata services. Configurable and customizable of the metadata make the platform highly scalable. According to his own business process, the user can define his fields, menu, form of report, formulas, jurisdiction, views, workflow and business rules, customize kinds of service for him, thus fully meet enterprises' individual demands and realize fast response to demand changes. The security service is most important in SaaS architecture, which is specially concerned by users. From user access to security data itself, we give a solution through authentication, authorization and means of hybrid encryption. In order to realize logon security, we want to consider a hybrid approach that combines centralized and decentralized authentication system—using the centralized approach to authenticate and manage smaller users, and the federated approach for large enterprises that demand, and will pay for, the single sign-on experience [6]. After the user logs on, access to resources and business functions in a SaaS application is managed by using roles that map to specific job functions within an organization. Each role is given one or more permission that enable users assigned to the role to perform actions in accordance with any relevant business rules, roles are managed within the SaaS application itself; they can contain individual user accounts, as well as user groups. Individual user accounts and groups can be assigned several different roles as required [7]. When the user access data resources, we have another protection—data encryption. A key wrapping system that combines the advantages of symmetric and asymmetric methods is used in this platform. Three keys are created for each user as part of the provisioning process: a symmetric key and an asymmetric key pair consisting of a public key and a private key. The symmetric key is used to encrypt the user's critical data for storage [8].A asymmetric key pair is used to encrypt and decrypt the symmetric key, so as to add another layer of security. IV. MULTI-USER DATA MODEL The multi-user data model is a very important link in SaaS platform design. A good data model has a good scalability, can share the data and information well, and satisfy the users’ individual needs. The simplest data model is storing users’ data in separate databases. Computing resources and application code are generally shared between all the users on a server, but each user has its own set of data that remains logically isolated from data that belongs to all other users[7].This model makes it easy to extend the application’s data model to meet all users’ individual needs, and restoring a user’s data from backups in a failure is a relatively simple thing[9].But usually this model expands software and hardware investment and equipment maintenance cost, which is similar to traditional single user model. The second data model is shared database, separate schema in which houses multiple users in the same database, with each user having his own set of tables that are grouped into a schema created specifically for the user. Each user can use SQL statement to operate his own data table [10]. This model can guarantee logic independence and security of users’ data, while it will increase complexity to backup and restoring of the data. In order to solve the problem of two kinds mentioned above, shared database, shared schema will be used in our platform based on standardization, unification in proxy industry, in which the same database and the same set of tables are used to host multiple users’ data. Different users’ data are stored in the same table, and distinguished by different UserID. This approach has the lowest hardware and backup costs, but it has the highest sharing, because it allows you to serve the largest number of users per database server. Some proxy industry like jewelry, there are so many nodes (they are almost small and medium-sized enterprises) that we can obtain considerable clients if we can effectively guarantee data security which is the key issue of SaaS application. What is more important, the shared schema ensures logic independence of users’ data, fully share and use all users’ data resources, is advantageous to integrate entire operation process in proxy pattern; on the other hand, different enterprises with the same service may have a different business requirement, they can flexibly extend the data model according to their own demands. Now we will discuss how to realize the extension of the data model. Generally speaking, there are two schemes: reallocated fields and Name-Value pairs [11]. Reallocated fields was used to reserve some fields in advance for user extension, when new requirement was put forward, we use one field or several fields to storage extension data [12].This scheme well realizes scalability of the data to some extent, but how many fields are reallocated at last is a problem hard to control for a large number of clients in SaaS application, while this problem is decided in scheme design. So we give up this scheme, and use Name-Value pairs to realize data extension, as shown in Figure 4: Figure 4. Name-Value pairs for Multi-User data model The scheme Name-Value pairs separate the data for extension with original data table, the extension data is stored in a unified extension table which changes transverse column of the extension table for longitudinal data sets, each extension field of original data record is stored by one extension data line, then we associate the record in original data table with the record in configuration table. Thus, extension data records are formed [13]. We will store users’ data in original data table, which contains only RecordID in the form record of the default data model, the only RecordID corresponds with one line or several lines in configuration table. A user can create records in configuration table as many as possible according to the business needs, which associate the extension table through ConfigID; then customized field values will be stored in extension table, and the table is consistent with the main data table through UserID. The scheme above allows each user to create as many custom fields as necessary so as to fully meet its diversified business needs, and it won’t waste too much storage space. V. CONCLUSIONS At present, SaaS application is vigorously promoted in many industries which can save the cost for the users, reduce the risk, and speed up the informatization process of the entire industry. Based on the informatization demands in proxy industry, this article expands SaaS application from the common management software to informatization of the entire industry, proposes basic function and the multi-user system architecture of the SaaS platform under the proxy pattern, then designs multi-user data model as well as data security services which makes the data achieve a good sharing and scalability, and effectively guarantees the data security. REFERENCES [1] Liyun Feng, Distribution Channel Management, Economy & Management Publishing House, Beijing, 2002. [2] Frederick Chong, and Gianpaolo Carraro Roger Wolter, Multi-Tenant Data Architecture, Microsoft Corporation, Washington, June 2006. [3] Wenbin Yu, Xiaohui Huang, and Min Yu,”A Solution of Shared Database and Architecture’s SaaS Based on XML”, Computer and Modernization, 8-10, April 2008. [4] Zongzuo Chang, Yue Xu, and Gang Dai,” The multi-tenant data architecture study based on the SaaS model for the public service platform”, Computer Systems and Application, 7-11, Feb. 2008. [5] Zongzuo Chang, Yue Xu, and Gang Dai,” The multi-tenant data architecture study based on the SaaS model for the public service platform”, Computer Systems and Application, 7-11, Feb. 2008. [6] Frederick Chong, and Gianpaolo Carraro Roger Wolter, Architecture Strategies for Catching the Long Tail, Microsoft Corporation, Washington, April 2006. [7] Frederick Chong, and Gianpaolo Carraro Roger Wolter, Architecture Strategies for Catching the Long Tail, Microsoft Corporation, Washington, April 2006. [8] Frederick Chong, and Gianpaolo Carraro Roger Wolter, Multi-Tenant Data Architecture, Microsoft Corporation, Washington, June 2006. [9] Frederick Chong, and Gianpaolo Carraro Roger Wolter, Multi-Tenant Data Architecture, Microsoft Corporation, Washington, June 2006. [10] Wenbin Yu, Xiaohui Huang, and Min Yu,”A Solution of Shared Database and Architecture’s SaaS Based on XML”, Computer and Modernization, 8-10, April 2008. [11] Frederick Chong, and Gianpaolo Carraro Roger Wolter, Multi-Tenant Data Architecture, Microsoft Corporation, Washington, June 2006. [12] Wei Ye .etc,Software Revolution in Internet Age:SaaS Architecture Design,Publishing House of Electronics Industry,Beijing,2009, 102. [13] Wei Ye .etc,Software Revolution in Internet Age:SaaS Architecture Design,Publishing House of Electronics Industry,Beijing,2009,104-105.
Agent技术的应用 ---- Microsoft Agent是微软公司于1997年9月发布的一项代理软件开发技术, 而后被集成到Internet Explorer 4.0 Plus及更高版本中,目前版本为2.0,支持简体中文。 作为一种软件代理工具,Agent以其强大的交互功能、鲜明的人性特点、优美的操作界面和 简便统一的编程方法,对由菜单、按钮、提示框等组成的传统人机交互方式产生了很大影响, 在多媒体创作、Web应用、教育软件、软件帮助系统和辅助工具制作等方面,具有广阔的应用前景。 一、 Microsoft Agent技术简介 ---- Agent一词的中文意思是“代理”,故名思意,这类代理软件的主要作用是提供一种 易于理解和使用的操作界面,接受用户的指令、代替用户完成某些复杂繁琐的工作、或为用户 提供帮助。科学研究表明:从人机工程的角度考虑,赋予电脑或程序更多人性化色彩,如支持 语音合成输出信息、语音识别输入指令、智能提示、动画等,能够充分提高人机交互的有效性 和易用性。 ---- 我们知道,在Office 97帮助系统中有一种叫作Office助手的代理软件,其中幽默风趣的 动画人物,如“大眼夹”,能够根据用户的操作步骤“智能化”地提出一些建议或帮助信息。 与Office助手相比,Agent功能更加丰富强大,表现在: Office助手沿用传统的不透明矩形窗口,窗口后面的背景被完全挡住;Agent动画人物本身是 一个“AlwaysOnTop”窗口,只有人物身体部分挡住背景,其余部分透明。 Office助手只允许Office 97的各个组件调用,Agent动画人物可由任何Windows程序调用; Agent支持文字气球和输入提示条,在输出语音的同时把文字输出至一个卡通式文字气球中。 如果电脑系统中安装有Agent语音识别引擎,当用户按住输入键,如Scroll Lock键,在Agent 人物下方出现一个输入命令窗口,表示它正在“聆听”用户的语音命令。 Agent提供Genie、Merlin、Bobby和Peedy等动画人物,不仅具有优美诙谐的动作,而且可以 通过声卡、麦克风与用户交谈。 二、 Microsoft Agent安装方法 ---- Agent是一种ActiveX控件,其服务器程序(C:WINDOWSMSAGENTAgentsvr.exe)运行 在Win95/98/NT操作平台上,为其它调用Agent的客户程序提供服务。客户程序可以是利用VB、 C++、Delphi、VFP、PB等开发的应用软件,也可以是HTML文件中的Visual Script、Java Script 脚本语言代码。 安装Agent核心组件Msagent.exe。 安装Lernout & Hauspie TruVoice Text-to-Speech Engine(完成从文字合成语音的工作, 目前版本只支持英语)Cgram.exe。 安装Microsoft Command and Control Speech Engine(提供语音识别功能,目前版本只支持 英语)Actcnc.exe。 Agent动画人物人物数据文件。Agent支持单结构角色文件(.acs,角色数据与动画数据存于同一个文件), 也支持分离结构角色文件(.acf,角色数据存于.acf中,动画数据存于.aca中)。基于本地硬盘和网络的 应用程序可采用.acs文件,基于Web页面的HTML文件在浏览器中访问时会自动调用,习惯上多使用.acs文件。 ---- 上述文件可从 http://www.microsoft.com//workshop/imedia/agent/default.asp下载。 三、 Microsoft Agent编程要点 ---- 1、 在Delphi中添加Agent控件 ---- 在Delphi IDE中选择菜单Component,Import ActiveX Control??在Import ActiveX 下的列表框中选择Microsoft Agent Control 2.0(Version 2.0),点击按钮Install??在 Install对话框中点击按钮OK??在Confirm对话框中点击按钮Yes??在对话框中点击按钮OK。 至此,Agent控件被添加到Delphi组件板ActiveX页上。 ---- 2、 在Delphi中调用Agent控件 ---- ⑴、在Delphi IDE 中新建Project1(包含Form1),在Form1上放置Agent1 (Name属性为MyAgent)、Button1。 ---- ⑵、定义变量。 Var Peedy: IagentCtlCharacterEx; Request1,Request2: IagentCtlRequest; ---- ⑶Agent主要属性、方法、事件。 ---- ①Characters属性与Load、Unload方法:初始化Agent,加载动画数据,卸载动画人物 ---- Request1 := MyAgent.Characters.Load( Peedy , C:WindowsSystemPeedy.acs ); ---- Peedy := MyAgent.Characters.Character( Peedy ); ---- MyAgent.Characters.Unload( Peedy ); ---- ②Show与Hide方法:显示、隐藏Agent动画人物。参数Fast表示动画人物显示、隐藏的 速度。Fast为0表示Agent飞入、飞出,Fast为1表示Agent直接出现、消失,没有动画过程。 ---- Peedy.Show(0); ---- Peedy.Hide(1); ---- ③StopAll、Stop方法:停止所有动作。 ---- Peedy.StopAll( ); ---- Peedy.Stop(Request); ---- ④Connected属性:Agent是否与Microsoft Agent服务器连接。 ---- MyAgent.Connected := True; ---- ⑤Get_Height、Get_Width、Set_Height、Set_Width方法:获得、设置Agent动画人物的高度、宽度。 AgentHight := Peedy.Get_Height; AgentWidth := Peedy.Get_Width; Peedy.Set_Height( round(AgentHeight / 2 )); Peedy.Set_Width( round( AgentWidth / 2 )); ---- ⑥MoveTo方法:参数x,y表示Agent动画人物移动到的坐标,参数Speed表示移动的速度。 ---- Peedy.MoveTo( (Screen.Width-Peedy.Get_Width) Div 2, (Screen.Height-Peedy.Get_Height) Div 2, 2 ); ---- ⑦Interrupt方法:中断指定角色的动画。在几十种动画动作中,有一类后缀名为“ing” 的动作 比较特殊,如“processing”、“searching”、“reading”、“writing”,一旦执行就必须通过调用 另外一个动画人物的Interrupt方法才能中断 。角色不能中断自身的动作,否则会导致异常。 Request1 := Robby.Play( reading ); Peedy.Interrupt(Request1); ---- ⑧Wait方法:在多个不同动画人物之间协调动画动作,如等待sRobby的当前动作执行完毕后, Peedy做另外一个动作。 Request1 := Robby.Play( read ); Peedy.Wait(Request1); Peedy.Play( search ) ---- ⑨Play方法:执行指定的动画动作,参数Animation为一常量,表示动画类型。 Agent提供了几十种预定义动作,开发软件时只需直接调用这些常量即可。下面简要 介绍其中常用的一些常量仅供编程参考。 ---- 动作类型 中文含意 动作类型 中文含意 动作类型 中文含意 Acknowledge 承认 LookDown 向下看 Sad 悲伤 Alert 警告 LookDownBlink 向下看眨眼 Search 寻找 Announce 声明 LookUp 向上看 StartListening 开始聆听 Blink 眨眼 LookUpBlink 向下看眨眼 StopListening 停止聆听 Confused 迷惑 LookLeft 向左看 Suggest 建议 Congratulate 祝贺 LookLeftBlink 向左看眨眼 Surprised 吃惊 Decline 拒绝 LookRight 向右看 Think 思考 DontRecognize 不承认 LookRightBlink 向右看眨眼 Wave 挥动 Explain 解释 MoveDown 向下移动 Write 书写 GestureDown 向下姿势 MoveUp向上移动 Processing 计算…… GestureUp 向上姿势 MoveRight 向右移动 Reading 阅读…… GestureLeft 向左姿势 MoveLeft 向左移动 Searching 寻找…… GestureRight 向右姿势 Pleased 高兴 Writing 书写…… GetAttention 获得注意 Read 阅读 Greet 问候 RestPose 恢复初始状态 Request := peedy.Play( search ); ---- ⑩Speak方法:Agent通过调用语音合成引擎,支持英语的语音合成输出功能,只需 输入英文字符串,Agent就能通过声卡、音箱“说话”。Agent的当前版本尚不具备支持 中文语音合成功能,所以只能以.wav文件的形式播放中文。使用时可以将想要说的中文 句子预先录好,以.wav形式存储,在程序中调用即可。参数Text表示文字气球中显示的 文字,参数url表示.wav文件的路径。 ---- Peedy.speak( 嗨,朋友们,你们好,现在由我为您提供帮助! , C:新建文件夹Help.wav ); ---- Peedy.Speak( Do you like my help? If so, Please send me an email! Thank you! , ); ---- ⑾Commands.Add方法:在Button1Click事件中为Agent添加自定义语音识别命令,参数 const Name表示语音命令的标识,参数Caption表示该命令在输入命令窗口中的显示标题, 参数Voice表示该命令对应的语句。当用户通过麦克风向动画人物发出语音命令时,触发 Agent的Command事件,因此我们可以另外编写一个过程完成语音识别功能。 procedure TForm1.Button1Click(Sender: TObject); begin Peedy.Commands.Add( Delphi , Run Delphi , Delphi ,True,True); Peedy.Commands.Add( Visual Basic , Run VB , VB ,True,True); Peedy.Show(0); Peedy.Speak( What can I do for you, sir? , ); end; ---- ⑷、按F9运行程序。以上程序在Delphi3.0/4.0、Windows95/98/NT简体中文版环境下调试通过。 话题672376的标题是: 天缘,把MS Agent在网页中调用的所有动作的中文说明贴出来吧!我给你200分 (200分) 分类:前沿技术 神.NET (2001-10-14 17:54:00) skylove,把MS Agent在网页中调用的所有动作的中文说明贴出来吧!我给你200分 还有如果不介意的话,请告诉我你的电子邮件地址和你的QQ号码 YB_unique (2001-10-14 22:33:00) 这就是他所说的VRGirl。 VRGirl GUID: {30FDBBE2-A424-11D4-AEB3-00E0295F8599} 59 Animations: Acknowledge Alert Announce Blink Confused Congratulate Decline DoMagic1 DoMagic2 DontRecognize Explain GestureDown GestureLeft GestureRight GestureUp GetAttention GetAttentionContinued GetAttentionReturn Greet Hearing_1 Hearing_2 Hide Idle1_1 Idle1_2 Idle2_1 Idle2_2 Idle3_1 Idle3_2 LookDown LookLeft LookRight LookUp MoveDown MoveLeft MoveRight MoveUp Pleased Process Processing Read ReadContinued Reading ReadReturn RestPose Sad Search Searching Show StartListening StopListening Suggest Surprised Think Uncertain Wave Write WriteContinued WriteReturn Writing skylove (2001-10-16 0:48:00) 使用play方式来完成的动作如下:在vb中用agent.play "xxx"的方式,js中用agent.play("xxx");的方式 Acknowledge //点头表示答谢(可用) Alert //警惕(可用) Announce //宣布(可用) Blink //眨眼睛,一般用在说完话以后. (可用) Confused //抓头,用在无法解答的时候,表示烦恼。 (可用) Congratulate //表示成功,并传递值yes (可用) Decline //摇着头,表示不知道的时候用。(可用) DoMagic1 //施放魔法动作1 (可用) DoMagic2 //施放魔法动作2 (单独可用,也可1,2连用) DontRecognize //抓耳朵,当精灵不懂用户的意思的时候 Explain //双手探开,耸肩,表示无可解释 GestureDown //向下的手势,表示等你回应什么事情时 GestureLeft //精灵用左手做手势,手指向右方(因为其面朝我们),表示右方有事物时 GestureRight //精灵用右手做手势,手指向左方,表示左方有事物时 GestureUp //向上的手势 GetAttention //表示要人注意的姿势 Greet //问候,在刚开始的时候使用 Hearing_1 //倾听1 (可用)向上听 Hearing_2 //倾听2 (可用)头向屏幕右偏听 Hearing_3 //倾听3 (可用)向屏幕左听 Hearing_4 //倾听4 (可用)向屏幕右听 (一听就是连续状态,必须要用解除命令) Note: This animation loops to some intermediate frame that occurs after the character moves to an appropriate position. Idle1_1 //空闲状态1-1(可用),升起一点 Idle1_2 //空闲状态1-2(可用),朝屏幕左边看 Idle2_1 //空闲状态1-2(可用),身躯左右扭一下 Idle2_2 //空闲状态2-2(可用),拿本书出来看 Idle3_1 //空闲状态3-1(可用),打呵欠 Idle3_2 //空闲状态3-2(可用),闭目养神,打呼 Note: This animation loops to some intermediate frame that occurs after the character moves to an appropriate position. LookDown //往下看(可用) LookLeft //往左看(可用) LookRight //往右看(可用) LookUp //往上看(可用) MoveDown //要向下移动的准备(可用),后面一个动作可跟moveto方法来确实移动 MoveLeft //要向左移动的准备(可用) MoveRight //要向右移动的准备(可用) MoveUp //要向上移动的准备(可用) Pleased //邀请的动作,面带微笑(可用) Process //类似于表演的动作,可以看看。如转圈等等 Processing //跟上面的动作一样,不过是一直持续不停 (连续状态,必须要用解除命令) Read //拿本书出来看,眼睛看着使用者 (可用) ReadContinued //继续读,眼睛看着使用者 (可用,可接上一个用) ReadReturn //当完成了上面两个动作时候用,可回到标准状态 (接上两个中的一个用) Reading //一直认真地读,连续状态 (可用) Note: This animation loops to some intermediate frame(s) that occurs after the character moves to an appropriate position. RestPose //休息状态,身体放松,但是依旧专心。 (可用) Sad //当精灵对读者的选择失望的时候的表情 (可用) Search //找寻东西的样子 (可用) Searching //找东西,持续不停(可用) Note: This animation loops to some intermediate frame(s) that occurs after the character moves to an appropriate position. Show //精灵出现(可用) Hide //精灵隐藏 (可用) StartListening //右手搭在右耳上,倾听屏幕左边的声音(可用,非持续) StopListening //捂住耳朵不听的状态(可用,非持续) Suggest //提出一些tips给你,表示建议的时候用(可用) Surprised //对使用者的行为表示惊讶,睁大眼睛,张开嘴巴(可用) Think //表示思考,精灵用手支撑着自己的头向上望着 (可用) Uncertain //对你的回答表示试探性的确认,如同“are you sure”吗(可用) Wave //离开系统的时候,精灵挥手告别(可用) Write //取出纸和笔来,写下一行(可用) WriteContinued //继续根据使用者的意见写,写完后,看着使用者(可用) WriteReturn //上一行为完成后,使用此,返回标准状态(可用) Writing //一直写(可用,连续状态) Note: This animation loops. 下面这些是常用的method方法 show //显示,是method Hide //隐藏,是method Think //思考,是method stop方法,stopall方法 moveto x,y,s//表示移动到何处去之后跟 横坐标,纵坐标,移动速度,都是数字变量 绝对是我自己辛苦翻译的也,记得给分!!! 神.NET (2001-10-22 9:51:00) 接受答案了. 神.NET (2001-10-22 9:53:00) 谢谢两位。 skylove的回答最终被接受。

7,763

社区成员

发帖
与我相关
我的任务
社区描述
VB 基础类
社区管理员
  • VB基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧