Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
A
AI1000
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ubains-control
AI1000
Commits
33b5f6d9
提交
33b5f6d9
authored
1月 08, 2021
作者:
汪显鹏
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加Ai1000 TCP Server
分离多字幕通道 可以移动自动
上级
66952c25
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
26 行增加
和
10 行删除
+26
-10
A1.ui
A1.ui
+26
-10
A1.ui.png
A1.ui.png
+0
-0
system.hzdb
system.hzdb
+0
-0
没有找到文件。
A1.ui
浏览文件 @
33b5f6d9
<?xml version="1.0" encoding="utf-8"?>
<PROJECT
Name=
"["PROJECT", true]"
ProjectCategory=
"["", true]"
ProjectControlID=
"["", true]"
ProjectDisplayName=
"["", true]"
ProjectIOName=
"["", true]"
ProjectModel=
"["", true]"
ProjectPic=
"["", true]"
ProjectSize=
"[[1
920, 1200], true]"
ProjectStyle=
"["", true]"
Startup=
"["Main
", true]"
UUID=
"["b858a0400f5a11e9a593d4258b878bb9", false]"
>
<PROJECT
Name=
"["PROJECT", true]"
ProjectCategory=
"["", true]"
ProjectControlID=
"["", true]"
ProjectDisplayName=
"["", true]"
ProjectIOName=
"["", true]"
ProjectModel=
"["", true]"
ProjectPic=
"["", true]"
ProjectSize=
"[[1
200, 800], true]"
ProjectStyle=
"["", true]"
Startup=
"["BasicUsage
", true]"
UUID=
"["b858a0400f5a11e9a593d4258b878bb9", false]"
>
<DEVICES
Name=
"["DEVICE", false]"
UUID=
"["b859ffcf0f5a11e9aa32d4258b878bb9", false]"
>
<DEVICENODE
Address=
"["192.168.1.
148
", true]"
Name=
"["EC-8000", true]"
UUID=
"["be2304700f5a11e9af68d4258b878bb9", false]"
>
<DEVICENODE
Address=
"["192.168.1.
234
", true]"
Name=
"["EC-8000", true]"
UUID=
"["be2304700f5a11e9af68d4258b878bb9", false]"
>
<DEVICEIO
IOIP=
"["", true]"
IOName=
"["", true]"
IOProtocol=
"["", true]"
IOType=
"["irreader", false]"
Name=
"["IRReader", false]"
UUID=
"["be2304710f5a11e9aec3d4258b878bb9", false]"
/>
<DEVICEIO
IOIP=
"["", true]"
IOName=
"["", true]"
IOProtocol=
"["", true]"
IOType=
"["ir", false]"
Name=
"["IR1", false]"
UUID=
"["be2304720f5a11e98362d4258b878bb9", false]"
/>
<DEVICEIO
IOIP=
"["", true]"
IOName=
"["", true]"
IOProtocol=
"["", true]"
IOType=
"["ir", false]"
Name=
"["IR2", false]"
UUID=
"["be2304730f5a11e9b13cd4258b878bb9", false]"
/>
...
...
@@ -22,7 +22,7 @@
<DEVICEIO
IOIP=
"["", true]"
IOName=
"["", true]"
IOProtocol=
"["", true]"
IOType=
"["rs232", false]"
Name=
"["COM8", false]"
UUID=
"["be232b8c0f5a11e9a817d4258b878bb9", false]"
/>
<DEVICEIO
IOIP=
"["", true]"
IOName=
"["", true]"
IOProtocol=
"["", true]"
IOType=
"["relay", false]"
Name=
"["RELAY", false]"
UUID=
"["be232b8d0f5a11e988f9d4258b878bb9", false]"
/>
<DEVICEIO
IOIP=
"["", true]"
IOName=
"["", true]"
IOProtocol=
"["", true]"
IOType=
"["ioinput", false]"
Name=
"["IO", false]"
UUID=
"["be23528f0f5a11e9a5e3d4258b878bb9", false]"
/>
<DEVICEIO
IOIP=
"["", true]"
IOName=
"["", true]"
IOProtocol=
"["", true]"
IOType=
"["network", false]"
Name=
"["NET1", false]"
UUID=
"["be2352900f5a11e9abdcd4258b878bb9", false]"
/>
<DEVICEIO
IOIP=
"["
TCP://192.168.1.236:12305
", true]"
IOName=
"["", true]"
IOProtocol=
"["", true]"
IOType=
"["network", false]"
Name=
"["NET1", false]"
UUID=
"["be2352900f5a11e9abdcd4258b878bb9", false]"
/>
<DEVICEIO
IOIP=
"["", true]"
IOName=
"["", true]"
IOProtocol=
"["", true]"
IOType=
"["network", false]"
Name=
"["NET2", false]"
UUID=
"["be2352910f5a11e9bc34d4258b878bb9", false]"
/>
<DEVICEIO
IOIP=
"["", true]"
IOName=
"["", true]"
IOProtocol=
"["", true]"
IOType=
"["network", false]"
Name=
"["NET3", false]"
UUID=
"["be2352920f5a11e99cf0d4258b878bb9", false]"
/>
<DEVICEIO
IOIP=
"["", true]"
IOName=
"["", true]"
IOProtocol=
"["", true]"
IOType=
"["network", false]"
Name=
"["NET4", false]"
UUID=
"["be2352930f5a11e98559d4258b878bb9", false]"
/>
...
...
@@ -55,15 +55,15 @@
</DEVICENODE>
</DEVICES>
<GUI
Name=
"["GUI", false]"
UUID=
"["b859ffd00f5a11e983edd4258b878bb9", false]"
>
<GUIGROUPNODE
BackgroundSize=
"[[1920, 1200], true]"
Name=
"["NewGroup", true]"
UUID=
"["770eac1e0f6311e9abe8d4258b878bb9", false]"
>
<GUINODE
BackGroundImage=
"["images\\ImageBackGround.jpg", true]"
Name=
"["Main", true]"
Size=
"[[1920, 1200], true]"
UUID=
"["780800400f6311e981cdd4258b878bb9", false]"
Z_Depth=
"[0, true]"
>
<GUIGROUPNODE
BackgroundSize=
"[[1200, 800], true]"
Name=
"["NewGroup", true]"
UUID=
"["770eac1e0f6311e9abe8d4258b878bb9", false]"
>
<GUINODE
BackGroundImage=
"["images\\ImageBackGround.jpg", true]"
Name=
"["BasicUsage", true]"
Size=
"[[1200, 800], true]"
UUID=
"["780800400f6311e981cdd4258b878bb9", false]"
Z_Depth=
"[0, true]"
>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[1, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\simhei.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["setPageShow('AdvancedUsage');", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[1018, 27], true]"
Size=
"[[169, 87], true]"
Text=
"["\u9ad8\u7ea7\u7528\u6cd5", true]"
UUID=
"["a28f3c4150b911eb91531c1b0d7c67d5", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["startSubTitle(1,\"192.168.1.165:1883\");", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[839.951111111111, 402.54999999999995], true]"
Size=
"[[169, 87], true]"
Text=
"["\u8baf\u98de\u8bed\u97f32", true]"
UUID=
"["badabf72c69b11eabdbc1c1b0d7c67d5", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["setSubtitleModel(\"center\",\"multiLine\");", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[839.951111111111, 305.54999999999995], true]"
Size=
"[[169, 87], true]"
Text=
"["\u8bbe\u7f6e\u5b57\u5e55\u6a21\u5f0fcenter", true]"
UUID=
"["73f05e51c69911ea90eb1c1b0d7c67d5", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["setSubtitleModel(\"top\",\"singleLine\");", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[841.951111111111, 212.54999999999995], true]"
Size=
"[[169, 87], true]"
Text=
"["\u8bbe\u7f6e\u5b57\u5e55\u6a21\u5f0fTop", true]"
UUID=
"["ad507432c69111eab29b1c1b0d7c67d5", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["setSubtitle();", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[840.951111111111, 117.54999999999995], true]"
Size=
"[[169, 87], true]"
Text=
"["\u8bbe\u7f6e\u80cc\u666f\u989c\u8272", true]"
UUID=
"["f6d16c42c67311ea9f2a1c1b0d7c67d5", false]"
/>
<IMAGE
ImagePic=
"["images\\ImageStates.png", true]"
MediaUrl=
"["", true]"
Movable=
"[0, true]"
Name=
"["ChangeImage", true]"
Pos=
"[[1009, 455], true]"
Size=
"[[151, 146], true]"
UUID=
"["7166cc21f8a711e9a2fa001a7dda7111", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[255, 0, 128], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["ChangName", true]"
OnClick=
"["setImage(\"ChangeName\",\"ImageBackGround.jpg\");", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[846.6, 592.45], true]"
Size=
"[[169, 87], true]"
Text=
"["\u6587\u5b57", true]"
UUID=
"["546861cff8a511e9ade5001a7dda7111", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[255, 0, 128], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["hideCommand();", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[84
2.6, 506
.45000000000005], true]"
Size=
"[[169, 87], true]"
Text=
"["\u9690\u85cf\u63a7\u5236\u6587\u5b57", true]"
UUID=
"["afdf398ff22311e9bc75001a7dda7111", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[255, 0, 128], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["hideCommand();", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[84
4.6, 503
.45000000000005], true]"
Size=
"[[169, 87], true]"
Text=
"["\u9690\u85cf\u63a7\u5236\u6587\u5b57", true]"
UUID=
"["afdf398ff22311e9bc75001a7dda7111", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[255, 0, 128], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["showCommand();", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[672.6, 233.45000000000005], true]"
Size=
"[[169, 87], true]"
Text=
"["\u663e\u793a\u63a7\u5236\u6587\u5b57", true]"
UUID=
"["4e7490b2f22311e9a950001a7dda7111", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["setTranslate(\"en\");", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[503.951111111111, 560.8], true]"
Size=
"[[169, 87], true]"
Text=
"["\u8bbe\u7f6e\u8bed\u8a00(\u82f1)", true]"
UUID=
"["7ac9863196e711e9814a001a7dda7111", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["setTranslate(\"zh\");", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[672.6, 560.8], true]"
Size=
"[[169, 87], true]"
Text=
"["\u8bbe\u7f6e\u8bed\u8a00(\u4e2d)", true]"
UUID=
"["026e05af966c11e9b5b7001a7dda7111", false]"
/>
...
...
@@ -77,7 +77,7 @@
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["sendTtyRelayOpen();", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[851.6, 679.8], true]"
Size=
"[[169, 87], true]"
Text=
"["\u7ee7\u7535\u56681\u5f00", true]"
UUID=
"["3bf95563464311e984ca001a7dda7111", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["sendTtyS3CameraUp();", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[167.60000000000002, 679.8], true]"
Size=
"[[169, 87], true]"
Text=
"["\u6444\u50cf\u5934\u4e0a", true]"
UUID=
"["68655ccf464211e9a254001a7dda7111", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["sendTtyS3CameraDown();", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[3.5999999999999943, 679.8], true]"
Size=
"[[169, 87], true]"
Text=
"["\u6444\u50cf\u5934\u4e0b", true]"
UUID=
"["66961b0f464211e9962e001a7dda7111", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["startSubTitle(1,\"192.168.1.1
62
:8883\");", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[672.6, 128.54999999999995], true]"
Size=
"[[169, 87], true]"
Text=
"["\u8baf\u98de\u8bed\u97f3", true]"
UUID=
"["f47b2290364311e98d84001a7dda7111", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["startSubTitle(1,\"192.168.1.1
46
:8883\");", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[672.6, 128.54999999999995], true]"
Size=
"[[169, 87], true]"
Text=
"["\u8baf\u98de\u8bed\u97f3", true]"
UUID=
"["f47b2290364311e98d84001a7dda7111", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["startSubTitle(0,\"10.0.0.2:12301\");", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[503.951111111111, 128.54999999999995], true]"
Size=
"[[169, 87], true]"
Text=
"["\u767e\u5ea6\u8bed\u97f3", true]"
UUID=
"["e1a69411364311e99a86001a7dda7111", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["shutDown();", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[337.6, 437.79999999999995], true]"
Size=
"[[169, 87], true]"
Text=
"["\u5173\u673a", true]"
UUID=
"["a32ba64135cf11e983fb001a7dda7111", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["doVideo();", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[2.5999999999999943, 437.79999999999995], true]"
Size=
"[[169, 87], true]"
Text=
"["\u5f00\u59cbHDMI", true]"
UUID=
"["a54b5aa30fbf11e99171f8cab80fe439", false]"
/>
...
...
@@ -93,7 +93,7 @@
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["doAudio();", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[672.6, 332.54999999999995], true]"
Size=
"[[169, 87], true]"
Text=
"["\u8bed\u97f3\u64ad\u653e", true]"
UUID=
"["87f5969f0fbf11e9b63ef8cab80fe439", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["showAide();", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[503.951111111111, 31.450000000000045], true]"
Size=
"[[169, 87], true]"
Text=
"["\u5f39\u51fa\u8bed\u97f3\u52a9\u624b", true]"
UUID=
"["85b914220fbf11e9b8aff8cab80fe439", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["showTranslate();", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[167.60000000000002, 332.54999999999995], true]"
Size=
"[[169, 87], true]"
Text=
"["\u663e\u793a\u7ffb\u8bd1", true]"
UUID=
"["83bfb5220fbf11e9a8b6f8cab80fe439", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["setWordsColor();", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[337.6, 332.54999999999995], true]"
Size=
"[[169, 87], true]"
Text=
"["\u8bbe\u7f6e\u5b57\u4f53\u989c\u8272", true]"
UUID=
"["81c2aca10fbf11e991a6f8cab80fe439", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["setWordsColor(
\"#fffdf8\",50
);", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[337.6, 332.54999999999995], true]"
Size=
"[[169, 87], true]"
Text=
"["\u8bbe\u7f6e\u5b57\u4f53\u989c\u8272", true]"
UUID=
"["81c2aca10fbf11e991a6f8cab80fe439", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["closeTtyS3();", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[337.6, 31.450000000000045], true]"
Size=
"[[169, 87], true]"
Text=
"["\u5173\u95edTtyS3", true]"
UUID=
"["7edc7c9f0fbf11e9a0c6f8cab80fe439", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["showSubtitle();", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[3.5999999999999943, 233.45000000000005], true]"
Size=
"[[169, 87], true]"
Text=
"["\u663e\u793a\u60ac\u6d6e\u5b57\u5e55", true]"
UUID=
"["7cee412e0fbf11e99ffaf8cab80fe439", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["closeUSB();", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[337.6, 128.54999999999995], true]"
Size=
"[[169, 87], true]"
Text=
"["\u5173\u95ed\u4e32\u53e3USB", true]"
UUID=
"["798685230fbf11e9890ff8cab80fe439", false]"
/>
...
...
@@ -105,6 +105,22 @@
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[24, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["openTtyS3();", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[167.60000000000002, 31.450000000000045], true]"
Size=
"[[169, 87], true]"
Text=
"["\u6253\u5f00TtyS3\u4e32\u53e3", true]"
UUID=
"["91a05c300f6511e9a371d4258b878bb9", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\\u9ed1\u4f53.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["sendTtyS3(\"ABCDEF\\xFF\\xFF\\x80\\x81\\x82\");", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[336.6, 679.8], true]"
Size=
"[[169, 87], true]"
Text=
"["\u53d1\u9001\u6570\u636e(\u5927\u4e8e80)", true]"
UUID=
"["8d2bfd010f6311e996a0d4258b878bb9", false]"
/>
</GUINODE>
<GUINODE
BackGroundImage=
"["images\\ImageBackGround.jpg", true]"
Name=
"["AdvancedUsage", true]"
Size=
"[[1024, 768], true]"
UUID=
"["61330ec050b911eba6e11c1b0d7c67d5", false]"
Z_Depth=
"[0, true]"
>
<TEXT
Align=
"[1, true]"
Font=
"["fonts\\simhei.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
Movable=
"[0, true]"
Name=
"["New Text", true]"
Pos=
"[[34, 18], true]"
Size=
"[[391, 36], true]"
Text=
"["\u8bbe\u7f6e\u53d1\u9001\u6570\u636e\u6a21\u5f0f(\u4e32\u53e3\u6216\u8005TCP\u6a21\u5f0f\uff0c\u9ed8\u8ba4\u4e32\u53e3\u6a21\u5f0f)", true]"
UUID=
"["7a29f74f517b11eba5dc1c1b0d7c67d5", false]"
/>
<TEXT
Align=
"[1, true]"
Font=
"["fonts\\simhei.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
Movable=
"[0, true]"
Name=
"["New Text", true]"
Pos=
"[[34, 157], true]"
Size=
"[[269, 34], true]"
Text=
"["\u8bbe\u7f6eMQTT \u901a\u9053,\u5206\u79bb\u4f1a\u8bae\u5ba4", true]"
UUID=
"["5d56d0cf517b11eb82111c1b0d7c67d5", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\simhei.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["separateRoom(\"3d1dcc56-505c-4990-b43f-e933b7bd1533\");", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[225.0, 199], true]"
Size=
"[[169, 87], true]"
Text=
"["\u4f1a\u8bae\u5ba4\u4e8c", true]"
UUID=
"["3efb0e82517b11eb98991c1b0d7c67d5", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\simhei.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["setPageShow('BasicUsage');", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[855.0, 672.0], true]"
Size=
"[[169, 87], true]"
Text=
"["\u8fd4\u56de", true]"
UUID=
"["01dced0250c411ebae5c1c1b0d7c67d5", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\simhei.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["status=true;", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[225.0, 58], true]"
Size=
"[[169, 87], true]"
Text=
"["\u4e32\u53e3\u53d1\u9001\u6d88\u606f", true]"
UUID=
"["f60803d350c211eb8a2a1c1b0d7c67d5", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\simhei.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["status=false;", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[33, 58], true]"
Size=
"[[169, 87], true]"
Text=
"["TCP\u53d1\u9001\u6d88\u606f", true]"
UUID=
"["eadd6eee50c211eb8e271c1b0d7c67d5", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\simhei.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["moveSubtitle(5);", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[225.0, 545], true]"
Size=
"[[169, 87], true]"
Text=
"["\u5b57\u5e55\u4e0b\u79fb", true]"
UUID=
"["7212dcae50ba11eb892c1c1b0d7c67d5", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\simhei.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["moveSubtitle(-5);", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[32, 546], true]"
Size=
"[[169, 87], true]"
Text=
"["\u5b57\u5e55\u4e0a\u79fb", true]"
UUID=
"["6ae1bc9050ba11eb91161c1b0d7c67d5", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\simhei.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["moveSubtitle(-3);", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[443.0, 427.0], true]"
Size=
"[[169, 87], true]"
Text=
"["\u5b57\u5e55\u9876\u90e8", true]"
UUID=
"["611e0aae50ba11eb93c51c1b0d7c67d5", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\simhei.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["moveSubtitle(-2);", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[225.0, 427.0], true]"
Size=
"[[169, 87], true]"
Text=
"["\u5b57\u5e55\u4e2d\u90e8", true]"
UUID=
"["5f94366350ba11eb960f1c1b0d7c67d5", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\simhei.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["moveSubtitle(-1);", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[32, 427], true]"
Size=
"[[169, 87], true]"
Text=
"["\u5b57\u5e55\u5e95\u90e8", true]"
UUID=
"["53e7040150ba11eb8bce1c1b0d7c67d5", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\simhei.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["size-=5;\r\nsetWordsColor(\"#fffdf8\",size);", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[225.0, 307], true]"
Size=
"[[169, 87], true]"
Text=
"["\u6587\u5b57\u5927\u5c0f\u51cf\u5c0f", true]"
UUID=
"["48b458cf50ba11ebbf9d1c1b0d7c67d5", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\simhei.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["size+=5;\r\nsetWordsColor(\"#fffdf8\",size);", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[31, 304], true]"
Size=
"[[169, 87], true]"
Text=
"["\u6587\u5b57\u5927\u5c0f\u589e\u52a0", true]"
UUID=
"["2521719f50ba11eb85921c1b0d7c67d5", false]"
/>
<IMAGEBUTTON
Align=
"[0, true]"
ButtonDownImage=
"["images\\ImageOnStates.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[1, true]"
Font=
"["fonts\\simhei.ttf", true]"
FontColor=
"[[0, 0, 0], true]"
FontSize=
"[16, true]"
ImagePic=
"["images\\ImageOffStates.png", true]"
Movable=
"[0, true]"
Name=
"["New Button", true]"
OnClick=
"["separateRoom(\"4dde5bf3-aa3b-49c7-8a32-3c4c4fbcc4e0\");", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[33, 202], true]"
Size=
"[[169, 87], true]"
Text=
"["\u4f1a\u8bae\u5ba4\u4e00", true]"
UUID=
"["134d8a4150ba11eb96d21c1b0d7c67d5", false]"
/>
</GUINODE>
<GUINODE
BackGroundImage=
"["", true]"
Name=
"["pDisConnect", true]"
Size=
"[[1920, 1200], true]"
UUID=
"["c8a4428ff6f511eaab7f1c1b0d7c67d5", false]"
Z_Depth=
"[0, true]"
>
<IMAGEBAR
BarNodeDirection=
"[0, true]"
BarNodePosition=
"[1.0, true]"
ButtonDownImage=
"["images\\ImageBar2.png", true]"
ButtonRepeatTime=
"[0, true]"
ClickKeepCommandName=
"["", true]"
ClickKeepCommandType=
"[0, true]"
ClickUpCommandName=
"["", true]"
ClickUpCommandType=
"[0, true]"
CommandName=
"["", true]"
CommandType=
"[0, true]"
ImagePic=
"["images\\ImageBar1.png", true]"
Movable=
"[0, true]"
Name=
"["New Image Bar", true]"
OnBarChange=
"["", true]"
OnClick=
"["", true]"
OnClickKeep=
"["", true]"
OnClickKeepRemote=
"["", true]"
OnClickRemote=
"["", true]"
OnClickUp=
"["", true]"
OnClickUpRemote=
"["", true]"
Pos=
"[[544, 197], true]"
Size=
"[[73, 396], true]"
UUID=
"["d1ad1e01f6f711eab4441c1b0d7c67d5", false]"
/>
<IMAGE
ImagePic=
"["images\\ImageBackGround.jpg", true]"
MediaUrl=
"["", true]"
Movable=
"[0, true]"
Name=
"["New Image", true]"
Pos=
"[[413, 133], true]"
Size=
"[[687, 493], true]"
UUID=
"["25d7f880f6f611eabaee1c1b0d7c67d5", false]"
/>
...
...
@@ -112,7 +128,7 @@
</GUIGROUPNODE>
</GUI>
<SCRIPTS
Name=
"["SCRIPTS", false]"
UUID=
"["b859ffd10f5a11e9801ad4258b878bb9", false]"
>
<SCRIPTNODE
Name=
"["INIT", true]"
Script=
"["const strStart = \"UCOM\";\r\n\r\nconst strEnd = \"UOFF\";\r\n\r\nsetComBaud('BUS', 9600, 'N', 8, 1);\r\n\r\nsetStringReceive('BUS', getReceiveBUS);\r\n\r\nfunction getReceiveBUS(vReceiveData) {\r\n // vReceiveData = setRemoveString(vReceiveData, \"UCOM\");\r\n // var vLength = parseInt(vReceiveData.substr(0, 4), 10);\r\n //vReceiveData = vReceiveData.substr(4, vLength);\r\n\r\n // sendLog(\"vReceiveData\", \"L:\"+vReceiveData);\r\n //var jsonData = JSON.parse(vReceiveData);\r\n //var btnData = jsonData.data\r\n //sendLog(\"Data\", jsonData.data);\r\n sendLog(\"Data\", vReceiveData);\r\n}\r\n\r\n
var strText;\r\n\r\n/**\r\n * \u4e32\u53e3\u65b9\u6cd5\r\n */\r\n\r\n//\u83b7\u53d6\u8bbe\u5907\u6240\u6709\u4e32\u53e3\r\nfunction getAllPort() {\r\n strText = {\"cmd\": \"1\", \"action\": \"serialPort\", \"command\": \"getPort\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n//\u6253\u5f00\u4e32\u53e3232\r\nfunction openTtyS3() {\r\n strText = {\"cmd\": \"1\", \"action\": \"serialPort\", \"command\": \"openPort\", \"device\": \"ttyS3\", \"baudRate\": 19200};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n//\u5173\u95ed\u4e32\u53e3232\r\nfunction closeTtyS3() {\r\n strText = {\"cmd\": \"1\", \"action\": \"serialPort\", \"command\": \"closePort\", \"device\": \"ttyS3\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n//\u6253\u5f00\u4e32\u53e3485\r\nfunction openUSB() {\r\n strText = {\"cmd\": \"1\", \"action\": \"serialPort\", \"command\": \"openPort\", \"device\": \"ttyUSB0\", \"baudRate\": 19200};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n//\u5173\u95ed\u4e32\u53e3458\r\nfunction closeUSB() {\r\n strText = {\"cmd\": \"1\", \"action\": \"serialPort\", \"command\": \"closePort\", \"device\": \"ttyUSB0\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n//\u6444\u50cf\u5934\u4e0b\r\nfunction sendTtyS3CameraDown() {\r\n strText = {\r\n \"cmd\": \"1\",\r\n \"action\": \"serialPort\",\r\n \"command\": \"sendPort\",\r\n \"device\": \"ttyS3\",\r\n \"data\": \"\\\\x81\\\\x01\\\\x06\\\\x01\\\\x05\\\\x04\\\\x03\\\\x01\\\\xFF\"\r\n };\r\n //\u975eJson \u683c\u5f0f \u65e0\u6cd5\u89e3\u6790\u6570\u636e\r\n //strText = \"{\\\"cmd\\\":\\\"1\\\",\\\"action\\\":\\\"serialPort\\\",\\\"command\\\":\\\"sendPort\\\",\\\"device\\\":\\\"ttyS3\\\",\\\"data\\\":\\x81\\x01\\x06\\x01\\x05\\x04\\x03\\x01\\xFF\\\"}\";\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n//\u6444\u50cf\u5934\u4e0a\r\nfunction sendTtyS3CameraUp() {\r\n strText = {\r\n \"cmd\": \"1\",\r\n \"action\": \"serialPort\",\r\n \"command\": \"sendPort\",\r\n \"data\": \"\\\\x81\\\\x01\\\\x06\\\\x01\\\\x05\\\\x04\\\\x03\\\\x02\\\\xFF\",\r\n \"device\": \"ttyS3\"\r\n\r\n };\r\n //\u975eJson \u683c\u5f0f \u65e0\u6cd5\u89e3\u6790\u6570\u636e\r\n //strText = {\"cmd\":\"1\",\"action\":\"serialPort\",\"command\":\"sendPort\",\"device\":\"ttyS3\",\"data\":\"\\x81\\x01\\x06\\x01\\x05\\x04\\x03\\x02\\xFF\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\nfunction sendUSB() {\r\n strText = {\"cmd\": \"1\", \"action\": \"serialPort\", \"command\": \"sendPort\", \"device\": \"ttyUSB0\", \"data\": \"1B1\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n//\u6fc0\u6d3b\u9762\u677f\r\nfunction sendUSBBus() {\r\n strText = {\r\n \"cmd\": \"1\",\r\n \"action\": \"serialPort\",\r\n \"command\": \"sendPort\",\r\n \"device\": \"ttyUSB0\",\r\n \"data\": \"\\\\x02\\\\x06\\\\x10\\\\x03\\\\x00\\\\x24\\\\x7D\\\\x22\"\r\n };\r\n //\u8fd9\u6837\u5199 Json \u683c\u5f0f\u5316\u9519\u8bef \u3002\r\n //strText = {\"cmd\": \"1\", \"action\": \"serialPort\", \"command\": \"sendPort\", \"device\": \"ttyUSB0\", \"data\": \"\\x02\\x06\\x10\\x03\\x00\\x24\\x7D\\x22\"};\r\n\r\n sendBUSRoot(strText);\r\n}\r\n\r\n//\u6d4b\u8bd5\u5927\u4e8e127 \u7684\u4e32\u53e3\u547d\u4ee4\r\nfunction sendTtyS3(str) {\r\n strText = {\"cmd\": \"1\", \"action\": \"serialPort\", \"command\": \"sendPort\", \"device\": \"ttyS3\", \"data\": str};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n//\u6253\u5f00\u7ee7\u7535\u5668\r\nfunction sendTtyRelayOpen() {\r\n strText = {\r\n \"cmd\": \"1\",\r\n \"action\": \"serialPort\",\r\n \"command\": \"sendPort\",\r\n \"device\": \"ttyS3\",\r\n \"data\": \"[PR\\\\x30\\\\x30\\\\x31O1T0]\"\r\n };\r\n sendBUSRoot(strText);\r\n}\r\n\r\nfunction sendTtyRelayOpenMTwo() {\r\n // \"\\\\x5bPR\\\\x30\\\\x30\\\\x31O1T0]\";\r\n // \"[PR\\\\x30\\\\x30\\\\x31O1T0\\\\x5b\";\r\n // \"\\\\x5bPR\\\\x30\\\\x30\\\\x31O1T0\\\\x5b\";\r\n // \"\\\\x5bPR0O1T0\\\\x5b\";\r\n strText = {\r\n \"cmd\": \"1\",\r\n \"action\": \"serialPort\",\r\n \"command\": \"sendPort\",\r\n \"device\": \"ttyS3\",\r\n \"data\": \"\\\\x5BPR\\\\x30\\\\x30\\\\x31O1T0\\\\x5D\"\r\n };\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n//\u5173\u95ed\u7ee7\u7535\u5668\r\nfunction sendTtyRelayClose() {\r\n strText = {\"cmd\": \"1\", \"action\": \"serialPort\", \"command\": \"sendPort\", \"device\": \"ttyS3\", \"data\": \"[PR001C1T0]\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n/**\r\n * \u6539\u53d8APP \u7684\u65b9\u6cd5\r\n */\r\n\r\n\r\n\r\n/**\r\n * \u9690\u85cf\u5b57\u5e55\r\n */\r\nfunction hideSubtitle() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"hideSubtitle\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u663e\u793a\u5b57\u5e55\r\n */\r\nfunction showSubtitle() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"showSubtitle\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u8bbe\u7f6e\u5b57\u5e55\u80cc\u666f\u8272 \u4ee5\u53ca\u80cc\u666f \u900f\u660e\u5ea6\r\n */\r\nfunction setTitleColor() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"subtitle\", \"backgroundColor\": \"#ffffff\", \"alpha\": 0};\r\n sendBUSRoot(strText)\r\n}\r\n\r\n/**\r\n * \u8bbe\u7f6e\u5b57\u5e55\u4e2d \u6587\u5b57 \u7ffb\u8bd1\u7684\u989c\u8272,\u5927\u5c0f\r\n */\r\nfunction setWordsColor() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"words\", \"fontColor\": \"#fffdf8\", \"fontSize\": 50};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n\r\n/**\r\n * \u6539\u53d8\u5b57\u5e55\u80cc\u666f\u989c\u8272\r\n * backgroundColor \u80cc\u666f\u989c\u8272 ARGB A \u8868\u793a\u900f\u660e\u5ea6\r\n *\r\n */\r\nfunction setSubtitle() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"changeSubtitle\", \"backgroundColor\": \"#ff000000\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n/**\r\n * \u8bbe\u7f6e\u5b57\u5e55\u4f4d\u7f6e\r\n *\u5bf9\u9f50\u65b9\u5f0f :Alignment bottom(\u9ed8\u8ba4) center top\r\n *\r\n * \u5b57\u6570 : wordCount\r\n *\r\n * \u884c\u6570 : numberOfLines \u9ed8\u8ba4\u5355\u884c singleLine(\u5355\u884c) \uff0c multiLine(\u591a\u884c)\r\n */\r\nfunction setSubtitleModel(alignment,singleLine) {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"SubtitleModel\", \"Alignment\": alignment,\"numberOfLines\":singleLine};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n/**\r\n * @param \u53c2\u8003\u94fe\u63a5\r\n *\r\n * http://api.fanyi.baidu.com/api/trans/product/apidoc#languageList\r\n *\r\n */\r\n\r\nfunction setTranslate(str) {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"translate\", \"language\": str};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u9690\u85cf\u6587\u5b57\r\n *\r\n */\r\nfunction hideWords() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"hideWords\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u663e\u793a\u6587\u5b57\r\n */\r\nfunction showWords() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"showWords\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u663e\u793a\u547d\u4ee4\u8bcd\r\n */\r\nfunction showCommand() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"showCommand\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u9690\u85cf\u547d\u4ee4\u8bcd\r\n */\r\nfunction hideCommand() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"hideCommand\"};\r\n\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u9690\u85cf\u7ffb\u8bd1\r\n */\r\nfunction hideTranslate() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"hideTranslate\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u663e\u793a\u7ffb\u8bd1\r\n */\r\nfunction showTranslate() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"showTranslate\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u5f39\u51fa\u5de6\u4fa7\u52a9\u624b\r\n */\r\nfunction showAide() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"showAide\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u9690\u85cf\u52a9\u624b\r\n */\r\nfunction hideAide() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"hideAide\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u5f00\u59cbHDMI\u753b\u9762\r\n */\r\nfunction doVideo() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"doVideo\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u505c\u6b62HDMI\u753b\u9762\r\n */\r\nfunction stopVideo() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"stopVideo\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u83b7\u53d6android\u5f00\u53d1\u677f\u4fe1\u606f\r\n */\r\nfunction getAndroid() {\r\n var strText = {\"cmd\": \"1\", \"action\": \"system\", \"command\": \"getAndroid\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u53bb\u8bbe\u7f6e\u9875\u9762\r\n */\r\nfunction toSetPage() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"toSetPage\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n/**\r\n *\r\n * @param wordType 0\u8868\u793a\u767e\u5ea6\u8bed\u97f3 1 \u8868\u793a\u8baf\u98de\u8bed\u97f3\r\n * @param host \u4e3b\u673a\u5730\u5740\u548c\u7aef\u53e3 ( 192.168.1.2:8080 ) \u6388\u6743\u7801\r\n *\r\n * authorizationCode : \u4f1a\u8bae\u5ba4\u6388\u6743\u7801\r\n */\r\nfunction startSubTitle(wordType, host) {\r\n\r\n if (isEmpty(host)) {\r\n return\r\n }\r\n if (wordType == 0) {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"wordsSet\", \"wordType\": 0, \"host\": \"\" + host + \"\"};\r\n } else if (wordType == 1) {\r\n strText = {\r\n \"cmd\": \"1\",\r\n \"action\": \"setApp\",\r\n \"command\": \"wordsSet\",\r\n \"wordType\": 1,\r\n \"host\": \"\" + host + \"\",\r\n \"authorizationCode\": \"ANW-SZUBJS-TDOG\"\r\n };\r\n } else {\r\n //\u5982\u679c\u6ca1\u6709\u586b\u5199\u53c2\u6570\u6216\u8fd9\u4e2a \u53c2\u6570\u9519\u8bef \uff0c\u4e0d\u5f80\u4e0b\u6267\u884c!\r\n return\r\n }\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u7cfb\u7edf\u8bbe\u7f6e\u65b9\u6cd5\r\n */\r\n\r\n/**\r\n *\r\n *\u5173\u673a\r\n */\r\nfunction shutDown() {\r\n var strText = {\"cmd\": \"1\", \"action\": \"system\", \"command\": \"shutDown\"};\r\n sendBUSRoot(strText);\r\n\r\n}\r\n\r\n/**\r\n *\r\n *\u91cd\u542f\r\n */\r\nfunction reboot() {\r\n var strText = {\"cmd\": \"1\", \"action\": \"system\", \"command\": \"reboot\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u5378\u8f7d\u81ea\u5df1\r\n */\r\nfunction deleteSelf() {\r\n var strText = {\"cmd\": \"1\", \"action\": \"system\", \"command\": \"deleteSelf\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n/**\r\n *\u4e2d\u6587\u53c2\u6570\r\n */\r\nvar strJson;\r\nvar strLen;\r\n\r\n/**\r\n * \u64ad\u653e\u8bed\u97f3\r\n */\r\nfunction doAudio() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"doAudio\", \"data\": \"\u4e0d\u4ee5\u5c71\u6d77\u4e3a\u8fdc\uff0c\u4e2d\u56fd\u7279\u8272\u5927\u56fd\u5916\u4ea4\u4e4b\u8def\u8d8a\u8d70\u8d8a\u5bbd\u5e7f\"};\r\n strJson = JSON.stringify(strText);\r\n strLen = getULen(strJson);\r\n sendCodeString('BUS', strStart + strLen + setGBK(strJson) + strEnd);\r\n}\r\n\r\n/**\r\n * \u6539\u53d8\u5de6\u4fa7\u52a9\u624b\u63d0\u793a\u6587\u5b57\r\n *\r\n */\r\n\r\nfunction aideData() {\r\n strText = {\r\n \"cmd\": \"1\",\r\n \"data\": [{\"data\": \"\u6253\u5f00\u6240\u6709\u706f\u5149\", \"iflytek\": \"\", \"itemType\": \"0\", \"person\": \"\", \"type\": 0}, {\r\n \"data\": \"\u6253\u5f00\u672c\u5730\u4f1a\u8bae\u6a21\u5f0f\u6d4b\u8bd5\",\r\n \"iflytek\": \"\",\r\n \"itemType\": \"0\",\r\n \"person\": \"\",\r\n \"type\": 0\r\n }, {\"data\": \"\u547c\u53eb\u5317\u4eac\u3001\u4e0a\u6d77\u3001\u6df1\u5733\", \"iflytek\": \"\", \"itemType\": \"0\", \"person\": \"\", \"type\": 0}, {\r\n \"data\": \"\u7a7a\u8c03\u8c03\u523025\u5ea6\",\r\n \"iflytek\": \"\",\r\n \"itemType\": \"0\",\r\n \"person\": \"\",\r\n \"type\": 0\r\n }, {\"data\": \"\u4e2d\u5c4f\u663e\u793a\u524d\u684c\u63d2\", \"iflytek\": \"\", \"itemType\": \"0\", \"person\": \"\", \"type\": 0}, {\r\n \"data\": \"\u6253\u5f00\u89c6\u9891\u4f1a\u8bae\u6a21\u5f0f\",\r\n \"iflytek\": \"\",\r\n \"itemType\": \"0\",\r\n \"person\": \"\",\r\n \"type\": 0\r\n }, {\"data\": \"\u5f00\u542f\u6696\u5149\", \"iflytek\": \"\", \"itemType\": \"0\", \"person\": \"\", \"type\": 0}, {\r\n \"data\": \"\u5e2e\u6211\u6765\u4e00\u676f\u5496\u5561\",\r\n \"iflytek\": \"\",\r\n \"itemType\": \"0\",\r\n \"person\": \"\",\r\n \"type\": 0\r\n }, {\"data\": \"\u7ed3\u675f\u4f1a\u8bae\", \"iflytek\": \"\", \"itemType\": \"0\", \"person\": \"\", \"type\": 0}],\r\n \"action\": \"setApp\",\r\n \"command\": \"aideData\"\r\n }\r\n strJson = JSON.stringify(strText);\r\n strLen = getULen(strJson);\r\n sendCodeString('BUS', strStart + strLen + setGBK(strJson) + strEnd);\r\n}\r\n\r\n\r\n/**\r\n * \u5e95\u5c42\u53c2\u6570\uff0c\u4e0d\u9700\u8981\u4fee\u6539\r\n * @param str\r\n * @returns {string}\r\n */\r\nfunction getULen(str) {\r\n var l = str.length;\r\n var blen = 0;\r\n for (i = 0; i < l; i++) {\r\n if ((str.charCodeAt(i) & 0xff00) != 0) {\r\n blen++;\r\n }\r\n blen++;\r\n }\r\n\r\n var slen = blen.toString();\r\n if (slen.length == 0) {\r\n slen = \"0000\";\r\n } else if (slen.length == 1) {\r\n slen = \"000\" + slen;\r\n } else if (slen.length == 2) {\r\n slen = \"00\" + slen;\r\n } else if (slen.length == 3) {\r\n slen = \"0\" + slen;\r\n }\r\n return slen;\r\n}\r\n\r\n/**\r\n *\r\n * @param vLen \u83b7\u53d6\u5b57\u7b26\u4e32\u7684\u957f\u5ea6\r\n * @returns {string}\r\n */\r\nfunction getLength(vLen) {\r\n var len1 = vLen % 0x100;\r\n var len2 = vLen % 0x10000 / 0x100;\r\n var len3 = vLen % 0x1000000 / 0x10000;\r\n var len4 = vLen / 0x1000000;\r\n return String.fromCharCode(len4) + String.fromCharCode(len3) + String.fromCharCode(len2) + String.fromCharCode(len1);\r\n}\r\n\r\n//\u5224\u65ad\u5b57\u7b26\u662f\u5426\u4e3a\u7a7a\u7684\u65b9\u6cd5\r\nfunction isEmpty(obj) {\r\n if (typeof obj == \"undefined\" || obj == null || obj == \"\") {\r\n return true;\r\n } else {\r\n\r\n return false;\r\n }\r\n}\r\n\r\n\r\nfunction sendBUSRoot(json) {\r\n var strJson = JSON.stringify(json);\r\n var strLen = getULen(strJson);\r\n sendCodeString('BUS', strStart + strLen + setGBK(strJson) + strEnd);
\r\n}", false]"
ScriptParamCount=
"[0, false]"
UUID=
"["19633cde0f5d11e9a9c7d4258b878bb9", false]"
/>
<SCRIPTNODE
Name=
"["INIT", true]"
Script=
"["const strStart = \"UCOM\";\r\n\r\nconst strEnd = \"UOFF\";\r\n\r\nsetComBaud('BUS', 9600, 'N', 8, 1);\r\n\r\nsetStringReceive('BUS', getReceiveBUS);\r\n\r\nfunction getReceiveBUS(vReceiveData) {\r\n // vReceiveData = setRemoveString(vReceiveData, \"UCOM\");\r\n // var vLength = parseInt(vReceiveData.substr(0, 4), 10);\r\n //vReceiveData = vReceiveData.substr(4, vLength);\r\n\r\n // sendLog(\"vReceiveData\", \"L:\"+vReceiveData);\r\n //var jsonData = JSON.parse(vReceiveData);\r\n //var btnData = jsonData.data\r\n //sendLog(\"Data\", jsonData.data);\r\n sendLog(\"Data\", vReceiveData);\r\n}\r\n\r\n
\r\n//===========================================TCP\u65b9\u6cd5========================\r\n\r\n\r\n//\u63a5\u6536\u65b9\u6cd5\r\n\r\nsetStringReceive(NET1, receiveAi1000Data());\r\n\r\n/**\r\n * \u63a5\u53d7\u6765\u7740Ai1000 \u670d\u52a1\u7aef\u7684\u53cd\u9988\u6570\u636e\r\n * @param data\r\n */\r\nfunction receiveAi1000Data(data) {\r\n\r\n\r\n sendLog(\"AI1000Tcp\", data)\r\n}\r\n\r\n//===========================================\u4e32\u53e3\u65b9\u6cd5========================\r\n\r\nvar strText;\r\n\r\n/**\r\n * \u4e32\u53e3\u65b9\u6cd5\r\n */\r\n\r\n//\u83b7\u53d6\u8bbe\u5907\u6240\u6709\u4e32\u53e3\r\nfunction getAllPort() {\r\n strText = {\"cmd\": \"1\", \"action\": \"serialPort\", \"command\": \"getPort\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n//\u6253\u5f00\u4e32\u53e3232\r\nfunction openTtyS3() {\r\n strText = {\"cmd\": \"1\", \"action\": \"serialPort\", \"command\": \"openPort\", \"device\": \"ttyS3\", \"baudRate\": 19200};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n//\u5173\u95ed\u4e32\u53e3232\r\nfunction closeTtyS3() {\r\n strText = {\"cmd\": \"1\", \"action\": \"serialPort\", \"command\": \"closePort\", \"device\": \"ttyS3\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n//\u6253\u5f00\u4e32\u53e3485\r\nfunction openUSB() {\r\n strText = {\"cmd\": \"1\", \"action\": \"serialPort\", \"command\": \"openPort\", \"device\": \"ttyUSB0\", \"baudRate\": 19200};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n//\u5173\u95ed\u4e32\u53e3458\r\nfunction closeUSB() {\r\n strText = {\"cmd\": \"1\", \"action\": \"serialPort\", \"command\": \"closePort\", \"device\": \"ttyUSB0\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n//\u6444\u50cf\u5934\u4e0b\r\nfunction sendTtyS3CameraDown() {\r\n strText = {\r\n \"cmd\": \"1\",\r\n \"action\": \"serialPort\",\r\n \"command\": \"sendPort\",\r\n \"device\": \"ttyS3\",\r\n \"data\": \"\\\\x81\\\\x01\\\\x06\\\\x01\\\\x05\\\\x04\\\\x03\\\\x01\\\\xFF\"\r\n };\r\n //\u975eJson \u683c\u5f0f \u65e0\u6cd5\u89e3\u6790\u6570\u636e\r\n //strText = \"{\\\"cmd\\\":\\\"1\\\",\\\"action\\\":\\\"serialPort\\\",\\\"command\\\":\\\"sendPort\\\",\\\"device\\\":\\\"ttyS3\\\",\\\"data\\\":\\x81\\x01\\x06\\x01\\x05\\x04\\x03\\x01\\xFF\\\"}\";\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n//\u6444\u50cf\u5934\u4e0a\r\nfunction sendTtyS3CameraUp() {\r\n strText = {\r\n \"cmd\": \"1\",\r\n \"action\": \"serialPort\",\r\n \"command\": \"sendPort\",\r\n \"data\": \"\\\\x81\\\\x01\\\\x06\\\\x01\\\\x05\\\\x04\\\\x03\\\\x02\\\\xFF\",\r\n \"device\": \"ttyS3\"\r\n\r\n };\r\n //\u975eJson \u683c\u5f0f \u65e0\u6cd5\u89e3\u6790\u6570\u636e\r\n //strText = {\"cmd\":\"1\",\"action\":\"serialPort\",\"command\":\"sendPort\",\"device\":\"ttyS3\",\"data\":\"\\x81\\x01\\x06\\x01\\x05\\x04\\x03\\x02\\xFF\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\nfunction sendUSB() {\r\n strText = {\"cmd\": \"1\", \"action\": \"serialPort\", \"command\": \"sendPort\", \"device\": \"ttyUSB0\", \"data\": \"1B1\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n//\u6fc0\u6d3b\u9762\u677f\r\nfunction sendUSBBus() {\r\n strText = {\r\n \"cmd\": \"1\",\r\n \"action\": \"serialPort\",\r\n \"command\": \"sendPort\",\r\n \"device\": \"ttyUSB0\",\r\n \"data\": \"\\\\x02\\\\x06\\\\x10\\\\x03\\\\x00\\\\x24\\\\x7D\\\\x22\"\r\n };\r\n //\u8fd9\u6837\u5199 Json \u683c\u5f0f\u5316\u9519\u8bef \u3002\r\n //strText = {\"cmd\": \"1\", \"action\": \"serialPort\", \"command\": \"sendPort\", \"device\": \"ttyUSB0\", \"data\": \"\\x02\\x06\\x10\\x03\\x00\\x24\\x7D\\x22\"};\r\n\r\n sendBUSRoot(strText);\r\n}\r\n\r\n//\u6d4b\u8bd5\u5927\u4e8e127 \u7684\u4e32\u53e3\u547d\u4ee4\r\nfunction sendTtyS3(str) {\r\n strText = {\"cmd\": \"1\", \"action\": \"serialPort\", \"command\": \"sendPort\", \"device\": \"ttyS3\", \"data\": str};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n//\u6253\u5f00\u7ee7\u7535\u5668\r\nfunction sendTtyRelayOpen() {\r\n strText = {\r\n \"cmd\": \"1\",\r\n \"action\": \"serialPort\",\r\n \"command\": \"sendPort\",\r\n \"device\": \"ttyS3\",\r\n \"data\": \"[PR\\\\x30\\\\x30\\\\x31O1T0]\"\r\n };\r\n sendBUSRoot(strText);\r\n}\r\n\r\nfunction sendTtyRelayOpenMTwo() {\r\n // \"\\\\x5bPR\\\\x30\\\\x30\\\\x31O1T0]\";\r\n // \"[PR\\\\x30\\\\x30\\\\x31O1T0\\\\x5b\";\r\n // \"\\\\x5bPR\\\\x30\\\\x30\\\\x31O1T0\\\\x5b\";\r\n // \"\\\\x5bPR0O1T0\\\\x5b\";\r\n strText = {\r\n \"cmd\": \"1\",\r\n \"action\": \"serialPort\",\r\n \"command\": \"sendPort\",\r\n \"device\": \"ttyS3\",\r\n \"data\": \"\\\\x5BPR\\\\x30\\\\x30\\\\x31O1T0\\\\x5D\"\r\n };\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n//\u5173\u95ed\u7ee7\u7535\u5668\r\nfunction sendTtyRelayClose() {\r\n strText = {\"cmd\": \"1\", \"action\": \"serialPort\", \"command\": \"sendPort\", \"device\": \"ttyS3\", \"data\": \"[PR001C1T0]\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n/**\r\n * \u6539\u53d8APP \u7684\u65b9\u6cd5\r\n */\r\n\r\n\r\n/**\r\n * \u9690\u85cf\u5b57\u5e55\r\n */\r\nfunction hideSubtitle() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"hideSubtitle\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u663e\u793a\u5b57\u5e55\r\n *\r\n */\r\nfunction showSubtitle() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"showSubtitle\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n/**\r\n * \u79fb\u52a8\u5b57\u5e55\r\n */\r\nvar positionY=0;\r\n\r\n/**\r\n *\r\n * @param postionY\r\n * -1 \u5e95\u90e8\r\n * -2 \u4e2d\u90e8\r\n * -3 \u9876\u90e8\r\n * > 0 \u4ece\u5f53\u4f4d\u7f6e \u4e0a\u79fb\u6216\u8005\u4e0b\u79fb\r\n *\r\n */\r\n\r\nfunction moveSubtitle(postionY) {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"moveSubtitle\",\"positionY\":\"\"+postionY+\"\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n/**\r\n * \u8bbe\u7f6e\u5b57\u5e55\u80cc\u666f\u8272 \u4ee5\u53ca\u80cc\u666f \u900f\u660e\u5ea6\r\n */\r\nfunction setTitleColor() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"subtitle\", \"backgroundColor\": \"#ffffff\", \"alpha\": 0};\r\n sendBUSRoot(strText)\r\n}\r\n\r\n/**\r\n *\r\n * @param fontColor \u8bbe\u7f6e\u989c\u8272 \u9ed8\u8ba4 #ffffff \u767d\u8272\r\n * @param fontSize \u8bbe\u7f6e\u5b57\u4f53\u5927\u5c0f 30\r\n *\r\n * \u8bbe\u7f6e\u5b57\u5e55\u4e2d \u6587\u5b57 \u7ffb\u8bd1\u7684\u989c\u8272,\u5927\u5c0f\r\n */\r\nvar size=30;\r\nfunction setWordsColor(fontColor, fontSize) {\r\n\r\n if (isEmpty(fontColor)) {\r\n fontColor = \"#ffffff\";\r\n }\r\n if (isEmpty(fontSize)) {\r\n fontSize = 30;\r\n }\r\n\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"words\", \"fontColor\": \"\" + fontColor + \"\", \"fontSize\": \"\" + fontSize + \"\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n/**\r\n * \u6539\u53d8\u5b57\u5e55\u80cc\u666f\u989c\u8272\r\n * backgroundColor \u80cc\u666f\u989c\u8272 ARGB A \u8868\u793a\u900f\u660e\u5ea6\r\n *\r\n */\r\nfunction setSubtitle() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"changeSubtitle\", \"backgroundColor\": \"#ff000000\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n/**\r\n * \u8bbe\u7f6e\u5b57\u5e55\u4f4d\u7f6e\r\n *\u5bf9\u9f50\u65b9\u5f0f :Alignment bottom(\u9ed8\u8ba4) center top\r\n *\r\n * \u5b57\u6570 : wordCount\r\n *\r\n * \u884c\u6570 : numberOfLines \u9ed8\u8ba4\u5355\u884c singleLine(\u5355\u884c) \uff0c multiLine(\u591a\u884c)\r\n */\r\nfunction setSubtitleModel(alignment, singleLine) {\r\n strText = {\r\n \"cmd\": \"1\",\r\n \"action\": \"setApp\",\r\n \"command\": \"SubtitleModel\",\r\n \"Alignment\": alignment,\r\n \"numberOfLines\": singleLine\r\n };\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n/**\r\n * @param \u53c2\u8003\u94fe\u63a5\r\n *\r\n * http://api.fanyi.baidu.com/api/trans/product/apidoc#languageList\r\n *\r\n */\r\n\r\nfunction setTranslate(str) {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"translate\", \"language\": str};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u9690\u85cf\u6587\u5b57\r\n *\r\n */\r\nfunction hideWords() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"hideWords\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u663e\u793a\u6587\u5b57\r\n */\r\nfunction showWords() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"showWords\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u663e\u793a\u547d\u4ee4\u8bcd\r\n */\r\nfunction showCommand() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"showCommand\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u9690\u85cf\u547d\u4ee4\u8bcd\r\n */\r\nfunction hideCommand() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"hideCommand\"};\r\n\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u9690\u85cf\u7ffb\u8bd1\r\n */\r\nfunction hideTranslate() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"hideTranslate\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u663e\u793a\u7ffb\u8bd1\r\n */\r\nfunction showTranslate() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"showTranslate\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u5f39\u51fa\u5de6\u4fa7\u52a9\u624b\r\n */\r\nfunction showAide() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"showAide\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u9690\u85cf\u52a9\u624b\r\n */\r\nfunction hideAide() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"hideAide\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u5f00\u59cbHDMI\u753b\u9762\r\n */\r\nfunction doVideo() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"doVideo\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u505c\u6b62HDMI\u753b\u9762\r\n */\r\nfunction stopVideo() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"stopVideo\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u83b7\u53d6android\u5f00\u53d1\u677f\u4fe1\u606f\r\n */\r\nfunction getAndroid() {\r\n var strText = {\"cmd\": \"1\", \"action\": \"system\", \"command\": \"getAndroid\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u53bb\u8bbe\u7f6e\u9875\u9762\r\n */\r\nfunction toSetPage() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"toSetPage\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n/**\r\n *\r\n * @param wordType 0\u8868\u793a\u767e\u5ea6\u8bed\u97f3 1 \u8868\u793a\u8baf\u98de\u8bed\u97f3\r\n * @param host \u4e3b\u673a\u5730\u5740\u548c\u7aef\u53e3 ( 192.168.1.2:8080 ) \u6388\u6743\u7801\r\n *\r\n * authorizationCode : \u4f1a\u8bae\u5ba4\u6388\u6743\u7801\r\n */\r\nfunction startSubTitle(wordType, host) {\r\n\r\n if (isEmpty(host)) {\r\n return\r\n }\r\n if (wordType == 0) {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"wordsSet\", \"wordType\": 0, \"host\": \"\" + host + \"\"};\r\n } else if (wordType == 1) {\r\n strText = {\r\n \"cmd\": \"1\",\r\n \"action\": \"setApp\",\r\n \"command\": \"wordsSet\",\r\n \"wordType\": 1,\r\n \"host\": \"\" + host + \"\",\r\n \"authorizationCode\": \"ANW-SZUBJS-TDOG\"\r\n };\r\n } else {\r\n //\u5982\u679c\u6ca1\u6709\u586b\u5199\u53c2\u6570\u6216\u8fd9\u4e2a \u53c2\u6570\u9519\u8bef \uff0c\u4e0d\u5f80\u4e0b\u6267\u884c!\r\n return\r\n }\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\nfunction separateRoom(conferenceRoomID) {\r\n if (isEmpty(conferenceRoomID)) {\r\n return\r\n }\r\n strText = {\r\n \"cmd\": \"1\",\r\n \"action\": \"setApp\",\r\n \"command\": \"separateRoom\",\r\n \"conferenceRoomID\": \"\" + conferenceRoomID + \"\"\r\n };\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n\r\n/**\r\n * \u7cfb\u7edf\u8bbe\u7f6e\u65b9\u6cd5\r\n */\r\n\r\n/**\r\n *\r\n *\u5173\u673a\r\n */\r\nfunction shutDown() {\r\n var strText = {\"cmd\": \"1\", \"action\": \"system\", \"command\": \"shutDown\"};\r\n sendBUSRoot(strText);\r\n\r\n}\r\n\r\n/**\r\n *\r\n *\u91cd\u542f\r\n */\r\nfunction reboot() {\r\n var strText = {\"cmd\": \"1\", \"action\": \"system\", \"command\": \"reboot\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n/**\r\n * \u5378\u8f7d\u81ea\u5df1\r\n */\r\nfunction deleteSelf() {\r\n var strText = {\"cmd\": \"1\", \"action\": \"system\", \"command\": \"deleteSelf\"};\r\n sendBUSRoot(strText);\r\n}\r\n\r\n\r\n/**\r\n *\u4e2d\u6587\u53c2\u6570\r\n */\r\nvar strJson;\r\nvar strLen;\r\n\r\n/**\r\n * \u64ad\u653e\u8bed\u97f3\r\n */\r\nfunction doAudio() {\r\n strText = {\"cmd\": \"1\", \"action\": \"setApp\", \"command\": \"doAudio\", \"data\": \"\u4e0d\u4ee5\u5c71\u6d77\u4e3a\u8fdc\uff0c\u4e2d\u56fd\u7279\u8272\u5927\u56fd\u5916\u4ea4\u4e4b\u8def\u8d8a\u8d70\u8d8a\u5bbd\u5e7f\"};\r\n strJson = JSON.stringify(strText);\r\n strLen = getULen(strJson);\r\n sendCodeString('BUS', strStart + strLen + setGBK(strJson) + strEnd);\r\n}\r\n\r\n/**\r\n * \u6539\u53d8\u5de6\u4fa7\u52a9\u624b\u63d0\u793a\u6587\u5b57\r\n *\r\n */\r\n\r\nfunction aideData() {\r\n strText = {\r\n \"cmd\": \"1\",\r\n \"data\": [{\"data\": \"\u6253\u5f00\u6240\u6709\u706f\u5149\", \"iflytek\": \"\", \"itemType\": \"0\", \"person\": \"\", \"type\": 0}, {\r\n \"data\": \"\u6253\u5f00\u672c\u5730\u4f1a\u8bae\u6a21\u5f0f\u6d4b\u8bd5\",\r\n \"iflytek\": \"\",\r\n \"itemType\": \"0\",\r\n \"person\": \"\",\r\n \"type\": 0\r\n }, {\"data\": \"\u547c\u53eb\u5317\u4eac\u3001\u4e0a\u6d77\u3001\u6df1\u5733\", \"iflytek\": \"\", \"itemType\": \"0\", \"person\": \"\", \"type\": 0}, {\r\n \"data\": \"\u7a7a\u8c03\u8c03\u523025\u5ea6\",\r\n \"iflytek\": \"\",\r\n \"itemType\": \"0\",\r\n \"person\": \"\",\r\n \"type\": 0\r\n }, {\"data\": \"\u4e2d\u5c4f\u663e\u793a\u524d\u684c\u63d2\", \"iflytek\": \"\", \"itemType\": \"0\", \"person\": \"\", \"type\": 0}, {\r\n \"data\": \"\u6253\u5f00\u89c6\u9891\u4f1a\u8bae\u6a21\u5f0f\",\r\n \"iflytek\": \"\",\r\n \"itemType\": \"0\",\r\n \"person\": \"\",\r\n \"type\": 0\r\n }, {\"data\": \"\u5f00\u542f\u6696\u5149\", \"iflytek\": \"\", \"itemType\": \"0\", \"person\": \"\", \"type\": 0}, {\r\n \"data\": \"\u5e2e\u6211\u6765\u4e00\u676f\u5496\u5561\",\r\n \"iflytek\": \"\",\r\n \"itemType\": \"0\",\r\n \"person\": \"\",\r\n \"type\": 0\r\n }, {\"data\": \"\u7ed3\u675f\u4f1a\u8bae\", \"iflytek\": \"\", \"itemType\": \"0\", \"person\": \"\", \"type\": 0}],\r\n \"action\": \"setApp\",\r\n \"command\": \"aideData\"\r\n }\r\n strJson = JSON.stringify(strText);\r\n strLen = getULen(strJson);\r\n sendCodeString('BUS', strStart + strLen + setGBK(strJson) + strEnd);\r\n}\r\n\r\n\r\n/**\r\n * \u5e95\u5c42\u53c2\u6570\uff0c\u4e0d\u9700\u8981\u4fee\u6539\r\n * @param str\r\n * @returns {string}\r\n */\r\nfunction getULen(str) {\r\n var l = str.length;\r\n var blen = 0;\r\n for (i = 0; i < l; i++) {\r\n if ((str.charCodeAt(i) & 0xff00) != 0) {\r\n blen++;\r\n }\r\n blen++;\r\n }\r\n\r\n var slen = blen.toString();\r\n if (slen.length == 0) {\r\n slen = \"0000\";\r\n } else if (slen.length == 1) {\r\n slen = \"000\" + slen;\r\n } else if (slen.length == 2) {\r\n slen = \"00\" + slen;\r\n } else if (slen.length == 3) {\r\n slen = \"0\" + slen;\r\n }\r\n return slen;\r\n}\r\n\r\n/**\r\n *\r\n * @param vLen \u83b7\u53d6\u5b57\u7b26\u4e32\u7684\u957f\u5ea6\r\n * @returns {string}\r\n */\r\nfunction getLength(vLen) {\r\n var len1 = vLen % 0x100;\r\n var len2 = vLen % 0x10000 / 0x100;\r\n var len3 = vLen % 0x1000000 / 0x10000;\r\n var len4 = vLen / 0x1000000;\r\n return String.fromCharCode(len4) + String.fromCharCode(len3) + String.fromCharCode(len2) + String.fromCharCode(len1);\r\n}\r\n\r\n//\u5224\u65ad\u5b57\u7b26\u662f\u5426\u4e3a\u7a7a\u7684\u65b9\u6cd5\r\nfunction isEmpty(obj) {\r\n if (typeof obj == \"undefined\" || obj == null || obj == \"\") {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n}\r\n\r\n\r\n/**\r\n *\r\n * @param json\r\n *\r\n * @param status \u521d\u59cb\u5316 \u9ed8\u8ba4\u4e3atrue\uff0c\u4f7f\u7528\u4e32\u53e3\u53d1\u9001\u6d88\u606f\r\n *\r\n *\u5f53 status \u4e3afalse \u4f7f\u7528 TCP Client \u53d1\u9001\u6570\u636e\u6d88\u606f\r\n *\r\n */\r\n\r\nvar status = true;\r\n\r\nfunction sendBUSRoot(json) {\r\n var strJson = JSON.stringify(json);\r\n var strLen = getULen(strJson);\r\n\r\n if (status) {\r\n sendCodeString('BUS', strStart + strLen + setGBK(strJson) + strEnd);\r\n } else {\r\n sendCodeString(NET1, strStart + strLen + setGBK(strJson) + strEnd + \"\\n\");\r\n }
\r\n}", false]"
ScriptParamCount=
"[0, false]"
UUID=
"["19633cde0f5d11e9a9c7d4258b878bb9", false]"
/>
</SCRIPTS>
<PREDEFINES
Name=
"["PREDEFINES", false]"
PredefineList=
"["[]", true]"
UUID=
"["b859ffd20f5a11e9ae57d4258b878bb9", false]"
/>
</PROJECT>
A1.ui.png
查看替换文件 @
66952c25
浏览文件 @
33b5f6d9
438.7 KB
|
W:
|
H:
428.2 KB
|
W:
|
H:
2-up
Swipe
Onion skin
system.hzdb
浏览文件 @
33b5f6d9
No preview for this file type
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论