当前位置:网站首页>#DAYU200体验官# 在DAYU200运行基于ArkUI-eTS的智能晾晒系统页面
#DAYU200体验官# 在DAYU200运行基于ArkUI-eTS的智能晾晒系统页面
2022-07-06 15:35:00 【51CTO】
目录
背景
ArkUI-eTS目前已经能够多种设备运行,同时也为我们提供了越来越丰富的组件和硬件开发能力。本次主要是写一个智能晾晒系统的页面来在DAYU200上面进行运行测试。
eTS入门或获取eTS官方API文档可参照本人另外帖子: ArkUI_eTS手把手入门
开发环境
DevEco Studio for OpenHarmony3.0.0.900
OpenHarmony版本:3.1_Release
开发板:DAYU200 ( 基于openHarmony3.1_Release版本 )
具体开发过程
1.新建工程


创建工程完成后,工程目录如下:
随后,需在“MainAbility”目录下创建“image”目录用于存放部分页面素材资源。
(右击“MainAbility”文件名-“New”-“Directory”-输入“image”进行创建)

创建完成后,工程目录结构如下:(同时我们知道“image”目录和“resources-base-media”均可存放部分素材资源)
2.页面结构设计
主页面结构:
副页面结构:
3.代码结构
4.完整代码
5.所用部分素材
背景素材:
6.Previewer预览效果


DAYU200运行效果



gitee地址
原始版本链接(能够运行在DAYU200上的版本可下载本贴下方资源代码)
演示视频
https://ost.51cto.com/show/14309
后续开发计划
基于此晾晒系统界面和DAYU200开发板,
(1)连接Hi3861智能家居套件获取真实环境数据;
(2)调用天气API,使DAYU200联网后能够实时获取天气预报信息,从而更好的实现晾晒功能;
(3)若DAYU200本身摄像头条件不允许,可连外接摄像头或利用Hi3516 AI Camera开发套件的功能更加智能的实时监控衣物晾晒状态。
(4)同时除了硬件功能完善,也要对软件部分兼容性和功能进行升级,不仅能够将程序运行在DAYU200开发板上,也能够在所有HarmonyOS设备上运行。
边栏推荐
- Balanced Multimodal Learning via On-the-fly Gradient Modulation(CVPR2022 oral)
- View
- POJ 1094 sorting it all out
- What are the specific steps and schedule of IELTS speaking?
- 如何实现文字动画效果
- 树的先序中序后序遍历
- 【雅思口语】安娜口语学习记录part1
- three. JS gorgeous bubble effect
- C three ways to realize socket data reception
- How do I write Flask's excellent debug log message to a file in production?
猜你喜欢

动作捕捉用于蛇运动分析及蛇形机器人开发

cuda 探索

云原生技术--- 容器知识点

European Bioinformatics Institute 2021 highlights report released: nearly 1million proteins have been predicted by alphafold

Traversal of a tree in first order, middle order, and then order

Financial professionals must read book series 6: equity investment (based on the outline and framework of the CFA exam)

Cloud native technology container knowledge points

UE4蓝图学习篇(四)--流程控制ForLoop和WhileLoop

欧洲生物信息研究所2021亮点报告发布:采用AlphaFold已预测出近1百万个蛋白质

MySQL----初识MySQL
随机推荐
Const keyword
Balanced Multimodal Learning via On-the-fly Gradient Modulation(CVPR2022 oral)
剑指offer刷题记录1
自定义 swap 函数
MySQL教程的天花板,收藏好,慢慢看
That's why you can't understand recursion
Sword finger offer question brushing record 1
const关键字
MySQL ---- first acquaintance with MySQL
three.js绚烂的气泡效果
Puppeter connects to the existing Chrome browser
MATLAB小技巧(27)灰色预测
Comparison between variable and "zero value"
Typescript get function parameter type
【无标题】
Windows auzre background operation interface of Microsoft's cloud computing products
Dealing with the crash of QT quick project in offscreen mode
MySQL约束的分类、作用及用法
What are the specific steps and schedule of IELTS speaking?
Signed and unsigned keywords