file-type

Scratch 3.0扩展开发与部署的prg-extension-boilerplate工具

ZIP文件

下载需积分: 9 | 38.49MB | 更新于2025-02-08 | 192 浏览量 | 0 下载量 举报 收藏
download 立即下载
根据提供的文件信息,我们可以提取以下知识点: ### 标题知识点: **prg-extension-boilerplate:玩和部署Scratch 3.0修改的样板!** - **Scratch 3.0**: Scratch是一个由麻省理工学院媒体实验室的终身幼儿园团队开发的图形化编程语言,主要用于教育目的,尤其是面向儿童。它允许用户通过拖放代码块的方式创建程序和游戏。Scratch 3.0是该语言的一个版本。 - **样板(Boilerplate)**: 在软件开发中,样板指的是预先编写好的代码框架,它为特定类型的软件应用提供了基础的结构和代码。开发者使用样板可以避免从零开始编写相同的基础代码,从而加快开发过程。 - **拖放编码环境**: 这是指一种不需要编写传统代码(如文本代码),而是通过图形化方式,通过拖放预定义的代码块来编程的环境。Scratch是这种环境的一个实例。 ### 描述知识点: **拖放编码环境样板...** - **简单使用和部署**: 这个样板库的主要目的是简化基于Scratch-3.0组件的图形用户界面(GUI)的使用和部署过程。 - **原型开发**: 开发者可以用它来创建不符合当前Scratch扩展限制的原型扩展。这允许开发者在没有严格的框架限制下进行创新。 - **对Scratch 3.0 GUI的调整**: 开发者可以利用这个样板来对现有的Scratch GUI进行修改或自定义,以适应不同的需求。 - **快速部署Scratch 3.0 GUI的分支**: 如果需要快速部署一个分支版本的Scratch GUI,这个样板库可以提供一个简单的路径。 - **不频繁更新Scratch组件**: 尽管该项目保留了组成子项目的git历史记录,但频繁地将小型更改推回上游Scratch组件并不适合该样板库的设计,因此需要额外步骤集中工作并发起拉取请求。 - **Monorepo结构**: 这指的是一个单一的仓库中维护多个项目代码。在该样板库中,用户可能需要实时修改Scratch组件,以便一次性编辑、管理所有版本。 - **静态站点部署**: 通过执行简单的命令可以进行GUI的静态站点部署。 - **Java版本要求**: 要求用户安装Java版本8或更高版本,因为Java是许多开发工具和环境的基础依赖。 - **node.js安装**: 提到node.js的安装,并指出了Linux版本6.13.4和MacOS作为参考,虽然没有提供具体版本,这暗示了该样板库可能使用了Node.js进行其构建和部署过程。 ### 标签知识点: **JavaScript** - **JavaScript**: 是一种高级的、解释执行的编程语言,广泛应用于网页和服务器端开发。JavaScript允许开发者编写交互式网页,也可以在Node.js环境中运行JavaScript代码来实现服务器端逻辑。在本例中,JavaScript很可能是实现该样板库中的某些功能(例如,UI组件的交互或后端服务)的关键技术。 ### 压缩包子文件的文件名称列表知识点: **prg-extension-boilerplate-develop** - **压缩包文件**: 指的是包含样板库文件的压缩包,文件名“prg-extension-boilerplate-develop”表示这是样板库的开发版本,可能包含正在进行的开发工作,或是提供给开发者的当前工作状态快照。 总结上述信息,这个样板库提供了一个框架,用于快速开发和部署基于Scratch 3.0的项目。它适合于那些希望扩展或定制Scratch GUI的开发者,同时也提供了一种简化开发流程的方法,尽管它不鼓励频繁地向Scratch的原始组件贡献更新。使用样板库的用户需要具备Java 8或更高版本以及Node.js的知识。通过理解这些知识点,开发者可以更好地利用该样板库来实现他们的目标。

相关推荐

filetype

