Location:
Search - 132*64
Search list
Description: 目 录
译者序
前言
第1章 简介 1
1.1 什么是Verilog HDL? 1
1.2 历史 1
1.3 主要能力 1
第2章 HDL指南 4
2.1 模块 4
2.2 时延 5
2.3 数据流描述方式 5
2.4 行为描述方式 6
2.5 结构化描述形式 8
2.6 混合设计描述方式 9
2.7 设计模拟 10
第3章 Verilog语言要素 14
3.1 标识符 14
3.2 注释 14
3.3 格式 14
3.4 系统任务和函数 15
3.5 编译指令 15
3.5.1 `define和`undef 15
3.5.2 `ifdef、`else 和`endif 16
3.5.3 `default_nettype 16
3.5.4 `include 16
3.5.5 `resetall 16
3.5.6 `timescale 16
3.5.7 `unconnected_drive和
`nounconnected_drive 18
3.5.8 `celldefine 和 `endcelldefine 18
3.6 值集合 18
3.6.1 整型数 18
3.6.2 实数 19
3.6.3 字符串 20
3.7 数据类型 20
3.7.1 线网类型 20
3.7.2 未说明的线网 23
3.7.3 向量和标量线网 23
3.7.4 寄存器类型 23
3.8 参数 26
第4章 表达式 28
4.1 操作数 28
4.1.1 常数 28
4.1.2 参数 29
4.1.3 线网 29
4.1.4 寄存器 29
4.1.5 位选择 29
4.1.6 部分选择 29
4.1.7 存储器单元 30
4.1.8 函数调用 30
4.2 操作符 30
4.2.1 算术操作符 31
4.2.2 关系操作符 33
4.2.3 相等关系操作符 33
4.2.4 逻辑操作符 34
4.2.5 按位操作符 35
4.2.6 归约操作符 36
4.2.7 移位操作符 36
4.2.8 条件操作符 37
4.2.9 连接和复制操作 37
4.3 表达式种类 38
第5章 门电平模型化 39
5.1 内置基本门 39
5.2 多输入门 39
5.3 多输出门 41
5.4 三态门 41
5.5 上拉、下拉电阻 42
5.6 MOS开关 42
5.7 双向开关 44
5.8 门时延 44
5.9 实例数组 45
5.10 隐式线网 45
5.11 简单示例 46
5.12 2-4解码器举例 46
5.13 主从触发器举例 47
5.14 奇偶电路 47
第6章 用户定义的原语 49
6.1 UDP的定义 49
6.2 组合电路UDP 49
6.3 时序电路UDP 50
6.3.1 初始化状态寄存器 50
6.3.2 电平触发的时序电路UDP 50
6.3.3 边沿触发的时序电路UDP 51
6.3.4 边沿触发和电平触发的混合行为 51
6.4 另一实例 52
6.5 表项汇总 52
第7章 数据流模型化 54
7.1 连续赋值语句 54
7.2 举例 55
7.3 线网说明赋值 55
7.4 时延 55
7.5 线网时延 57
7.6 举例 57
7.6.1 主从触发器 57
7.6.2 数值比较器 58
第8章 行为建模 59
8.1 过程结构 59
8.1.1 initial 语句 59
8.1.2 always语句 61
8.1.3 两类语句在模块中的使用 62
8.2 时序控制 63
8.2.1 时延控制 63
8.2.2 事件控制 64
8.3 语句块 65
8.3.1 顺序语句块 66
8.3.2 并行语句块 67
8.4 过程性赋值 68
8.4.1 语句内部时延 69
8.4.2 阻塞性过程赋值 70
8.4.3 非阻塞性过程赋值 71
8.4.4 连续赋值与过程赋值的比较 72
8.5 if 语句 73
8.6 case语句 74
8.7 循环语句 76
8.7.1 forever 循环语句 76
8.7.2 repeat 循环语句 76
8.7.3 while 循环语句 77
8.7.4 for 循环语句 77
8.8 过程性连续赋值 78
8.8.1 赋值—重新赋值 78
8.8.2 force与release 79
8.9 握手协议实例 80
第9章 结构建模 83
9.1 模块 83
9.2 端口 83
9.3 模块实例语句 83
9.3.1 悬空端口 84
9.3.2 不同的端口长度 85
9.3.3 模块参数值 85
9.4 外部端口 87
9.5 举例 89
第10章 其他论题 91
10.1 任务 91
10.1.1 任务定义 91
10.1.2 任务调用 92
10.2 函数 93
10.2.1 函数说明部分 93
10.2.2 函数调用 94
10.3 系统任务和系统函数 95
10.3.1 显示任务 95
10.3.2 文件输入/输出任务 97
10.3.3 时间标度任务 99
10.3.4 模拟控制任务 99
10.3.5 定时校验任务 100
10.3.6 模拟时间函数 101
10.3.7 变换函数 102
10.3.8 概率分布函数 102
10.4 禁止语句 103
10.5 命名事件 104
10.6 结构描述方式和行为描述方式的
混合使用 106
10.7 层次路径名 107
10.8 共享任务和函数 108
10.9 值变转储文件 110
10.9.1 举例 111
10.9.2 VCD文件格式 112
10.10 指定程序块 113
10.11 强度 114
10.11.1 驱动强度 114
10.11.2 电荷强度 115
10.12 竞争状态 116
第11章 验证 118
11.1 编写测试验证程序 118
11.2 波形产生 118
11.2.1 值序列 118
11.2.2 重复模式 119
11.3 测试验证程序实例 123
11.3.1 解码器 123
11.3.2 触发器 124
11.4 从文本文件中读取向量 126
11.5 向文本文件中写入向量 127
11.6 其他实例 128
11.6.1 时钟分频器 128
11.6.2 阶乘设计 130
11.6.3 时序检测器 132
第12章 建模实例 136
12.1 简单元件建模 136
12.2 建模的不同方式 138
12.3 时延建模 139
12.4 条件操作建模 141
12.5 同步时序逻辑建模 142
12.6 通用移位寄存器 145
12.7 状态机建模 145
12.8 交互状态机 147
12.9 Moore有限状态机建模 150
12.10 Mealy型有限状态机建模 151
12.11 简化的21点程序 153
附录 语法参考 157
参考文献 172
Platform: |
Size: 4169233 |
Author: mayzhao |
Hits:
Description: ·VI·
目 录
前言
第1章 高性能聊天系统...................................................................................................1
1.1 系统需求...........................................................................................................1
1.2 架构设计...........................................................................................................2
1.2.1 Java事件模型.....................................................................................................2
1.2.2 架构设计图.......................................................................................................5
1.2.3 协议设计.........................................................................................................5
1.2.4 多线程...........................................................................................................6
1.2.5 线程池...........................................................................................................9
1.2.6 非堵塞I/O........................................................................................................11
1.3 Socket核心设计和实现...............................................................................................13
1.3.1 TCP和Reactor模式.................................................................................................14
1.3.2 UDP实现..........................................................................................................19
1.3.3 客户端实现.......................................................................................................22
1.4 Socket接口设计和实现..............................................................................................28
1.4.1 队列和对象类型..................................................................................................28
1.4.2 访问者模式定义..................................................................................................32
1.4.3 访问者模式实现..................................................................................................36
1.4.4 协议封装........................................................................................................39
1.4.5 重整Refactoring.................................................................................................41
1.5 应用接口设计和实现................................................................................................45
1.5.1 Connection API..................................................................................................46
1.5.2 ConnectionFactory API...........................................................................................49
1.5.3 TcpConnection API...............................................................................................53
1.5.4 UdpConnection API...............................................................................................54
1.6 应用层设计和实现..................................................................................................56
1.6.1 客户端聊天测试..................................................................................................56
1.6.2 服务器聊天测试..................................................................................................58
1.7 性能测试..........................................................................................................59
1.8 小结..............................................................................................................61
第2章 简单的用户注册系统..............................................................................................62
2.1 需求分析............................................................................................................62
2.2 系统设计............................................................................................................62
2.2.1 JSP/Servlet与J2EE.................................................................................................63
2.2.2 结构设计图........................................................................................................64
2.2.3 JSP/JavaBeans技术要点.............................................................................................65
2.2.4 JDBC和连接池......................................................................................................68
2.2.5 数据库设计........................................................................................................70
2.3 类的详细设计和实现..................................................................................................71
2.3.1 Facade模式........................................................................................................71
2.3.2 JDBC通用操作类....................................................................................................73
2.3.3 E-mail发送通用类..................................................................................................78
2.3.4 用户资料管理......................................................................................................79
2.3.5 密码数据操作类....................................................................................................83
2.3.6 登陆验证功能......................................................................................................85
2.4 界面编程实现........................................................................................................87
2.4.1 登陆验证页面......................................................................................................87
2.4.2 注册页面..........................................................................................................88
2.5 调试、发布和运行....................................................................................................90
2.5.1 单元测试..........................................................................................................91
2.5.2 快速配置开发环境..................................................................................................92
2.5.3 Tomcat配置和调试..................................................................................................93
2.5.4 Tomcat连接池使用..................................................................................................95
2.6 Hibernate使用.......................................................................................................99
2.7 小结................................................................................................................103
第3章 Jive论坛系统.....................................................................................................107
3.1 Jive功能需求.......................................................................................................107
3.2 Jive与设计模式.....................................................................................................108
3.2.1 设计模式.........................................................................................................109
3.2.2 ForumFactory与工厂模式...........................................................................................109
3.2.3 统一入口与单态模式...............................................................................................113
3.2.4 访问控制与代理模式...............................................................................................114
3.2.5 批量分页查询与迭代模式...........................................................................................115
3.2.6 过滤器与装饰模式.................................................................................................120
3.2.7 主题监测与观察者模式.............................................................................................124
3.3 Jive安全管理机制...................................................................................................128
3.3.1 安全验证机制.....................................................................................................129
3.3.2 用户资料管理.....................................................................................................132
3.4 Jive的缓存机制.....................................................................................................133
3.4.1 缓存原理和实现...................................................................................................133
3.4.2 缓存使用.........................................................................................................136
3.4.3 小结.............................................................................................................139
3.5 Jive的其他组件技术.................................................................................................140
3.5.1 Jive的树形结构...................................................................................................140
3.5.2 XML和JDOM........................................................................................................143
3.5.3 全文检索和Lucene.................................................................................................147
3.5.4 Jive的中文问题...................................................................................................152
3.6 Jive图形处理.......................................................................................................154
3.6.1 图片上传处理.....................................................................................................154
3.6.2 服务器端图形处理.................................................................................................157
3.7 Jive安装调试运行...................................................................................................159
3.8 小结...............................................................................................................160
第4章 网站内容管理系统.................................................................................................161
4.1 需求分析...........................................................................................................161
4.2 架构设计...........................................................................................................162
4.2.1 系统架构图.......................................................................................................163
4.2.2 MVC模式和Struts..................................................................................................164
4.2.3 DBO模式和Castor..................................................................................................167
4.2.4 Cache设计........................................................................................................172
4.3 详细设计和实现.....................................................................................................173
4.3.1 基本对象设计.....................................................................................................173
4.3.2 数据模型的实现...................................................................................................174
4.3.3 抽象工厂(Abstract Factory)模式...................................................................................175
4.3.4 生成器(Builder)模式..............................................................................................180
4.4 表现层的实现.......................................................................................................187
4.4.1 Strut相关设置....................................................................................................187
4.4.2 创建PageForm.....................................................................................................189
4.4.3 创建PageAction...................................................................................................192
4.4.4 创建page.jsp页面.................................................................................................194
4.4.5 自定义标签库.....................................................................................................196
4.4.6 创建SavePageAction...............................................................................................199
4.4.7 Tile模板.........................................................................................................201
4.4.8 创建cmsMenu.jsp..................................................................................................203
4.4.9 创建index.jsp....................................................................................................203
4.4.10 小技巧..........................................................................................................204
4.5 项目重整Refactoring................................................................................................205
4.6 调试、发布和运行...................................................................................................206
4.6.1 配置和运行.......................................................................................................206
4.6.2 Log调试信息的配置................................................................................................206
4.7 小结...............................................................................................................207
第5章 订阅信息系统.....................................................................................................209
5.1 需求分析...........................................................................................................209
5.2 架构设计...........................................................................................................209
5.2.1 Cache和Pool......................................................................................................210
5.2.2 EJB框架体系......................................................................................................211
5.2.3 架构图...........................................................................................................213
5.2.4 接口框架设计.....................................................................................................213
5.3 EJB详细设计和实现..................................................................................................214
5.3.1 业务对象建模.....................................................................................................215
5.3.2 开发环境配置.....................................................................................................216
5.3.3 CMP图形开发......................................................................................................217
5.3.4 实体Bean.........................................................................................................221
5.3.5 Facade Session Bean..............................................................................................229
5.3.6 Transfer Object模式..............................................................................................232
5.4 Web与EJB接口框架...................................................................................................233
5.4.1 框架的设计.......................................................................................................233
5.4.2 框架的实现.......................................................................................................235
5.4.3 框架的使用.......................................................................................................243
5.5 表现层的设计和实现.................................................................................................247
5.5.1 创建ActionForm...................................................................................................247
5.5.2 创建Action 类....................................................................................................248
5.5.3 创建JSP页面......................................................................................................248
5.6 调试配置和运行.....................................................................................................249
5.6.1 JBoss和MySQL的配置...............................................................................................250
5.6.2 JNDI配置.........................................................................................................251
5.6.3 部署和发布.......................................................................................................253
5.6.4 调试和测试.......................................................................................................254
5.7 小结...............................................................................................................254
第6章 用户安全管理系统.................................................................................................256
6.1 需求分析...........................................................................................................256
6.2 架构设计...........................................................................................................256
6.2.1 角色.............................................................................................................257
6.2.2 J2EE的JAAS.......................................................................................................257
6.2.3 单点登录.........................................................................................................259
6.2.4 邮件发送组件.....................................................................................................261
6.3 详细设计和实现.....................................................................................................261
6.3.1 业务对象建模.....................................................................................................261
6.3.2 数据库设计.......................................................................................................263
6.3.3 实体bean实现.....................................................................................................263
6.3.4 Session Bean实现.................................................................................................266
6.3.5 EJB容器安全配置..................................................................................................273
6.4 JMS 邮件发送组件...................................................................................................275
6.4.1 消息发送器.......................................................................................................276
6.4.2 MDB..............................................................................................................279
6.5 Web层的实现........................................................................................................282
6.5.1 用户资料管理.....................................................................................................282
6.5.2 Web容器安全配置..................................................................................................287
6.6 调试配置和运行.....................................................................................................289
6.6.1 JAAS配置.........................................................................................................290
6.6.2 邮件服务的配置...................................................................................................291
6.6.3 部署和发布.......................................................................................................292
6.7 小结...............................................................................................................292
第7章 EJB方法调用框架..................................................................................................294
7.1 框架概况...........................................................................................................294
7.1.1 远程调用技术背景.................................................................................................294
7.1.2 框架结构.........................................................................................................295
7.2 框架设计..........................................................................................................296
7.2.1 代理(Proxy)模式...............................................................................................296
7.2.2 动态代理........................................................................................................298
7.2.3 反射(Reflection)和方法调用....................................................................................300
7.2.4 HTTP协议和对象序列化............................................................................................302
7.2.5 框架设计图......................................................................................................304
7.2.6 HTTPSession和缓存机制...........................................................................................305
7.2.7 基于HTTP的安全机制..............................................................................................306
7.3 类的详细设计和实现................................................................................................309
7.3.1 基本业务对象....................................................................................................310
7.3.2 动态代理工厂....................................................................................................312
7.3.3 肥客户端/服务器架构下实现.......................................................................................315
7.3.4 Web层代理Servlet Proxy..........................................................................................322
7.3.5 浏览器/服务器架构下实现.........................................................................................324
7.3.6 核心代理Business Proxy实现......................................................................................327
7.4 框架的使用和调试..................................................................................................333
7.4.1 配置............................................................................................................333
7.4.2 浏览器/服务器架构下的应用.......................................................................................335
7.4.3 肥客户端/服务器架构下的应用.....................................................................................336
7.5 小结..............................................................................................................337
第8章 网上商店系统...................................................................................................338
8.1 系统需求和设计...................................................................................................338
8.1.1 基本业务对象...................................................................................................339
8.1.2 数据表设计.....................................................................................................340
8.2 数据操作通用框架.................................................................................................344
8.2.1 框架的提炼和设计...............................................................................................347
8.2.2 增、删、改、查框架实现.........................................................................................352
8.3 商品类别管理功能的实现...........................................................................................356
8.3.1 创建Session Bean................................................................................................357
8.3.2 EJB配置.........................................................................................................358
8.3.3 创建Category相关类实现..........................................................................................360
8.3.4 Web配置.........................................................................................................361
8.3.5 创建Category.jsp................................................................................................362
8.4 商品管理功能的实现................................................................................................364
8.4.1 创建ProductManager..............................................................................................364
8.4.2 EJB配置.........................................................................................................366
8.4.3 创建Product相关类实现...........................................................................................368
8.4.4 Web配置.........................................................................................................369
8.4.5 创建product.jsp.................................................................................................370
8.4.6 商品图片上传功能................................................................................................374
8.5 商品批量查询和多页显示............................................................................................376
8.5.1 DAO模式.........................................................................................................377
8.5.2 Strut框架下设计和实现...........................................................................................385
8.5.3 页导航条实现....................................................................................................388
8.6 购物车功能的实现..................................................................................................393
8.6.1 有状态Session Bean..............................................................................................393
8.6.2 Web功能实现.....................................................................................................396
8.7 小结..............................................................................................................399
Platform: |
Size: 31514707 |
Author: fengbozs@163.com |
Hits:
Description: 目 录 第 1 章 Delphi 集成开发环境 ..................... 1 2.2.4 指针类型................................... 30 2.2.5 过程与函数类型....................... 31 1.1 Delphi 主窗口 ........................................ 2 1.1.1 标题栏 ........................................ 2 1.1.2 菜单栏 ........................................ 2 1.1.3 工具栏 ........................................ 3 1.1.4 组件板 ........................................ 3 1.2 Delphi 窗体窗口..................................... 3 1.2.1 窗体窗口 .................................... 3 1.2.2 窗体文件 .................................... 4 1.3 代码编辑窗口 ........................................ 4 1.4 对象查看器窗口 .................................... 4 1.4.1 对象查看器窗口的组成............. 5 1.4.2 设置属性 .................................... 5 1.4.3 添加事件 .................................... 6 1.5 项目管理器 ............................................ 6 1.5.1 项目组成 .................................... 7 1.5.2 项目管理器 ................................ 9 1.5.3 项目管理 .................................. 10 1.5.4 项目编译和运行....................... 12 1.6 Delphi 程序设计过程........................... 14 1.7 实验 ...................................................... 17 习题 ............................................................... 19 2.2.6 可变类型................................... 31 2.3 常量和变量的定义............................... 32 2.3.1 常量........................................... 32 2.3.2 变量........................................... 32 2.4 运算符和表达式................................... 33 2.4.1 算术运算符............................... 34 2.4.2 逻辑运算符............................... 34 2.4.3 关系运算符............................... 34 2.4.4 位运算符................................... 35 2.4.5 指针运算符............................... 35 2.4.6 集合运算符............................... 35 2.5 语句 ...................................................... 36 2.5.1 简单语句................................... 36 2.5.2 条件语句................................... 36 2.5.3 循环语句................................... 38 2.6 过程与函数........................................... 40 2.6.1 过程和函数的声明................... 40 2.6.2 过程和函数的参数................... 40 2.6.3 过程和函数的调用................... 42 2.7 实验 ...................................................... 43 2.7.1 编写对象 Pascal 应用程序....... 43 第 2 章 Delphi 的编程语言........................ 21 2.7.2 函数和过程的编写和调用 ....... 44 2.1 保留字和标识符 .................................. 21 习题 ............................................................... 46 2.1.1 保留字和标准指令符............... 21 第 3 章 Delphi 窗体与组件........................ 47 2.1.2 标识符 ...................................... 22 2.1.3 注释 .......................................... 22 2.1.4 控制台程序中的屏幕输入 3.1 Delphi 窗体........................................... 47 3.1.1 窗体与窗口............................... 47 和输出 ...................................... 22 3.1.2 窗体属性................................... 47 3.1.3 窗体事件................................... 48 2.2 Object Pascal 的数据类型.................... 23 2.2.1 简单数据类型........................... 24 2.2.2 字符串类型 .............................. 28 2.2.3 结构类型 .................................. 29 3.2 设计窗体 .............................................. 48 3.2.1 新建窗体................................... 48 3.2.2 设置窗体属性........................... 49 3.2.3 添加组件 .................................. 49 3.2.4 编辑组件 .................................. 49 3.2.5 设置组件属性........................... 49 3.2.6 保存文件 .................................. 49 3.3 文本型组件 .......................................... 50 3.3.1 Label 组件 ................................ 50 3.3.2 Static Text 组件 ........................ 51 3.3.3 Tab 组件 ................................... 52 3.4 按钮型组件 .......................................... 52 3.4.1 Button 组件............................... 52 3.4.2 BitBtn 组件............................... 53 3.4.3 RadioButton 组件 ..................... 54 3.4.4 CheckBox 组件......................... 54 3.5 编辑型组件 .......................................... 54 3.5.1 Edit 组件................................... 54 3.5.2 MaskEdit 组件.......................... 56 3.5.3 Memo 组件 ............................... 57 3.5.4 RichEdit 组件 ........................... 58 3.6 列表框型组件 ...................................... 60 3.6.1 ListBox 组件............................. 60 3.6.2 CheckBox 组件......................... 62 3.6.3 ComboBox 组件 ....................... 62 3.7 滑块型组件 .......................................... 63 3.7.1 Scrollbar 组件........................... 63 3.7.2 TrackBar 组件 .......................... 64 3.8 容器型组件 .......................................... 64 3.8.1 GroupBox 组件......................... 64 3.8.2 Panel 组件................................. 65 3.8.3 ScrollBox 组件 ......................... 66 3.9 MDI 程序 ............................................. 66 3.9.1 MDI 窗体及其属性.................. 66 3.9.2 利用模板创建 MDI 应用 程序 .......................................... 67 3.10 实验 .................................................... 68 3.10.1 设计由按钮类组件实现 的功能窗体............................. 68 3.10.2 设计由列表类组件实现的 功能窗体 ................................ 70 3.10.3 按需求将各种组件灵活组合, 实现功能窗体......................... 73 习题 ............................................................... 74 第 4 章 菜单设计............................................ 76 4.1 菜单设计简介....................................... 76 4.1.1 菜单结构................................... 76 4.1.2 菜单命令项的作用................... 76 4.1.3 菜单设计器............................... 77 4.2 主菜单设计........................................... 77 4.2.1 打开主菜单设计器................... 78 4.2.2 添加菜单命令项....................... 78 4.2.3 菜单命令项分组....................... 79 4.2.4 菜单命令项热键....................... 79 4.2.5 调整菜单命令项....................... 79 4.2.6 创建级联菜单........................... 80 4.3 菜单命令响应....................................... 80 4.4 运行时设置菜单................................... 82 4.4.1 菜单命令灰显........................... 83 4.4.2 隐藏菜单命令........................... 83 4.4.3 改变菜单命令文本................... 84 4.4.4 菜单命令单选标记................... 84 4.4.5 菜单命令复选标记................... 84 4.5 创建动态菜单....................................... 85 4.6 图形菜单 .............................................. 88 4.7 快捷菜单设计....................................... 89 4.7.1 快捷菜单的设计....................... 89 4.7.2 快捷菜单的响应....................... 90 4.8 实验 ...................................................... 91 习题 ............................................................... 93 第 5 章 对话框、工具栏和状态栏设计 .... 95 5.1 对话框设计........................................... 95 5.1.1 文件对话框组件....................... 95 5.1.2 字体对话框组件....................... 97 5.1.3 颜色对话框组件....................... 98 5.1.4 打印、打印设置和页面设置 对话框组件............................... 98 5.1.5 查找和替换对话框组件........... 99 5.1.6 消息框和输入框..................... 100 5.1.7 对话框综合应用实例..............102 7.3.1 异常响应与 try…except 5.2 工具栏设计 .........................................107 语句......................................... 155 5.2.1 用面板构成工具栏..................107 7.3.2 异常保护与 try…finally 5.2.2 使用工具栏组件......................112 语句......................................... 157 5.2.3 使用 TCoolBar 组件................113 7.3.3 异常的重引发和处理嵌套 ..... 159 5.2.4 使用 TControlBar 组件 ...........115 7.3.4 定义自己的异常..................... 159 5.3 状态栏设计 .........................................115 7.3.5 利用异常响应编程................. 163 5.4 实验 .....................................................118 7.4 Delphi 调试器..................................... 165 习题 ..............................................................121 7.4.1 准备调试................................. 165 第 6 章 Delphi 多媒体应用.......................123 7.4.2 设置调试器的选项................. 165 7.5 控制程序的运行................................. 166 6.1 绘图组件 .............................................123 7.5.1 单步执行................................. 166 6.1.1 TShape 组件 ............................123 7.5.2 跟踪执行................................. 167 6.1.2 画布对象 .................................124 7.5.3 跳过一段代码......................... 168 6.1.3 TPaintBox 组件 .......................124 7.5.4 全速执行剩余的代码............. 168 6.1.4 TImage 组件 ............................124 7.5.5 返回到执行点......................... 168 6.2 图形列表组件 .....................................130 7.5.6 暂停运行................................. 168 6.2.1 TTreeView 组件 ......................130 7.5.7 重新开始运行......................... 168 6.2.2 TListView 组件 .......................131 7.5.8 命令行参数............................. 169 6.3 图形栅格组件 .....................................132 7.6 断点 .................................................... 169 6.3.1 TStringGrid 组件 .....................133 7.6.1 源代码断点............................. 169 6.3.2 TDrawGrid 组件......................134 7.6.2 机器指令断点......................... 170 6.3.3 TColorGrid 组件......................136 7.6.3 数据断点................................. 171 6.4 图形日历组件 .....................................136 7.6.4 模块断点................................. 171 6.4.1 TDateTimePicker 组件 ............137 7.6.5 指定遇到断点时的行为......... 171 6.4.2 TCalendar 组件........................137 7.6.6 断点列表窗口......................... 172 6.5 多媒体组件 .........................................137 7.6.7 删除断点................................. 173 6.5.1 TMediaPlayer 组件..................137 7.6.8 设置断点的属性..................... 173 6.5.2 多媒体播放器..........................138 7.6.9 禁止和允许断点..................... 173 6.5.3 Flash 播放器............................141 7.7 监视表达式的值................................. 174 6.6 实验 .....................................................144 7.7.1 观察窗口................................. 174 习题 ..............................................................148 7.7.2 计算和修改表达式的值......... 175 第 7 章 Delphi 异常处理与调试..............150 7.1 Delphi 异常处理..................................150 7.1.1 异常处理的意义......................150 7.1.2 错误类型 .................................151 7.2 Delphi 异常类 .....................................153 7.3 Delphi 异常处理机制..........................155 7.7.3 计算提示................................. 176 7.7.4 Inspector 窗口......................... 176 7.7.5 查看局部变量的值................. 177 7.8 实验 .................................................... 177 7.8.1 Delphi 异常处理机制 ............. 177 7.8.2 Delphi 调试............................. 178 习题 ............................................................. 180 第 8 章 数据库编程......................................183 8.1 数据库系统概述 .................................183 8.1.1 数据库管理系统......................183 8.1.2 关系数据库 .............................184 8.1.3 数据库应用程序......................184 8.1.4 Delphi 数据库的体系结构......184 8.2 BDE 组件 ............................................188 8.2.1 TTable 组件介绍 .....................189 8.2.2 TQuery 组件介绍 ....................199 8.3 ADO 组件............................................206 8.3.1 TADOConnection 组件 ...........208 8.3.2 TADOCommand 组件.............210 8.3.3 TADODataSet 组件.................212 8.3.4 TADOTable 组件 ....................213 8.4 数据控制组件简介 .............................214 8.4.1 TDBGrid 组件介绍 .................215 8.4.2 TDBNavigator 组件介绍.........217 8.4.3 TDBText 组件介绍 .................219 8.4.4 TDBEdit 组件介绍..................219 9.1.1 QuickReport 概述 .................. 244 9.1.2 TQuickRep 组件 .................... 245 9.1.3 TQRSubDetail 组件................ 247 9.1.4 TQRBand 组件 ....................... 248 9.1.5 TQRChildBand 组件............... 249 9.1.6 TQRGroup 组件...................... 250 9.1.7 TQRLabel 组件....................... 250 9.1.8 TQRDBText 组件................... 250 9.1.9 TQRExpr 组件........................ 250 9.1.10 TQRsysData 组件 ................. 251 9.1.11 TQRMemo 组件 ................... 252 9.1.12 TQRRichText 组件............... 252 9.1.13 TQRDBRichText 组件.......... 252 9.1.14 TQRShape 组件 .................... 252 9.1.15 TQRImage 组件.................... 252 9.1.16 TQRDBImage 组件 .............. 252 9.1.17 TQRComposite 组件............. 252 9.1.18 TQRPreview 组件................. 253 9.2 QuickReport 报表实例 ....................... 253 8.4.5 TDBMemo 组件介绍 ..............220 9.2.1 打印单数据库报表................. 253 8.4.6 TDBImage 组件介绍...............221 9.2.2 打印标签、信封..................... 256 8.4.7 TDBListBox 组件介绍............221 9.2.3 打印主/明细表........................ 258 8.4.8 TDBComboBox 组件介绍 ......221 9.2.4 打印分组与统计报表............. 260 8.4.9 TDBCheckBox 组件介绍........222 9.3 Rave 报表设计器的组件.................... 262 8.4.10 TDBRadioGroup 组件介绍 ...222 9.3.1 Rave 5 的报表设计界面......... 262 8.4.11 TDBLookupListBox 组件 介绍 .......................................223 8.4.12 TDBLookupComboBox 组件 介绍 .......................................223 9.3.2 Drawing(绘图)组件页 ............ 263 9.3.3 Bar Code(条形码)组件页 ....... 263 9.3.4 Standard(标准)组件页 ............ 263 9.3.5 Report(报表)组件页 ............... 263 8.4.13 TDBCtrlGrid 组件介绍 .........223 9.3.6 其他组件页............................. 264 8.4.14 TDBRichEdit 组件介绍.........224 8.4.15 TDBChart 组件介绍..............224 8.5 实验 .....................................................231 8.5.1 设计数据表结构......................231 8.5.2 设计数据表编辑窗体..............232 8.5.3 设计数据表查询窗体..............238 习题 ..............................................................242 9.4 Delphi 中的 Rave 组件....................... 265 9.4.1 RvProject 组件........................ 265 9.4.2 RvSystem 组件 ....................... 266 9.4.3 其他组件................................. 267 9.5 Rave 报表例程 ................................... 267 9.5.1 设计 Rave 报表....................... 267 9.5.2 调用 Rave 报表....................... 271 第 9 章 报表与图表......................................244 9.6 图表 .................................................... 271 9.1 QuickReport 组件................................244 9.6.1 DBChart 组件 ......................... 271 9.6.2 设计图表 .................................273 11.1.2 现有的组件........................... 309 9.7 实验 .....................................................274 11.1.3 组件模板............................... 310 习题 ..............................................................279 11.1.4 选择祖先类的建议............... 311 第 10 章 面向对象程序设计......................281 11.2 建立组件框架................................... 312 11.3 加入属性........................................... 314 10.1 面向对象程序设计概念....................281 11.3.1 加入简单型的属性............... 314 10.1.1 结构化程序设计方法............281 11.3.2 加入枚举型的属性............... 314 10.1.2 面向对象的设计方法............282 11.3.3 加入集合型的属性............... 315 10.2 类 .......................................................284 11.3.4 加入对象型的属性............... 315 10.2.1 类的定义 ...............................284 11.3.5 加入数组型的属性............... 316 10.2.2 保护方式 ...............................285 11.3.6 公开继承的属性................... 316 10.2.3 类的实例化............................286 11.3.7 给出属性的默认值............... 317 10.2.4 类操作符 ...............................286 11.4 加入方法........................................... 317 10.3 方法 ...................................................287 11.4.1 方法的可见性....................... 317 10.3.1 一般方法 ...............................287 11.4.2 避免内部相关性................... 318 10.3.2 构造方法 ...............................289 11.4.3 给方法命名........................... 318 10.3.3 析构方法 ...............................290 11.4.4 加入静态方法....................... 318 10.3.4 类方法 ...................................290 11.4.5 加入虚拟方法....................... 319 10.3.5 隐含参数 Self ........................291 11.4.6 加入动态方法....................... 319 10.4 继承和多态 .......................................292 11.4.7 加入消息处理方法............... 320 10.4.1 继承 .......................................292 11.5 加入事件........................................... 320 10.4.2 覆盖 .......................................293 11.6 安装组件........................................... 323 10.4.3 抽象类 ...................................294 11.7 实验 .................................................. 324 10.4.4 多态 .......................................295 习题 ............................................................. 327 10.4.5 共同祖先 TObject..................296 10.5 属性 ...................................................297 第 12 章 动态链接库(DLLs)编程............ 329 10.5.1 属性定义 ...............................297 12.1 动态链接库概述............................... 329 10.5.2 属性的访问方法....................298 12.1.1 Windows 系统的动态 10.6 消息 ...................................................299 链接库................................... 329 10.6.1 消息机制 ...............................299 12.1.2 为什么使用 DLL .................. 330 10.6.2 发送消息 ...............................300 12.1.3 DLL 与 EXE 文件之间 10.6.3 处理消息 ...............................301 的区别................................... 331 10.6.4 用户自定义消息....................303 12.1.4 DLL 编写规则 ...................... 331 10.7 实验 ...................................................305 12.2 在 Delphi 中编写 DLLs.................... 331 习题 ..............................................................307 12.2.1 编写一般 DLLs 的步骤........ 332 第 11 章 Delphi 自定义组件的开发.......308 12.2.2 动态链接库中的标准指示 ... 334 12.2.3 库初始化代码的编写........... 335 11.1 选择祖先类 .......................................308 12.2.4 从 DLL 中输出字符串 ......... 337 11.1.1 公共祖先类............................308 12.3 在 Delphi 中 DLLs 的调用............... 340 12.3.1 调用 DLL 方式......................340 12.3.2 静态调用 ...............................340 12.3.3 动态调用 ...............................342 12.4 利用 DLLs 实现窗体重用 ................345 12.4.1 利用 DLLs 实现窗体重用 的一般步骤............................346 12.4.2 使用 DLL 模态窗体..............346 12.4.3 DLL 中的非模态窗体...........346 12.5 DLL 与 Delphi 组件包......................351 12.6 实验 ...................................................352 习题 ..............................................................356 第 13章 多线程.............................................358 13.1 多线程概述 .......................................358 13.1.1 什么是多线程........................358 13.1.2 使用多线程的优缺点............358 13.1.3 编写多线程应用程序步骤....359 13.2 多线程编程 .......................................359 13.2.1 创建线程对象........................359 13.2.2 线程的同步............................361 13.2.3 设置线程的优先级................362 13.2.4 挂起和唤醒............................363 13.2.5 缓存线程对象........................363 13.2.6 线程终止 ...............................365 13.2.7 一个多线程排序程序............370 13.3 实验 ...................................................375 习题 ............................................................. 379 第 14 章 文件操作 ....................................... 381 14.1 文件操作命令................................... 381 14.1.1 文件的类型........................... 381 14.1.2 文件的定义........................... 381 14.1.3 文件管理命令....................... 382 14.1.4 文本文件命令....................... 382 14.1.5 输入输出命令....................... 383 14.2 文本文件........................................... 383 14.2.1 打开文本文件....................... 383 14.2.2 关闭文本文件....................... 384 14.2.3 写入文本文件....................... 384 14.2.4 读取文本文件....................... 385 14.3 非文本文件....................................... 386 14.3.1 类型文件............................... 386 14.3.2 无类型文件........................... 389 14.4 文件系统........................................... 390 14.4.1 文件系统组件....................... 390 14.4.2 文件控制单元....................... 393 14.5 实验 .................................................. 396 14.5.1 文件名操作........................... 396 14.5.2 文件读写操作....................... 399 习题 ............................................................. 401 参考文献................................................... 403
Platform: |
Size: 3534536 |
Author: chaoyan_ma@126.com |
Hits:
Description: LCD\HZ系列\13264testlcdC-LCD \ 9999 Series \ 13264testlcdC
Platform: |
Size: 39936 |
Author: zsc |
Hits:
Description: 液晶显示驱动IC,st7565驱动程式!
Platform: |
Size: 1024 |
Author: |
Hits:
Description: edb430和液晶显示屏(st7565)并口连接实例-edb430 and liquid crystal display (st7565) parallel port connection examples
Platform: |
Size: 211968 |
Author: |
Hits:
Description: 在WinAVR下的ST7565圖形點陣的驅動程序,可以顯示5*7 & 8*16的ASCII和自定義的漢字,並且有3*4矩陣按鍵的掃描解碼程序。-In WinAVR under ST7565 dot-matrix graphics driver, you can show the 5* 7
Platform: |
Size: 270336 |
Author: Frenkie Wang |
Hits:
Description: NT7534驱动IC,132X64液晶屏的S3C44B0驱动演示程序-NT7534 driver IC, 132X64 LCD driver demo program S3C44B0
Platform: |
Size: 248832 |
Author: xuan |
Hits:
Description: 132*64点阵式液晶初始化程序,适用于单片机开发-132* 64 dot matrix LCD initialization procedure, applies to single-chip development
Platform: |
Size: 1024 |
Author: 丽丽 |
Hits:
Description: COG ST7565 51[SPI串行]驱动程序,使用手册-COG ST7565 51 drivers, user manual
Platform: |
Size: 937984 |
Author: 李辚 |
Hits:
Description: 13264_LCD_ST7565P.rar
ST7565P 132*64 LCD 驱动代码(AVR MCU驱动)原创
Platform: |
Size: 48128 |
Author: wangguanfu |
Hits:
Description: 132*64点阵的LCD显示,串行显示接口,-132* 64 dot matrix LCD display of the serial display interface,
Platform: |
Size: 2048 |
Author: shenzhipu |
Hits:
Description: 用C语言基于ARM的13264液晶屏程序,很好的程序-With C-ARM-13264 LCD-based program, good program
Platform: |
Size: 136192 |
Author: 陈科 |
Hits:
Description: 132*64液晶驱动,这款驱动是用stm32环境下编写的,试用与132*64的液晶驱动。-132* 32 LCD Driver
Platform: |
Size: 5120 |
Author: wcy |
Hits:
Description: 第1讲 面向对象的C++语言 6
第2讲 建立数据库应用程序 25
第3讲 数据库应用的体系结构 47
第4讲 数据访问DataAccess 64
第5讲 数据感知Data-Aware 93
第6讲 SQL和TQuery组件 116
第7讲 Quick Report报表 132
第8讲 两层Client/Server应用 144
第9讲 多层应用与MIDAS 159
第10讲 基于Web的应用程序 1-Lecture 1 of object-oriented C++ language 6 2 about the establishment of a database application 25 Part 3 database application architecture 47 Part 4 data access DataAccess 64 Part 5 data-aware Data-Aware 93 Lecture 6 SQL and TQuery group pieces of about 7 116 132 8 Quick Report reports say two Client/Server Application 144 9 about multi-tier applications with MIDAS 159 10 about 199 Web-based applications
Platform: |
Size: 192512 |
Author: |
Hits:
Description: ST7567 lcd驱动,文件里面包括了Datasheet,和驱动代码-ST7567 is a single-chip dot matrix LCD driver which incorporates LCD controller and common/segment drivers. ST7567
can be connected directly to a microprocessor with 8-bit parallel interface or 4-line serial interface (SPI-4). Display data sent
MPU is stored in the internal Display Data RAM (DDRAM) of 65x132 bits. The display data bits which are stored in
DDRAM are directly related to the pixels of LCD panel. ST7567 contains 132 segment-outputs, 64 common-outputs and 1
icon-common-output. With built-in oscillation circuit and low power consumption power circuit, ST7567 generates LCD
driving signal without external clock or power, so that it is possible to make a display system with the fewest components
and minimal power consumption.
Platform: |
Size: 623616 |
Author: 邵仁 |
Hits: