T5UID2应用开发全攻略:2019指南详解

需积分: 9 0 下载量 171 浏览量 更新于2024-07-09 收藏 13.13MB PDF 举报
本资源是一份名为"T5UID2_DGUSII_应用开发指南20190906.pdf"的应用开发手册,由北京迪文科技有限公司提供,主要针对T5UID2平台进行详细阐述。这份文档旨在帮助开发者快速理解和掌握T5UID2的应用开发流程和技术细节。 **第一章**介绍了T5UID2的入门知识,包括型号命名规则,设备接口定义和接线方式,以及屏幕供电和驱动安装。串口驱动分为两种:串口通信驱动和软件运行环境驱动,分别用于确保硬件连接和软件正常运行。软件安装部分则指导读者如何新建工程,为后续开发奠定了基础。 **第二章**深入解析了T5UID2开发体系,包括体系简介、特点和软件处理流程。强调了T5UID2的256MB FLASH存储器和RAM存储器的分配,以及描述指针空间的管理,这些都是内存管理和优化的关键。 **第三章**着重讲解了SD接口的使用,包括MicroSD(TF)卡的格式化,下载方法,以及下载文件的类型、生成和流程。此外,还涉及到了RAM存储器空间的管理,这对于数据存储和文件操作至关重要。 **第四章**深入探讨了UART2串口通讯协议,阐述了数据帧结构,并详细解释了写变量存储器、读变量存储器、触摸按键返回到串口数据等指令,以及指令启用校验的重要性,这是进行串口通信的核心技术。 **第五章**介绍了系统变量接口,这是与设备交互的重要组成部分,通过这个接口,开发者可以控制和获取设备状态信息。 **第六章**详细解读了触控变量配置,包括触控功能的概述、变量数据录入、弹出菜单、增量调节、拖动调节和按键值返回等指令的设置和格式,以及文本录入,如ASCII和GBK汉字录入的注意事项。这一章对于实现触控界面的交互设计至关重要。 这份开发指南为T5UID2平台的应用开发者提供了全面的技术支持,涵盖了硬件配置、软件接口、数据传输和用户交互等多个关键环节,旨在提升开发效率和产品质量。

insert overwrite table discountdw.dwd_sd_adds_order_bill_inc partition(dt = '2023-06-06') select t1.order_bill_id, t1.counterfoil_no, t1.acceptor, date_format(to_utc_timestamp(cast(t1.expiry_date as bigint) ,'GMT-8'),'YYYY-MM-dd'), t2.company_id, t1.cert_no, t1.company_name, t1.third_order_id, t1.counterfoil_amt/10000, t1.transaction_amt/10000, t1.rate, '3bp' as service_tariffing, ((DATEDIFF(to_utc_timestamp(t1.expiry_date ,'GMT-8'),to_utc_timestamp(t1.transaction_date ,'GMT-8') ) + adjust_days)* 0.0003 *(counterfoil_amt))/ 360 as service_fee, 360 as total_days, DATEDIFF(to_utc_timestamp(t1.expiry_date ,'GMT-8'),to_utc_timestamp(t1.transaction_date ,'GMT-8') ) + adjust_days as modulation_date, t3.channel_type, t3.bank_name, date_format(to_utc_timestamp(cast(t1.transaction_date as bigint) ,'GMT-8'),'YYYY-MM-dd'), t1.order_status_code, t1.order_status_msg, t4.fee_amt, t4.status, t1.tenant_id, t5.revenue, to_utc_timestamp(cast(t1.create_date as bigint) ,'GMT-8'), to_utc_timestamp(cast(t1.update_date as bigint) ,'GMT-8') from (select * from discountdw.ods_adds_order_bill_inc where dt ='2023-06-06' and channel_id=101110004 )t1 left join (select * from mecdw.ods_company_full where platform_id='sdpjw')t2 on t1.cert_no=t2.cert_no and t1.tenant_id=t2.tenant_id left join discountdw.dim_adds_product_full t3 on t1.partner_id=t3.partner_id and t1.product_id=t3.product_id left join (select * from mecdw.dwd_sc_fee_record_full where dt='2023-06-06' and biz_type=2 ) t4 on t1.order_bill_id=t4.third_id left join (select * from discountdw.ods_sd_order_ext_inc where dt='2023-06-06') t5 on t1.order_bill_id=t5.order_bill_id left join sdpjwdw.dim_holiday_info_full t6 on date_format(to_utc_timestamp(t1.expiry_date ,'GMT-8'),'YYYY-MM-dd') = t6.civic_holiday ;

2023-06-09 上传