------ Build started: Application: Device.Application ------- typify code ... [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 1, Column 1 (Impl)): C0009: Unexpected Token 'PROGRAM' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 1, Column 1 (Impl)): C0189: ';' expected instead of 'PLC_PRG' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 2, Column 1 (Impl)): C0189: ';' expected instead of 'VAR' [WARNING] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 1, Column 1 (Impl)): C0139: The code 'PLC_PRG; ' has no effect. Is this the intent? [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 2, Column 1 (Impl)): C0009: Unexpected Token 'VAR' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 4, Column 1 (Impl)): C0189: ';' expected instead of 'stop' [WARNING] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 4, Column 1 (Impl)): C0118: The label 'STOP' has not been referenced [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 4, Column 1 (Impl)): C0009: Unexpected Token 'BOOL' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 4, Column 1 (Impl)): C0189: ';' expected instead of ':=' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 4, Column 1 (Impl)): C0009: Unexpected Token ':=' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 4, Column 1 (Impl)): C0189: ';' expected instead of 'FALSE' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 4, Column 1 (Impl)): C0009: Unexpected Token 'FALSE' found [WARNING] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 5, Column 1 (Impl)): C0118: The label 'KEY_ALL' has not been referenced [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 5, Column 1 (Impl)): C0009: Unexpected Token 'BOOL' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 5, Column 1 (Impl)): C0189: ';' expected instead of ':=' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 5, Column 1 (Impl)): C0009: Unexpected Token ':=' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 5, Column 1 (Impl)): C0189: ';' expected instead of 'FALSE' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 5, Column 1 (Impl)): C0009: Unexpected Token 'FALSE' found [WARNING] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 6, Column 1 (Impl)): C0118: The label 'SOV' has not been referenced [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 6, Column 1 (Impl)): C0009: Unexpected Token 'BOOL' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 6, Column 1 (Impl)): C0189: ';' expected instead of ':=' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 6, Column 1 (Impl)): C0009: Unexpected Token ':=' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 6, Column 1 (Impl)): C0189: ';' expected instead of 'FALSE' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 6, Column 1 (Impl)): C0009: Unexpected Token 'FALSE' found [WARNING] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 7, Column 1 (Impl)): C0118: The label 'MID12' has not been referenced [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 7, Column 1 (Impl)): C0009: Unexpected Token 'BOOL' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 7, Column 1 (Impl)): C0189: ';' expected instead of ':=' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 7, Column 1 (Impl)): C0009: Unexpected Token ':=' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 7, Column 1 (Impl)): C0189: ';' expected instead of 'FALSE' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 7, Column 1 (Impl)): C0009: Unexpected Token 'FALSE' found [WARNING] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0118: The label 'DIANJI' has not been referenced [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token 'ARRAY' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of '[' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token '[' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of '1' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token '1' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of '..' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token '..' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of '6' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token '6' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of ']' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token ']' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of 'OF' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token 'OF' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of 'BOOL' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token 'BOOL' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of ':=' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token ':=' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of '[' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token '[' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of 'FALSE' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token 'FALSE' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of ',' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token ',' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of 'FALSE' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token 'FALSE' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of ',' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token ',' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of 'FALSE' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token 'FALSE' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of ',' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token ',' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of 'FALSE' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token 'FALSE' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of ',' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token ',' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of 'FALSE' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token 'FALSE' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of ',' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token ',' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of 'FALSE' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token 'FALSE' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0189: ';' expected instead of ']' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 10, Column 1 (Impl)): C0009: Unexpected Token ']' found [WARNING] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0118: The label 'TB_VEL' has not been referenced [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token 'ARRAY' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of '[' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token '[' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of '1' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token '1' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of '..' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token '..' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of '6' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token '6' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of ']' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token ']' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of 'OF' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token 'OF' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of 'REAL' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token 'REAL' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of ':=' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token ':=' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of '[' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token '[' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of '0.0' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token '0.0' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of ',' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token ',' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of '0.0' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token '0.0' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of ',' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token ',' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of '0.0' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token '0.0' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of ',' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token ',' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of '0.0' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token '0.0' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of ',' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token ',' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of '0.0' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token '0.0' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of ',' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token ',' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of '0.0' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token '0.0' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0189: ';' expected instead of ']' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 13, Column 1 (Impl)): C0009: Unexpected Token ']' found [WARNING] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 14, Column 1 (Impl)): C0118: The label 'TB_VEL_ALL' has not been referenced [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 14, Column 1 (Impl)): C0009: Unexpected Token 'REAL' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 14, Column 1 (Impl)): C0189: ';' expected instead of ':=' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 14, Column 1 (Impl)): C0009: Unexpected Token ':=' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 14, Column 1 (Impl)): C0189: ';' expected instead of '0.0' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 14, Column 1 (Impl)): C0009: Unexpected Token '0.0' found [WARNING] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 17, Column 1 (Impl)): C0118: The label 'JOGFB' has not been referenced [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 17, Column 1 (Impl)): C0009: Unexpected Token 'ARRAY' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 17, Column 1 (Impl)): C0189: ';' expected instead of '[' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 17, Column 1 (Impl)): C0009: Unexpected Token '[' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 17, Column 1 (Impl)): C0189: ';' expected instead of '1' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 17, Column 1 (Impl)): C0009: Unexpected Token '1' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 17, Column 1 (Impl)): C0189: ';' expected instead of '..' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 17, Column 1 (Impl)): C0009: Unexpected Token '..' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 17, Column 1 (Impl)): C0189: ';' expected instead of '6' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 17, Column 1 (Impl)): C0009: Unexpected Token '6' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 17, Column 1 (Impl)): C0189: ';' expected instead of ']' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 17, Column 1 (Impl)): C0009: Unexpected Token ']' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 17, Column 1 (Impl)): C0189: ';' expected instead of 'OF' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 17, Column 1 (Impl)): C0009: Unexpected Token 'OF' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 17, Column 1 (Impl)): C0189: ';' expected instead of 'FB_Jog' [WARNING] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 17, Column 1 (Impl)): C0139: The code 'FB_Jog; ' has no effect. Is this the intent? [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 18, Column 1 (Impl)): C0009: Unexpected Token 'END_VAR' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 21, Column 1 (Impl)): C0189: ';' expected instead of 'METHOD' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 21, Column 1 (Impl)): C0009: Unexpected Token 'METHOD' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 21, Column 1 (Impl)): C0189: ';' expected instead of 'MainControl' [WARNING] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 21, Column 1 (Impl)): C0118: The label 'MAINCONTROL' has not been referenced [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 21, Column 1 (Impl)): C0009: Unexpected Token 'BOOL' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 22, Column 1 (Impl)): C0189: ';' expected instead of 'VAR' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 22, Column 1 (Impl)): C0009: Unexpected Token 'VAR' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 23, Column 1 (Impl)): C0189: ';' expected instead of 'i' [WARNING] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 23, Column 1 (Impl)): C0118: The label 'I' has not been referenced [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 23, Column 1 (Impl)): C0009: Unexpected Token 'INT' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 24, Column 1 (Impl)): C0009: Unexpected Token 'END_VAR' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 27, Column 1 (Impl)): C0189: ';' expected instead of 'IF' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 63, Column 1 (Impl)): C0189: ';' expected instead of 'TRUE' [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 63, Column 1 (Impl)): C0009: Unexpected Token 'TRUE' found [ERROR] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 64, Column 1 (Impl)): C0190: ';' expected instead of end of POU [WARNING] shiyanbuzhou: PLC_PRG [Device: PLC Logic: Application](Line 64, Column 1 (Impl)): C0139: The code 'END_METHOD; ' has no effect. Is this the intent? Compile complete -- 144 errors, 13 warnings

filetype

为什么这个页面按f5会出现确认重新提交表单?<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui" template="/templates/LkmTemplate.jsf"> <ui:param name="pageTitle" value="转序效率分析"/> <ui:define name="head"> <h:outputScript name="js/highchart3.6/event-highcharts.js" target="body"/> <h:outputScript name="js/event-exporting.js" target="body"/> </ui:define> <ui:define name="content-introduction">

转序效率分析

</ui:define> <ui:define name="content">
<p:panel>
组织 <p:selectOneMenu id="org" value="#{zhuanXuReportBean.org}" style="width:80px"> <f:selectItem itemLabel="河源" itemValue="河源"/> <f:selectItem itemLabel="杭州" itemValue="杭州"/> </p:selectOneMenu>
<p:spacer width="10px"/>
类型 <p:selectOneMenu id="eventType" value="#{zhuanXuReportBean.eventType}" style="width:110px;" panelStyle="width:180px;"> <f:selectItem itemLabel="转序" itemValue="转序"/> <f:selectItems value="#{zhuanXuReportBean.typeList}"/> </p:selectOneMenu>
<p:spacer width="10px"/>
厂房 <p:selectOneMenu id="selectFactory" value="#{zhuanXuReportBean.selectFactory}" style="width:80px"> <f:selectItem itemLabel="选择厂房"/> <f:selectItem itemLabel="1#厂" itemValue="1#厂"/> <f:selectItem itemLabel="5#厂" itemValue="5#厂"/> <f:selectItem itemLabel="6#厂" itemValue="6#厂"/> <f:selectItem itemLabel="7#厂" itemValue="7#厂"/> <f:selectItem itemLabel="8#厂" itemValue="8#厂"/> <f:selectItem itemLabel="12#厂" itemValue="12#厂"/> <f:selectItem itemLabel="20#厂" itemValue="20#厂"/> </p:selectOneMenu>
<p:spacer width="5px" height="10px"/>
统计始 <p:calendar id="startDate" pattern="yyyy-MM-dd" value="#{zhuanXuReportBean.startDate}" inputStyle="width:90px"></p:calendar>
<p:spacer width="5px" height="10px"/>
统计止 <p:calendar id="endDate" pattern="yyyy-MM-dd" value="#{zhuanXuReportBean.endDate}" inputStyle="width:90px"></p:calendar>
<p:spacer width="5px" height="10px"/> <h:commandButton id="searchBtn" class="searchBtn" actionListener="#{zhuanXuReportBean.doSearch}" oncomplete="updateChart()" icon="fa fa-search" value="查询" update="dataTableId" style="width:80px;height:33px;background-color:#007ad9;border: 1px solid #007ad9;color: #ffffff;"/> </p:panel>
<h:outputScript> document.addEventListener('DOMContentLoaded', function () { var chart1; var categories = #{zhuanXuReportBean.categoriesStr}; var salesData = #{zhuanXuReportBean.salesDataStr}; var eventType = '#{zhuanXuReportBean.eventType!=""?zhuanXuReportBean.eventType:"转序效率"}'; chart1 = new Highcharts.Chart({ chart: { renderTo: 'chartData', type: 'column' }, title: { text: eventType + '分析(件数)', x: -20 //center }, xAxis: { categories: eval(categories) }, yAxis: { title: { text: eventType + '分析(件数)', }, min: 0, plotLines: [{ value: 0, width: 1, color: '#808080' }] }, tooltip: { crosshairs: true, valueSuffix: '', shared: true }, plotOptions: { column: { pointPadding: 0.2, borderWidth: 0 } }, series: eval(salesData) }); // 更新图表数据 function updateChart() { var newCategories = #{engWojiaBean.categoriesStr}; var salesData = #{engWojiaBean.salesDataStr}; chart1.xAxis[0].setCategories(newCategories); chart1.series[0].setData(salesData); var series = chart1.series; series[1].hide(); series[2].hide(); series[5].hide(); } }); </h:outputScript>
<p:dataTable id="dataTableId" widgetVar="dataTableId" emptyMessage="没有找到相关记录" value="#{zhuanXuReportBean.lazyEventDataList}" var="zx" styleClass="data-table fixed-layout-table" style="width:100%;" paginator="true" rows="10" paginatorPosition="bottom" rowsPerPageTemplate="10,20,30" lazy="true" paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"> <p:columnGroup type="header"> <p:row> <p:column rowspan="2" headerText="操作员" style="text-align:center;width:30px"/> <p:column rowspan="2" headerText="时间跨度" style="text-align:center;width:25px"/> <p:column colspan="2" headerText="转序数量" style="text-align:center; width:20px;"/> <p:column rowspan="2" headerText="操作" style="text-align:center;width:10px"/> </p:row> <p:row> <p:column headerText="正常" style="text-align:center; width:10px;"/> <p:column headerText="超时" style="text-align:center; width:10px;"/> </p:row> </p:columnGroup> <p:column style="text-align:center;width:30px"> <h:outputText value="#{zx.name}" styleClass="ellipsis-text"/> </p:column> <p:column style="text-align:center;width:30px"> <h:outputText value="#{zhuanXuReportBean.searchDate}" styleClass="ellipsis-text"/> </p:column> <p:column style="text-align:center; width:10px;"> <h:outputText value="#{zx.normalCount}" styleClass="ellipsis-text"/> </p:column> <p:column style="text-align:center; width:10px;"> <h:outputText value="#{zx.timeOutCount}" styleClass="ellipsis-text"/> </p:column> <p:column style="text-align:center;width:10px"> <p:commandLink value="查看明细" actionListener="#{zhuanXuReportBean.openEventDataDialog(zx)}" oncomplete="PF('zhuanXuDetail').show();" update="@(.detail-style)" styleClass="centered-link"/> </p:column> </p:dataTable>
</ui:define> </ui:composition>
量子学园
  • 粉丝: 32
上传资源 快速赚钱