mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-20 22:47:01 +01:00
Compare commits
325 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6eab35ddd0 | ||
|
|
495e63dacc | ||
|
|
d965e7c7df | ||
|
|
060f2bd8de | ||
|
|
17585f3c75 | ||
|
|
79303ade8b | ||
|
|
d7e417eaf7 | ||
|
|
9622c65eb5 | ||
|
|
16ee1fb1c2 | ||
|
|
fd7d4bca24 | ||
|
|
a4627e8589 | ||
|
|
51dd978c8c | ||
|
|
1521a45dc1 | ||
|
|
03ac046feb | ||
|
|
ff9dc6c71e | ||
|
|
f8c6b80438 | ||
|
|
56c8b07e2e | ||
|
|
cd628038b4 | ||
|
|
efeebe6a86 | ||
|
|
ce6717292a | ||
|
|
c5b5002d27 | ||
|
|
4daa6dbb78 | ||
|
|
7ffe37117b | ||
|
|
112fe16f29 | ||
|
|
361a125118 | ||
|
|
6bd9b34f96 | ||
|
|
4938b5794a | ||
|
|
0e2e11655c | ||
|
|
4c591ca8e1 | ||
|
|
7b811ca0f8 | ||
|
|
46e18d0954 | ||
|
|
9df7afbf01 | ||
|
|
6d6ebb5ccc | ||
|
|
41fe5ebd82 | ||
|
|
1e2f4f4ca2 | ||
|
|
9a084c58bb | ||
|
|
0d66a1f4f2 | ||
|
|
ad891115a9 | ||
|
|
b38189d63e | ||
|
|
900e1aef46 | ||
|
|
2a43a96f9a | ||
|
|
11827bf68b | ||
|
|
bc3d58d406 | ||
|
|
4aed6f672e | ||
|
|
f40235bb2e | ||
|
|
67d323da42 | ||
|
|
2801509215 | ||
|
|
bb38dda0cb | ||
|
|
69830d82f7 | ||
|
|
b6c3444a55 | ||
|
|
172f8d8ad4 | ||
|
|
5ab207504d | ||
|
|
ec0ffc3584 | ||
|
|
2303446958 | ||
|
|
36f2c85ffe | ||
|
|
655edc071f | ||
|
|
2c3bd3a88e | ||
|
|
2944044a4a | ||
|
|
e846ac4923 | ||
|
|
2f2bc406f2 | ||
|
|
9a4a42f7ac | ||
|
|
99ebaa0364 | ||
|
|
4b651db8dc | ||
|
|
27f214c633 | ||
|
|
c59107a137 | ||
|
|
46a3c4b612 | ||
|
|
658348b4fd | ||
|
|
896ffe1282 | ||
|
|
d82ffc3617 | ||
|
|
8d83d727f3 | ||
|
|
c6e49bbf80 | ||
|
|
349db170a6 | ||
|
|
3f2dac39a0 | ||
|
|
439eb9309a | ||
|
|
c49f214bec | ||
|
|
7fb347063c | ||
|
|
da91c282b7 | ||
|
|
ff5a9d2274 | ||
|
|
fce9265b5d | ||
|
|
7b39a5e2b1 | ||
|
|
7b513f901c | ||
|
|
6e6b70c89f | ||
|
|
e0294195b9 | ||
|
|
7ecad206dc | ||
|
|
254aa2d043 | ||
|
|
1b4c435fab | ||
|
|
55688549fa | ||
|
|
fb69d05f06 | ||
|
|
cde1aeda0e | ||
|
|
2816fa88e4 | ||
|
|
9cc31b6e5b | ||
|
|
8f34fbf7a7 | ||
|
|
32df87d8bd | ||
|
|
50302c1fd4 | ||
|
|
7f4bb973b1 | ||
|
|
a542ba39aa | ||
|
|
7f8b013381 | ||
|
|
e455d50738 | ||
|
|
50533dd2a6 | ||
|
|
f432e14f3e | ||
|
|
7cc1c6ec77 | ||
|
|
3a8293d266 | ||
|
|
b5bc19443a | ||
|
|
d58bf81600 | ||
|
|
8398684cc6 | ||
|
|
53deb3ab85 | ||
|
|
d86057ef76 | ||
|
|
66a3dab237 | ||
|
|
6e9bab3502 | ||
|
|
ebdb9bc2c1 | ||
|
|
694b231983 | ||
|
|
3e56cf7d8c | ||
|
|
c1e8f7df04 | ||
|
|
c0ebe4a397 | ||
|
|
3dcb91b276 | ||
|
|
6a7606b3e0 | ||
|
|
6af48209e6 | ||
|
|
deefe6b33a | ||
|
|
8a1b583794 | ||
|
|
b55d2b9c06 | ||
|
|
891230144a | ||
|
|
58ea667430 | ||
|
|
8ba8bb6488 | ||
|
|
4062b31b7d | ||
|
|
59cc0fc887 | ||
|
|
521cbabee8 | ||
|
|
f897ae9b9d | ||
|
|
55c554910b | ||
|
|
c61f0c4906 | ||
|
|
336a0b61a3 | ||
|
|
ac7ca6d621 | ||
|
|
6245a8e12f | ||
|
|
8897ec01ec | ||
|
|
1e79f6385b | ||
|
|
8d413cabb8 | ||
|
|
99d013c039 | ||
|
|
03f65daef3 | ||
|
|
f86768c95b | ||
|
|
1a7c9abb16 | ||
|
|
c961cf9fde | ||
|
|
acbaa43ee6 | ||
|
|
cbdc6f6f77 | ||
|
|
75b6a07995 | ||
|
|
85e6eb6f73 | ||
|
|
c2599ed4a3 | ||
|
|
0fa7e8f562 | ||
|
|
b1d0ad8e16 | ||
|
|
e0762f504e | ||
|
|
453537ff68 | ||
|
|
069087c48b | ||
|
|
19eae41c33 | ||
|
|
202260c1d6 | ||
|
|
067b2bd75a | ||
|
|
2a6643eb68 | ||
|
|
59390cc6ec | ||
|
|
b20ba7a761 | ||
|
|
039043fe5b | ||
|
|
116153e77b | ||
|
|
1552374ce7 | ||
|
|
21acb9115d | ||
|
|
64ca6b9a41 | ||
|
|
c05f58fb5e | ||
|
|
6fe763c3ae | ||
|
|
2777ce56ea | ||
|
|
1678dadcbe | ||
|
|
9ab66b741d | ||
|
|
13ec7b606e | ||
|
|
e96e5821d0 | ||
|
|
6df63ea67e | ||
|
|
f0c0281ac2 | ||
|
|
b9d9fc565e | ||
|
|
6111c3530c | ||
|
|
2ba9eae7e6 | ||
|
|
431a93a7ff | ||
|
|
5d3e836156 | ||
|
|
c1234e2c16 | ||
|
|
aaf30e3bc2 | ||
|
|
aa5e935499 | ||
|
|
77e9258bd7 | ||
|
|
6ba94f49d4 | ||
|
|
264fef1142 | ||
|
|
a8be9a46c8 | ||
|
|
e8366d438c | ||
|
|
c915c72ef2 | ||
|
|
656ced6a2f | ||
|
|
cf0739b76a | ||
|
|
8a572f2961 | ||
|
|
d7ce6421a0 | ||
|
|
60a59e6c63 | ||
|
|
5acaa0736d | ||
|
|
640e7b231f | ||
|
|
6de40d53d7 | ||
|
|
bdd838cadd | ||
|
|
8fa3a11eb5 | ||
|
|
3a1b9071f8 | ||
|
|
ed655d6596 | ||
|
|
8dc2e6cbe1 | ||
|
|
cc21d555c5 | ||
|
|
367bdaf8d6 | ||
|
|
53042f376f | ||
|
|
5d003f94e2 | ||
|
|
7e218b7a5a | ||
|
|
1e1670aa22 | ||
|
|
ab2853084a | ||
|
|
07235ab583 | ||
|
|
c5e87d5fdc | ||
|
|
7a9288cd63 | ||
|
|
3347a054e0 | ||
|
|
59aa703416 | ||
|
|
e50f068c93 | ||
|
|
f566031911 | ||
|
|
5b133483e8 | ||
|
|
f31d5090b9 | ||
|
|
9021ca7a57 | ||
|
|
d891d4e5a2 | ||
|
|
dbcdf54e06 | ||
|
|
aea2b890df | ||
|
|
d66734607b | ||
|
|
c82e1673db | ||
|
|
66909990f5 | ||
|
|
138d91594d | ||
|
|
fa0f8d2a0c | ||
|
|
8f40363b2e | ||
|
|
c183840714 | ||
|
|
d24b9d08d9 | ||
|
|
eb5d62f778 | ||
|
|
8eee88c9c5 | ||
|
|
626e55ca65 | ||
|
|
a01bba76cb | ||
|
|
df6e147071 | ||
|
|
6d2f028dae | ||
|
|
a6807ba45b | ||
|
|
10314859db | ||
|
|
9e61476b06 | ||
|
|
43ab8e7922 | ||
|
|
ece0abc0c3 | ||
|
|
0da81c4e37 | ||
|
|
c46ea4026d | ||
|
|
03615d7b36 | ||
|
|
e6a3162ac8 | ||
|
|
0c838111c8 | ||
|
|
412b508a6e | ||
|
|
8640e3d24e | ||
|
|
3eec1f9713 | ||
|
|
da0dc823b8 | ||
|
|
d5f031b660 | ||
|
|
303ca2f691 | ||
|
|
8dd18fa45b | ||
|
|
7b330dd3e9 | ||
|
|
02aca6c23b | ||
|
|
c6ccc0fb9c | ||
|
|
65a85f7bd8 | ||
|
|
3f8c65d654 | ||
|
|
55447d724c | ||
|
|
ce129cd59f | ||
|
|
7cef38f50e | ||
|
|
d6e5753dd2 | ||
|
|
0f88932669 | ||
|
|
1f4317856c | ||
|
|
90f4253067 | ||
|
|
8b44a61797 | ||
|
|
eb1e5d2d85 | ||
|
|
25d169b14e | ||
|
|
db14636c58 | ||
|
|
33c6ddd250 | ||
|
|
1bc042d126 | ||
|
|
31c2372520 | ||
|
|
f7f0349f39 | ||
|
|
34181234e1 | ||
|
|
cded34fbd4 | ||
|
|
e2223ac7a6 | ||
|
|
ffcd872f4a | ||
|
|
d34a835363 | ||
|
|
40d17f9641 | ||
|
|
9eb543467b | ||
|
|
86594de18d | ||
|
|
14efa10683 | ||
|
|
7f38c6b346 | ||
|
|
17cf7d40c5 | ||
|
|
9ff8506035 | ||
|
|
757ffcd129 | ||
|
|
ac96ff595a | ||
|
|
7c1fe558f9 | ||
|
|
98ec0aca45 | ||
|
|
df105a2233 | ||
|
|
a33c58941c | ||
|
|
33c0c4402f | ||
|
|
1529115fb5 | ||
|
|
210b90ff8f | ||
|
|
e9a69651d7 | ||
|
|
e576af72b7 | ||
|
|
e5e88e3a5e | ||
|
|
957cde8384 | ||
|
|
ddc8818aae | ||
|
|
252339d36c | ||
|
|
0803dd5214 | ||
|
|
586af0aac3 | ||
|
|
65032dc3a0 | ||
|
|
a6c617fc44 | ||
|
|
13b17dab00 | ||
|
|
4600458da3 | ||
|
|
67bc1533bf | ||
|
|
e5f5546352 | ||
|
|
40896473b2 | ||
|
|
83e820d037 | ||
|
|
fb8a1003f9 | ||
|
|
f0a3a04edb | ||
|
|
df8e913831 | ||
|
|
1eef2bc96f | ||
|
|
015d9c29c7 | ||
|
|
164467d435 | ||
|
|
e8e8b0fc29 | ||
|
|
d78a6c4ed7 | ||
|
|
b95b35f10c | ||
|
|
7d52df1f11 | ||
|
|
cb542f1e77 | ||
|
|
ff2208a646 | ||
|
|
205f45ba48 | ||
|
|
1712098f61 | ||
|
|
84585499d5 | ||
|
|
1a4f7a7754 | ||
|
|
632663cd9f | ||
|
|
059619a636 | ||
|
|
49352c7ca0 | ||
|
|
a44573cfc9 |
26
.devcontainer.json
Normal file
26
.devcontainer.json
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"name": "NSPanel Lovelace UI Home Assistant add-on repository",
|
||||||
|
"image": "ghcr.io/home-assistant/devcontainer:addons",
|
||||||
|
"appPort": ["7123:8123", "7357:4357"],
|
||||||
|
"postCreateCommand": "apt install -y python3 python3-pip && pip install -r nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/requirements.txt --break-system-packages",
|
||||||
|
"postStartCommand": "bash devcontainer_bootstrap",
|
||||||
|
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],
|
||||||
|
"remoteUser":"root",
|
||||||
|
"containerEnv": {
|
||||||
|
"WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}"
|
||||||
|
},
|
||||||
|
"extensions": ["timonwong.shellcheck", "esbenp.prettier-vscode"],
|
||||||
|
"mounts": ["type=volume,target=/var/lib/docker"],
|
||||||
|
"settings": {
|
||||||
|
"terminal.integrated.profiles.linux": {
|
||||||
|
"zsh": {
|
||||||
|
"path": "/usr/bin/zsh"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"terminal.integrated.defaultProfile.linux": "zsh",
|
||||||
|
"editor.formatOnPaste": false,
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"editor.formatOnType": true,
|
||||||
|
"files.trimTrailingWhitespace": true
|
||||||
|
}
|
||||||
|
}
|
||||||
7
.github/dependabot.yaml
vendored
Normal file
7
.github/dependabot.yaml
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: weekly
|
||||||
|
time: "06:00"
|
||||||
111
.github/workflows/builder.yaml
vendored
Normal file
111
.github/workflows/builder.yaml
vendored
Normal file
@@ -0,0 +1,111 @@
|
|||||||
|
name: Builder
|
||||||
|
|
||||||
|
env:
|
||||||
|
BUILD_ARGS: "--test"
|
||||||
|
MONITORED_FILES: "build.yaml config.yaml Dockerfile rootfs"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
init:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Initialize builds
|
||||||
|
outputs:
|
||||||
|
changed_addons: ${{ steps.changed_addons.outputs.addons }}
|
||||||
|
changed: ${{ steps.changed_addons.outputs.changed }}
|
||||||
|
steps:
|
||||||
|
- name: Check out the repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Get changed files
|
||||||
|
id: changed_files
|
||||||
|
uses: jitterbit/get-changed-files@v1
|
||||||
|
|
||||||
|
- name: Find add-on directories
|
||||||
|
id: addons
|
||||||
|
uses: home-assistant/actions/helpers/find-addons@master
|
||||||
|
|
||||||
|
- name: Get changed add-ons
|
||||||
|
id: changed_addons
|
||||||
|
run: |
|
||||||
|
declare -a changed_addons
|
||||||
|
for addon in ${{ steps.addons.outputs.addons }}; do
|
||||||
|
if [[ "${{ steps.changed_files.outputs.all }}" =~ $addon ]]; then
|
||||||
|
for file in ${{ env.MONITORED_FILES }}; do
|
||||||
|
if [[ "${{ steps.changed_files.outputs.all }}" =~ $addon/$file ]]; then
|
||||||
|
if [[ ! "${changed_addons[@]}" =~ $addon ]]; then
|
||||||
|
changed_addons+=("\"${addon}\",");
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
changed=$(echo ${changed_addons[@]} | rev | cut -c 2- | rev)
|
||||||
|
|
||||||
|
if [[ -n ${changed} ]]; then
|
||||||
|
echo "Changed add-ons: $changed";
|
||||||
|
echo "changed=true" >> $GITHUB_OUTPUT;
|
||||||
|
echo "addons=[$changed]" >> $GITHUB_OUTPUT;
|
||||||
|
else
|
||||||
|
echo "No add-on had any monitored files changed (${{ env.MONITORED_FILES }})";
|
||||||
|
fi
|
||||||
|
build:
|
||||||
|
needs: init
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: needs.init.outputs.changed == 'true'
|
||||||
|
name: Build ${{ matrix.arch }} ${{ matrix.addon }} add-on
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
addon: ${{ fromJson(needs.init.outputs.changed_addons) }}
|
||||||
|
arch: ["aarch64", "amd64", "armhf", "armv7", "i386"]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Get information
|
||||||
|
id: info
|
||||||
|
uses: home-assistant/actions/helpers/info@master
|
||||||
|
with:
|
||||||
|
path: "./${{ matrix.addon }}"
|
||||||
|
|
||||||
|
- name: Check if add-on should be built
|
||||||
|
id: check
|
||||||
|
run: |
|
||||||
|
if [[ "${{ steps.info.outputs.architectures }}" =~ ${{ matrix.arch }} ]]; then
|
||||||
|
echo "build_arch=true" >> $GITHUB_OUTPUT;
|
||||||
|
echo "image=$(echo ${{ steps.info.outputs.image }} | cut -d'/' -f3)" >> $GITHUB_OUTPUT;
|
||||||
|
if [[ -z "${{ github.head_ref }}" ]] && [[ "${{ github.event_name }}" == "push" ]]; then
|
||||||
|
echo "BUILD_ARGS=" >> $GITHUB_ENV;
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "${{ matrix.arch }} is not a valid arch for ${{ matrix.addon }}, skipping build";
|
||||||
|
echo "build_arch=false" >> $GITHUB_OUTPUT;
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Login to GitHub Container Registry
|
||||||
|
if: env.BUILD_ARGS != '--test'
|
||||||
|
uses: docker/login-action@v3.0.0
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ github.repository_owner }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Build ${{ matrix.addon }} add-on
|
||||||
|
if: steps.check.outputs.build_arch == 'true'
|
||||||
|
uses: home-assistant/builder@2023.09.0
|
||||||
|
with:
|
||||||
|
args: |
|
||||||
|
${{ env.BUILD_ARGS }} \
|
||||||
|
--${{ matrix.arch }} \
|
||||||
|
--target /data/${{ matrix.addon }} \
|
||||||
|
--image "${{ steps.check.outputs.image }}" \
|
||||||
|
--docker-hub "ghcr.io/${{ github.repository_owner }}" \
|
||||||
|
--addon
|
||||||
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
@@ -43,7 +43,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
|
|||||||
19
.github/workflows/docs.yml
vendored
19
.github/workflows/docs.yml
vendored
@@ -15,10 +15,21 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v2
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
- run: pip install mkdocs-material mkdocs-video markdown-include
|
- run: pip install mkdocs-material mkdocs-video markdown-include mike
|
||||||
- run: cp HMI/README.md docs/hmi-serial-protocol.md
|
- run: cp HMI/README.md docs/hmi-serial-protocol.md
|
||||||
- run: mkdocs gh-deploy --force
|
#- run: mkdocs gh-deploy --force
|
||||||
|
- run: git config --global user.name Docs deploy
|
||||||
|
- run: git config --global user.email docs@dummy.bot.com
|
||||||
|
- run: mike deploy --push --update-aliases dev
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/hacs-validation.yaml
vendored
2
.github/workflows/hacs-validation.yaml
vendored
@@ -11,7 +11,7 @@ jobs:
|
|||||||
name: HACS Action
|
name: HACS Action
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
steps:
|
steps:
|
||||||
- uses: "actions/checkout@v2"
|
- uses: "actions/checkout@v4"
|
||||||
- name: HACS Action
|
- name: HACS Action
|
||||||
uses: "hacs/action@main"
|
uses: "hacs/action@main"
|
||||||
with:
|
with:
|
||||||
|
|||||||
4
.github/workflows/iobroker-localization.yml
vendored
4
.github/workflows/iobroker-localization.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
gen-ioBroker-localization:
|
gen-ioBroker-localization:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
|
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
python HMI/code_gen/localization/iobroker.py
|
python HMI/code_gen/localization/iobroker.py
|
||||||
mv ioBroker_NSPanel_locales.json ioBroker/ioBroker_NSPanel_locales.json
|
mv ioBroker_NSPanel_locales.json ioBroker/ioBroker_NSPanel_locales.json
|
||||||
|
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
with:
|
with:
|
||||||
commit_message: Update iobroker localization file
|
commit_message: Update iobroker localization file
|
||||||
#file_pattern: "**.txt"
|
#file_pattern: "**.txt"
|
||||||
|
|||||||
41
.github/workflows/lint.yaml
vendored
Normal file
41
.github/workflows/lint.yaml
vendored
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
name: Lint
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
find:
|
||||||
|
name: Find add-ons
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
addons: ${{ steps.addons.outputs.addons_list }}
|
||||||
|
steps:
|
||||||
|
- name: ⤵️ Check out code from GitHub
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: 🔍 Find add-on directories
|
||||||
|
id: addons
|
||||||
|
uses: home-assistant/actions/helpers/find-addons@master
|
||||||
|
|
||||||
|
lint:
|
||||||
|
name: Lint add-on ${{ matrix.path }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: find
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
path: ${{ fromJson(needs.find.outputs.addons) }}
|
||||||
|
steps:
|
||||||
|
- name: ⤵️ Check out code from GitHub
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: 🚀 Run Home Assistant Add-on Lint
|
||||||
|
uses: frenck/action-addon-linter@v2.15
|
||||||
|
with:
|
||||||
|
path: "./${{ matrix.path }}"
|
||||||
4
.github/workflows/nextion2text.yml
vendored
4
.github/workflows/nextion2text.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@ jobs:
|
|||||||
find -name "**.txt"
|
find -name "**.txt"
|
||||||
rm Nextion2Text.py* ignore-id.py out.txt
|
rm Nextion2Text.py* ignore-id.py out.txt
|
||||||
|
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
with:
|
with:
|
||||||
commit_message: ${{ steps.last-commit-message.outputs.msg }} (add nextion2text)
|
commit_message: ${{ steps.last-commit-message.outputs.msg }} (add nextion2text)
|
||||||
#file_pattern: "**.txt"
|
#file_pattern: "**.txt"
|
||||||
|
|||||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -2,5 +2,8 @@ __pycache__/
|
|||||||
# don't add nextion2text
|
# don't add nextion2text
|
||||||
HMI/Nextion2Text.py
|
HMI/Nextion2Text.py
|
||||||
|
|
||||||
|
# dont add panels.yaml
|
||||||
|
panels.yaml
|
||||||
|
|
||||||
# don't add Webstorm project stuff
|
# don't add Webstorm project stuff
|
||||||
.idea
|
.idea
|
||||||
17
.vscode/launch.json
vendored
Normal file
17
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
// Use IntelliSense to learn about possible attributes.
|
||||||
|
// Hover to view descriptions of existing attributes.
|
||||||
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Python: Current File",
|
||||||
|
"type": "python",
|
||||||
|
"request": "launch",
|
||||||
|
"program": "main.py",
|
||||||
|
"cwd": "/workspaces/nspanel-lovelace-ui/nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager",
|
||||||
|
"console": "integratedTerminal",
|
||||||
|
"justMyCode": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
19
.vscode/tasks.json
vendored
Normal file
19
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "Start Home Assistant",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "supervisor_run",
|
||||||
|
"group": {
|
||||||
|
"kind": "test",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "always",
|
||||||
|
"panel": "new"
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,5 +1,17 @@
|
|||||||
--- HMI/n2t-out
|
--- HMI/n2t-out
|
||||||
+++ HMI/US/landscape/n2t-out
|
+++ HMI/US/landscape/n2t-out
|
||||||
|
├── file list
|
||||||
|
│ @@ -1,10 +1,9 @@
|
||||||
|
│ Program.s.txt
|
||||||
|
│ cardAlarm.txt
|
||||||
|
│ -cardBurnRec.txt
|
||||||
|
│ cardChart.txt
|
||||||
|
│ cardEntities.txt
|
||||||
|
│ cardGrid.txt
|
||||||
|
│ cardGrid2.txt
|
||||||
|
│ cardLChart.txt
|
||||||
|
│ cardMedia.txt
|
||||||
|
│ cardPower.txt
|
||||||
│ --- HMI/n2t-out/Program.s.txt
|
│ --- HMI/n2t-out/Program.s.txt
|
||||||
├── +++ HMI/US/landscape/n2t-out/Program.s.txt
|
├── +++ HMI/US/landscape/n2t-out/Program.s.txt
|
||||||
│ @@ -13,10 +13,10 @@
|
│ @@ -13,10 +13,10 @@
|
||||||
@@ -14,6 +26,75 @@
|
|||||||
│ + //lcd_dev fffb 0002 0000 0020
|
│ + //lcd_dev fffb 0002 0000 0020
|
||||||
│ printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
|
│ printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
|
||||||
│ page pageStartup
|
│ page pageStartup
|
||||||
|
│ --- HMI/n2t-out/cardEntities.txt
|
||||||
|
├── +++ HMI/US/landscape/n2t-out/cardEntities.txt
|
||||||
|
│ @@ -20,15 +20,14 @@
|
||||||
|
│ crcputs tSend.txt,0
|
||||||
|
│ //send cmd
|
||||||
|
│ printh 55 bb
|
||||||
|
│ prints sys0,2
|
||||||
|
│ prints tSend.txt,0
|
||||||
|
│ prints crcval,2
|
||||||
|
│ dim=dimValueNormal
|
||||||
|
│ - dim=dimValueNormal
|
||||||
|
│ //wup=cardEntities
|
||||||
|
│ //remove background & activate reparse mode
|
||||||
|
│ vis p0,0
|
||||||
|
│ recmod=1
|
||||||
|
│ baud=115200
|
||||||
|
│ //debug stuff
|
||||||
|
│ vis tTmp,0
|
||||||
|
│ --- HMI/n2t-out/cardThermo.txt
|
||||||
|
├── +++ HMI/US/landscape/n2t-out/cardThermo.txt
|
||||||
|
│ @@ -28,14 +28,19 @@
|
||||||
|
│ vis tSend,0
|
||||||
|
│ vis tInstruction,0
|
||||||
|
│ vis tTmp,0
|
||||||
|
│ vis tId,0
|
||||||
|
│ vis xTempMin1,0
|
||||||
|
│ vis xTempMax1,0
|
||||||
|
│ vis xTempStep1,0
|
||||||
|
│ + vis xTempDest,0
|
||||||
|
│ + vis btUp,0
|
||||||
|
│ + vis btDown,0
|
||||||
|
│ + vis tCF,0
|
||||||
|
│ + vis btDetail,0
|
||||||
|
│ //tEntity.txt=tHeading.txt
|
||||||
|
│ // disable all buttons
|
||||||
|
│ vis bt0,0
|
||||||
|
│ vis bt1,0
|
||||||
|
│ vis bt2,0
|
||||||
|
│ vis bt3,0
|
||||||
|
│ vis bt4,0
|
||||||
|
│ @@ -1014,14 +1019,28 @@
|
||||||
|
│ vis xTempDest1,1
|
||||||
|
│ vis btDown1,1
|
||||||
|
│ vis tCF1,1
|
||||||
|
│ vis bUp2,1
|
||||||
|
│ vis xTempDest2,1
|
||||||
|
│ vis bDown2,1
|
||||||
|
│ vis tCF2,1
|
||||||
|
│ + }else
|
||||||
|
│ + {
|
||||||
|
│ + vis btUp,1
|
||||||
|
│ + vis xTempDest,1
|
||||||
|
│ + vis btDown,1
|
||||||
|
│ + vis tCF,1
|
||||||
|
│ + vis btUp1,0
|
||||||
|
│ + vis xTempDest1,0
|
||||||
|
│ + vis btDown1,0
|
||||||
|
│ + vis tCF1,0
|
||||||
|
│ + vis bUp2,0
|
||||||
|
│ + vis xTempDest2,0
|
||||||
|
│ + vis bDown2,0
|
||||||
|
│ + vis tCF2,0
|
||||||
|
│ }
|
||||||
|
│ //Show btDetail
|
||||||
|
│ spstr strCommand.txt,tTmp.txt,"~",58
|
||||||
|
│ if(tTmp.txt!="1")
|
||||||
|
│ {
|
||||||
|
│ vis btDetail,1
|
||||||
|
│ }else
|
||||||
│ --- HMI/n2t-out/pageStartup.txt
|
│ --- HMI/n2t-out/pageStartup.txt
|
||||||
├── +++ HMI/US/landscape/n2t-out/pageStartup.txt
|
├── +++ HMI/US/landscape/n2t-out/pageStartup.txt
|
||||||
│ @@ -164,15 +164,15 @@
|
│ @@ -164,15 +164,15 @@
|
||||||
@@ -33,30 +114,25 @@
|
|||||||
│ crcputs sys0,2
|
│ crcputs sys0,2
|
||||||
│ crcputs tSend.txt,0
|
│ crcputs tSend.txt,0
|
||||||
│ //send cmd
|
│ //send cmd
|
||||||
│ @@ -275,20 +275,14 @@
|
|
||||||
│ }
|
|
||||||
│ // get font color
|
|
||||||
│ spstr strCommand.txt,tTmp.txt,"~",4
|
|
||||||
│ if(tTmp.txt!="")
|
|
||||||
│ {
|
|
||||||
│ covx tTmp.txt,defaultFontColor,0,0
|
|
||||||
│ }
|
|
||||||
│ - // get feature flag popup
|
|
||||||
│ - spstr strCommand.txt,tTmp.txt,"~",5
|
|
||||||
│ - if(tTmp.txt!="")
|
|
||||||
│ - {
|
|
||||||
│ - covx tTmp.txt,featNewSliders,0,0
|
|
||||||
│ - }
|
|
||||||
│ }
|
|
||||||
│ if(tInstruction.txt=="timeout")
|
|
||||||
│ {
|
|
||||||
│ //set timeout to global var
|
|
||||||
│ spstr strCommand.txt,tTmp.txt,"~",1
|
|
||||||
│ covx tTmp.txt,sleepTimeout,0,0
|
|
||||||
│ }
|
|
||||||
│ --- HMI/n2t-out/screensaver.txt
|
│ --- HMI/n2t-out/screensaver.txt
|
||||||
├── +++ HMI/US/landscape/n2t-out/screensaver.txt
|
├── +++ HMI/US/landscape/n2t-out/screensaver.txt
|
||||||
│ @@ -28,17 +28,14 @@
|
│ @@ -19,15 +19,14 @@
|
||||||
|
│ crcputs sys0,2
|
||||||
|
│ crcputs tSend.txt,0
|
||||||
|
│ //send cmd
|
||||||
|
│ printh 55 bb
|
||||||
|
│ prints sys0,2
|
||||||
|
│ prints tSend.txt,0
|
||||||
|
│ prints crcval,2
|
||||||
|
│ - dim=dimValueNormal
|
||||||
|
│ recmod=1
|
||||||
|
│ baud=115200
|
||||||
|
│ vis tInstruction,0
|
||||||
|
│ vis tTmp,0
|
||||||
|
│ vis p0,0
|
||||||
|
│ vis tNotifyHead,0
|
||||||
|
│ vis tNotifyText,0
|
||||||
|
│ @@ -41,17 +40,14 @@
|
||||||
│ }
|
│ }
|
||||||
│ tDate.txt=pageIcons.vaDate.txt
|
│ tDate.txt=pageIcons.vaDate.txt
|
||||||
│ dim=dimValue
|
│ dim=dimValue
|
||||||
@@ -74,7 +150,7 @@
|
|||||||
│ Max. Text Size: 600
|
│ Max. Text Size: 600
|
||||||
│
|
│
|
||||||
│ Variable (string) strTmp
|
│ Variable (string) strTmp
|
||||||
│ @@ -102,34 +99,14 @@
|
│ @@ -115,34 +111,14 @@
|
||||||
│ Value: 0
|
│ Value: 0
|
||||||
│
|
│
|
||||||
│ Variable (int32) ycR
|
│ Variable (int32) ycR
|
||||||
@@ -109,9 +185,43 @@
|
|||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
│ Associated Keyboard: none
|
│ Associated Keyboard: none
|
||||||
│ Text : |
|
│ Text : |
|
||||||
|
│ @@ -485,17 +461,14 @@
|
||||||
|
│ //get set time to global variable
|
||||||
|
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
||||||
|
│ spstr pageIcons.vaTime.txt,tTime.txt,"?",0
|
||||||
|
│ spstr pageIcons.vaTime.txt,tAMPM.txt,"?",1
|
||||||
|
│ if(tAMPM.txt=="")
|
||||||
|
│ {
|
||||||
|
│ vis tAMPM,0
|
||||||
|
│ - }else
|
||||||
|
│ - {
|
||||||
|
│ - vis tAMPM,1
|
||||||
|
│ }
|
||||||
|
│ spstr strCommand.txt,tTimeAdd.txt,"~",2
|
||||||
|
│ ref tIcon1
|
||||||
|
│ ref tIcon2
|
||||||
|
│ }
|
||||||
|
│ if(tInstruction.txt=="date")
|
||||||
|
│ {
|
||||||
│ --- HMI/n2t-out/screensaver2.txt
|
│ --- HMI/n2t-out/screensaver2.txt
|
||||||
├── +++ HMI/US/landscape/n2t-out/screensaver2.txt
|
├── +++ HMI/US/landscape/n2t-out/screensaver2.txt
|
||||||
│ @@ -28,17 +28,14 @@
|
│ @@ -19,15 +19,14 @@
|
||||||
|
│ crcputs sys0,2
|
||||||
|
│ crcputs tSend.txt,0
|
||||||
|
│ //send cmd
|
||||||
|
│ printh 55 bb
|
||||||
|
│ prints sys0,2
|
||||||
|
│ prints tSend.txt,0
|
||||||
|
│ prints crcval,2
|
||||||
|
│ - dim=dimValueNormal
|
||||||
|
│ recmod=1
|
||||||
|
│ baud=115200
|
||||||
|
│ vis tInstruction,0
|
||||||
|
│ vis tTmp,0
|
||||||
|
│ vis p0,0
|
||||||
|
│ vis tNotifyHead,0
|
||||||
|
│ vis tNotifyText,0
|
||||||
|
│ @@ -41,17 +40,14 @@
|
||||||
│ }
|
│ }
|
||||||
│ tDate.txt=pageIcons.vaDate.txt
|
│ tDate.txt=pageIcons.vaDate.txt
|
||||||
│ dim=dimValue
|
│ dim=dimValue
|
||||||
@@ -129,7 +239,7 @@
|
|||||||
│ Max. Text Size: 1979
|
│ Max. Text Size: 1979
|
||||||
│
|
│
|
||||||
│ Variable (string) strTmp
|
│ Variable (string) strTmp
|
||||||
│ @@ -363,34 +360,14 @@
|
│ @@ -376,34 +372,14 @@
|
||||||
│ Scope : local
|
│ Scope : local
|
||||||
│ Dragging : 0
|
│ Dragging : 0
|
||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
@@ -164,7 +274,7 @@
|
|||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
│ Associated Keyboard: none
|
│ Associated Keyboard: none
|
||||||
│ Text : PM
|
│ Text : PM
|
||||||
│ @@ -572,15 +549,14 @@
|
│ @@ -585,15 +561,14 @@
|
||||||
│ if(tTmp.txt!="")
|
│ if(tTmp.txt!="")
|
||||||
│ {
|
│ {
|
||||||
│ covx tTmp.txt,defaultFontColor,0,0
|
│ covx tTmp.txt,defaultFontColor,0,0
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page cardAlarm
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page cardChart
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page cardEntities
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
//wup=cardEntities
|
//wup=cardEntities
|
||||||
//remove background & activate reparse mode
|
//remove background & activate reparse mode
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page cardGrid
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
//remove background & activate reparse mode
|
//remove background & activate reparse mode
|
||||||
vis p0,0
|
vis p0,0
|
||||||
@@ -1167,6 +1179,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity1.txt,"~",16
|
spstr strCommand.txt,bEntity1.txt,"~",16
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity1.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity1.font=sys1
|
||||||
|
substr bEntity1.txt,bEntity1.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity1,1
|
vis bEntity1,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",17
|
spstr strCommand.txt,tTmp.txt,"~",17
|
||||||
@@ -1188,6 +1211,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity2.txt,"~",22
|
spstr strCommand.txt,bEntity2.txt,"~",22
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity2.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity2.font=sys1
|
||||||
|
substr bEntity2.txt,bEntity2.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity2,1
|
vis bEntity2,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",23
|
spstr strCommand.txt,tTmp.txt,"~",23
|
||||||
@@ -1209,6 +1243,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity3.txt,"~",28
|
spstr strCommand.txt,bEntity3.txt,"~",28
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity3.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity3.font=sys1
|
||||||
|
substr bEntity3.txt,bEntity3.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity3,1
|
vis bEntity3,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",29
|
spstr strCommand.txt,tTmp.txt,"~",29
|
||||||
@@ -1230,6 +1275,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity4.txt,"~",34
|
spstr strCommand.txt,bEntity4.txt,"~",34
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity4.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity4.font=sys1
|
||||||
|
substr bEntity4.txt,bEntity4.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity4,1
|
vis bEntity4,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",35
|
spstr strCommand.txt,tTmp.txt,"~",35
|
||||||
@@ -1251,6 +1307,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity5.txt,"~",40
|
spstr strCommand.txt,bEntity5.txt,"~",40
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity5.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity5.font=sys1
|
||||||
|
substr bEntity5.txt,bEntity5.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity5,1
|
vis bEntity5,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",41
|
spstr strCommand.txt,tTmp.txt,"~",41
|
||||||
@@ -1272,6 +1339,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity6.txt,"~",46
|
spstr strCommand.txt,bEntity6.txt,"~",46
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity6.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity6.font=sys1
|
||||||
|
substr bEntity6.txt,bEntity6.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity6,1
|
vis bEntity6,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",47
|
spstr strCommand.txt,tTmp.txt,"~",47
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page cardGrid2
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
//remove background & activate reparse mode
|
//remove background & activate reparse mode
|
||||||
vis p0,0
|
vis p0,0
|
||||||
@@ -1389,6 +1401,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity1.txt,"~",16
|
spstr strCommand.txt,bEntity1.txt,"~",16
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity1.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity1.font=sys1
|
||||||
|
substr bEntity1.txt,bEntity1.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity1,1
|
vis bEntity1,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",17
|
spstr strCommand.txt,tTmp.txt,"~",17
|
||||||
@@ -1410,6 +1433,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity2.txt,"~",22
|
spstr strCommand.txt,bEntity2.txt,"~",22
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity2.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity2.font=sys1
|
||||||
|
substr bEntity2.txt,bEntity2.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity2,1
|
vis bEntity2,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",23
|
spstr strCommand.txt,tTmp.txt,"~",23
|
||||||
@@ -1431,6 +1465,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity3.txt,"~",28
|
spstr strCommand.txt,bEntity3.txt,"~",28
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity3.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity3.font=sys1
|
||||||
|
substr bEntity3.txt,bEntity3.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity3,1
|
vis bEntity3,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",29
|
spstr strCommand.txt,tTmp.txt,"~",29
|
||||||
@@ -1452,6 +1497,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity4.txt,"~",34
|
spstr strCommand.txt,bEntity4.txt,"~",34
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity4.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity4.font=sys1
|
||||||
|
substr bEntity4.txt,bEntity4.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity4,1
|
vis bEntity4,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",35
|
spstr strCommand.txt,tTmp.txt,"~",35
|
||||||
@@ -1473,6 +1529,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity5.txt,"~",40
|
spstr strCommand.txt,bEntity5.txt,"~",40
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity5.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity5.font=sys1
|
||||||
|
substr bEntity5.txt,bEntity5.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity5,1
|
vis bEntity5,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",41
|
spstr strCommand.txt,tTmp.txt,"~",41
|
||||||
@@ -1494,6 +1561,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity6.txt,"~",46
|
spstr strCommand.txt,bEntity6.txt,"~",46
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity6.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity6.font=sys1
|
||||||
|
substr bEntity6.txt,bEntity6.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity6,1
|
vis bEntity6,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",47
|
spstr strCommand.txt,tTmp.txt,"~",47
|
||||||
@@ -1515,6 +1593,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity7.txt,"~",52
|
spstr strCommand.txt,bEntity7.txt,"~",52
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity7.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity7.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity7.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity7.font=sys1
|
||||||
|
substr bEntity7.txt,bEntity7.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity7,1
|
vis bEntity7,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",53
|
spstr strCommand.txt,tTmp.txt,"~",53
|
||||||
@@ -1536,6 +1625,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity8.txt,"~",58
|
spstr strCommand.txt,bEntity8.txt,"~",58
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity8.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity8.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity8.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity8.font=sys1
|
||||||
|
substr bEntity8.txt,bEntity8.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity8,1
|
vis bEntity8,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",59
|
spstr strCommand.txt,tTmp.txt,"~",59
|
||||||
@@ -1622,6 +1722,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardChart
|
page cardChart
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardLChart")
|
||||||
|
{
|
||||||
|
page cardLChart
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page cardLChart
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page cardMedia
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
@@ -1485,6 +1497,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity1.txt,"~",25
|
spstr strCommand.txt,bEntity1.txt,"~",25
|
||||||
vis bEntity1,1
|
vis bEntity1,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity1.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity1.font=sys1
|
||||||
|
substr bEntity1.txt,bEntity1.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",26
|
spstr strCommand.txt,tTmp.txt,"~",26
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1506,6 +1529,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity2.txt,"~",31
|
spstr strCommand.txt,bEntity2.txt,"~",31
|
||||||
vis bEntity2,1
|
vis bEntity2,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity2.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity2.font=sys1
|
||||||
|
substr bEntity2.txt,bEntity2.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",32
|
spstr strCommand.txt,tTmp.txt,"~",32
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1527,6 +1561,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity3.txt,"~",37
|
spstr strCommand.txt,bEntity3.txt,"~",37
|
||||||
vis bEntity3,1
|
vis bEntity3,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity3.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity3.font=sys1
|
||||||
|
substr bEntity3.txt,bEntity3.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",38
|
spstr strCommand.txt,tTmp.txt,"~",38
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1548,6 +1593,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity4.txt,"~",43
|
spstr strCommand.txt,bEntity4.txt,"~",43
|
||||||
vis bEntity4,1
|
vis bEntity4,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity4.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity4.font=sys1
|
||||||
|
substr bEntity4.txt,bEntity4.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",44
|
spstr strCommand.txt,tTmp.txt,"~",44
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1569,6 +1625,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity5.txt,"~",49
|
spstr strCommand.txt,bEntity5.txt,"~",49
|
||||||
vis bEntity5,1
|
vis bEntity5,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity5.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity5.font=sys1
|
||||||
|
substr bEntity5.txt,bEntity5.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",50
|
spstr strCommand.txt,tTmp.txt,"~",50
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1590,6 +1657,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity6.txt,"~",55
|
spstr strCommand.txt,bEntity6.txt,"~",55
|
||||||
vis bEntity6,1
|
vis bEntity6,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity6.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity6.font=sys1
|
||||||
|
substr bEntity6.txt,bEntity6.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",56
|
spstr strCommand.txt,tTmp.txt,"~",56
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page cardPower
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page cardQR
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page cardThermo
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
@@ -28,6 +40,11 @@ Page cardThermo
|
|||||||
vis xTempMin1,0
|
vis xTempMin1,0
|
||||||
vis xTempMax1,0
|
vis xTempMax1,0
|
||||||
vis xTempStep1,0
|
vis xTempStep1,0
|
||||||
|
vis xTempDest,0
|
||||||
|
vis btUp,0
|
||||||
|
vis btDown,0
|
||||||
|
vis tCF,0
|
||||||
|
vis btDetail,0
|
||||||
//tEntity.txt=tHeading.txt
|
//tEntity.txt=tHeading.txt
|
||||||
// disable all buttons
|
// disable all buttons
|
||||||
vis bt0,0
|
vis bt0,0
|
||||||
@@ -1730,6 +1747,20 @@ Timer tmSerial
|
|||||||
vis xTempDest2,1
|
vis xTempDest2,1
|
||||||
vis bDown2,1
|
vis bDown2,1
|
||||||
vis tCF2,1
|
vis tCF2,1
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
vis btUp,1
|
||||||
|
vis xTempDest,1
|
||||||
|
vis btDown,1
|
||||||
|
vis tCF,1
|
||||||
|
vis btUp1,0
|
||||||
|
vis xTempDest1,0
|
||||||
|
vis btDown1,0
|
||||||
|
vis tCF1,0
|
||||||
|
vis bUp2,0
|
||||||
|
vis xTempDest2,0
|
||||||
|
vis bDown2,0
|
||||||
|
vis tCF2,0
|
||||||
}
|
}
|
||||||
//Show btDetail
|
//Show btDetail
|
||||||
spstr strCommand.txt,tTmp.txt,"~",58
|
spstr strCommand.txt,tTmp.txt,"~",58
|
||||||
|
|||||||
@@ -10,18 +10,18 @@ pageIcons
|
|||||||
7 Component(s)
|
7 Component(s)
|
||||||
0 Line(s) of event code
|
0 Line(s) of event code
|
||||||
0 Unique line(s) of event code
|
0 Unique line(s) of event code
|
||||||
|
pageStartup
|
||||||
|
20 Component(s)
|
||||||
|
198 Line(s) of event code
|
||||||
|
137 Unique line(s) of event code
|
||||||
popupTimer
|
popupTimer
|
||||||
42 Component(s)
|
42 Component(s)
|
||||||
516 Line(s) of event code
|
516 Line(s) of event code
|
||||||
257 Unique line(s) of event code
|
257 Unique line(s) of event code
|
||||||
pageStartup
|
cardLChart
|
||||||
20 Component(s)
|
|
||||||
193 Line(s) of event code
|
|
||||||
135 Unique line(s) of event code
|
|
||||||
cardChart
|
|
||||||
33 Component(s)
|
33 Component(s)
|
||||||
437 Line(s) of event code
|
412 Line(s) of event code
|
||||||
296 Unique line(s) of event code
|
267 Unique line(s) of event code
|
||||||
popupInSel
|
popupInSel
|
||||||
34 Component(s)
|
34 Component(s)
|
||||||
621 Line(s) of event code
|
621 Line(s) of event code
|
||||||
@@ -42,61 +42,61 @@ popupFan
|
|||||||
27 Component(s)
|
27 Component(s)
|
||||||
355 Line(s) of event code
|
355 Line(s) of event code
|
||||||
206 Unique line(s) of event code
|
206 Unique line(s) of event code
|
||||||
|
cardChart
|
||||||
|
33 Component(s)
|
||||||
|
447 Line(s) of event code
|
||||||
|
297 Unique line(s) of event code
|
||||||
cardQR
|
cardQR
|
||||||
34 Component(s)
|
34 Component(s)
|
||||||
410 Line(s) of event code
|
420 Line(s) of event code
|
||||||
238 Unique line(s) of event code
|
239 Unique line(s) of event code
|
||||||
cardAlarm
|
|
||||||
43 Component(s)
|
|
||||||
500 Line(s) of event code
|
|
||||||
273 Unique line(s) of event code
|
|
||||||
popupLightNew
|
popupLightNew
|
||||||
23 Component(s)
|
23 Component(s)
|
||||||
412 Line(s) of event code
|
412 Line(s) of event code
|
||||||
209 Unique line(s) of event code
|
209 Unique line(s) of event code
|
||||||
screensaver
|
screensaver2
|
||||||
46 Component(s)
|
58 Component(s)
|
||||||
435 Line(s) of event code
|
362 Line(s) of event code
|
||||||
309 Unique line(s) of event code
|
248 Unique line(s) of event code
|
||||||
cardPower
|
|
||||||
54 Component(s)
|
|
||||||
531 Line(s) of event code
|
|
||||||
349 Unique line(s) of event code
|
|
||||||
cardLChart
|
|
||||||
33 Component(s)
|
|
||||||
402 Line(s) of event code
|
|
||||||
266 Unique line(s) of event code
|
|
||||||
cardThermo
|
cardThermo
|
||||||
57 Component(s)
|
57 Component(s)
|
||||||
540 Line(s) of event code
|
569 Line(s) of event code
|
||||||
319 Unique line(s) of event code
|
337 Unique line(s) of event code
|
||||||
|
cardAlarm
|
||||||
|
43 Component(s)
|
||||||
|
510 Line(s) of event code
|
||||||
|
274 Unique line(s) of event code
|
||||||
cardMedia
|
cardMedia
|
||||||
59 Component(s)
|
59 Component(s)
|
||||||
649 Line(s) of event code
|
713 Line(s) of event code
|
||||||
322 Unique line(s) of event code
|
357 Unique line(s) of event code
|
||||||
cardGrid2
|
screensaver
|
||||||
52 Component(s)
|
46 Component(s)
|
||||||
617 Line(s) of event code
|
445 Line(s) of event code
|
||||||
338 Unique line(s) of event code
|
310 Unique line(s) of event code
|
||||||
popupLight
|
popupLight
|
||||||
28 Component(s)
|
28 Component(s)
|
||||||
412 Line(s) of event code
|
412 Line(s) of event code
|
||||||
227 Unique line(s) of event code
|
227 Unique line(s) of event code
|
||||||
cardGrid
|
cardGrid
|
||||||
44 Component(s)
|
44 Component(s)
|
||||||
529 Line(s) of event code
|
593 Line(s) of event code
|
||||||
298 Unique line(s) of event code
|
333 Unique line(s) of event code
|
||||||
|
cardPower
|
||||||
|
54 Component(s)
|
||||||
|
541 Line(s) of event code
|
||||||
|
350 Unique line(s) of event code
|
||||||
|
cardGrid2
|
||||||
|
52 Component(s)
|
||||||
|
703 Line(s) of event code
|
||||||
|
385 Unique line(s) of event code
|
||||||
cardEntities
|
cardEntities
|
||||||
67 Component(s)
|
67 Component(s)
|
||||||
1194 Line(s) of event code
|
1204 Line(s) of event code
|
||||||
535 Unique line(s) of event code
|
536 Unique line(s) of event code
|
||||||
screensaver2
|
|
||||||
58 Component(s)
|
|
||||||
352 Line(s) of event code
|
|
||||||
247 Unique line(s) of event code
|
|
||||||
|
|
||||||
Total
|
Total
|
||||||
23 Page(s)
|
23 Page(s)
|
||||||
875 Component(s)
|
875 Component(s)
|
||||||
10379 Line(s) of event code
|
10707 Line(s) of event code
|
||||||
2407 Unique line(s) of event code
|
2466 Unique line(s) of event code
|
||||||
|
|||||||
@@ -396,7 +396,7 @@ Text tVersion
|
|||||||
Horizontal Alignment: center
|
Horizontal Alignment: center
|
||||||
Vertical Alignment : center
|
Vertical Alignment : center
|
||||||
Input Type : character
|
Input Type : character
|
||||||
Text : 52
|
Text : 53
|
||||||
Max. Text Size : 10
|
Max. Text Size : 10
|
||||||
Word wrap : disabled
|
Word wrap : disabled
|
||||||
Horizontal Spacing : 0
|
Horizontal Spacing : 0
|
||||||
@@ -575,6 +575,12 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
covx tTmp.txt,defaultFontColor,0,0
|
covx tTmp.txt,defaultFontColor,0,0
|
||||||
}
|
}
|
||||||
|
// get feature flag popup
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",5
|
||||||
|
if(tTmp.txt!="")
|
||||||
|
{
|
||||||
|
covx tTmp.txt,featNewSliders,0,0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="timeout")
|
if(tInstruction.txt=="timeout")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page screensaver
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
recmod=1
|
recmod=1
|
||||||
baud=115200
|
baud=115200
|
||||||
vis tInstruction,0
|
vis tInstruction,0
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page screensaver2
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
recmod=1
|
recmod=1
|
||||||
baud=115200
|
baud=115200
|
||||||
vis tInstruction,0
|
vis tInstruction,0
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page cardAlarm
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page cardChart
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page cardEntities
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
//wup=cardEntities
|
//wup=cardEntities
|
||||||
//remove background & activate reparse mode
|
//remove background & activate reparse mode
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page cardGrid
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
//remove background & activate reparse mode
|
//remove background & activate reparse mode
|
||||||
vis p0,0
|
vis p0,0
|
||||||
@@ -719,6 +731,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity1.txt,"~",16
|
spstr strCommand.txt,bEntity1.txt,"~",16
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity1.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity1.font=sys1
|
||||||
|
substr bEntity1.txt,bEntity1.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity1,1
|
vis bEntity1,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",17
|
spstr strCommand.txt,tTmp.txt,"~",17
|
||||||
@@ -740,6 +763,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity2.txt,"~",22
|
spstr strCommand.txt,bEntity2.txt,"~",22
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity2.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity2.font=sys1
|
||||||
|
substr bEntity2.txt,bEntity2.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity2,1
|
vis bEntity2,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",23
|
spstr strCommand.txt,tTmp.txt,"~",23
|
||||||
@@ -761,6 +795,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity3.txt,"~",28
|
spstr strCommand.txt,bEntity3.txt,"~",28
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity3.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity3.font=sys1
|
||||||
|
substr bEntity3.txt,bEntity3.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity3,1
|
vis bEntity3,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",29
|
spstr strCommand.txt,tTmp.txt,"~",29
|
||||||
@@ -782,6 +827,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity4.txt,"~",34
|
spstr strCommand.txt,bEntity4.txt,"~",34
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity4.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity4.font=sys1
|
||||||
|
substr bEntity4.txt,bEntity4.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity4,1
|
vis bEntity4,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",35
|
spstr strCommand.txt,tTmp.txt,"~",35
|
||||||
@@ -803,6 +859,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity5.txt,"~",40
|
spstr strCommand.txt,bEntity5.txt,"~",40
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity5.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity5.font=sys1
|
||||||
|
substr bEntity5.txt,bEntity5.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity5,1
|
vis bEntity5,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",41
|
spstr strCommand.txt,tTmp.txt,"~",41
|
||||||
@@ -824,6 +891,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity6.txt,"~",46
|
spstr strCommand.txt,bEntity6.txt,"~",46
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity6.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity6.font=sys1
|
||||||
|
substr bEntity6.txt,bEntity6.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity6,1
|
vis bEntity6,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",47
|
spstr strCommand.txt,tTmp.txt,"~",47
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page cardGrid2
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
//remove background & activate reparse mode
|
//remove background & activate reparse mode
|
||||||
vis p0,0
|
vis p0,0
|
||||||
@@ -853,6 +865,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity1.txt,"~",16
|
spstr strCommand.txt,bEntity1.txt,"~",16
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity1.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity1.font=sys1
|
||||||
|
substr bEntity1.txt,bEntity1.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity1,1
|
vis bEntity1,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",17
|
spstr strCommand.txt,tTmp.txt,"~",17
|
||||||
@@ -874,6 +897,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity2.txt,"~",22
|
spstr strCommand.txt,bEntity2.txt,"~",22
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity2.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity2.font=sys1
|
||||||
|
substr bEntity2.txt,bEntity2.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity2,1
|
vis bEntity2,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",23
|
spstr strCommand.txt,tTmp.txt,"~",23
|
||||||
@@ -895,6 +929,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity3.txt,"~",28
|
spstr strCommand.txt,bEntity3.txt,"~",28
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity3.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity3.font=sys1
|
||||||
|
substr bEntity3.txt,bEntity3.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity3,1
|
vis bEntity3,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",29
|
spstr strCommand.txt,tTmp.txt,"~",29
|
||||||
@@ -916,6 +961,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity4.txt,"~",34
|
spstr strCommand.txt,bEntity4.txt,"~",34
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity4.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity4.font=sys1
|
||||||
|
substr bEntity4.txt,bEntity4.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity4,1
|
vis bEntity4,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",35
|
spstr strCommand.txt,tTmp.txt,"~",35
|
||||||
@@ -937,6 +993,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity5.txt,"~",40
|
spstr strCommand.txt,bEntity5.txt,"~",40
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity5.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity5.font=sys1
|
||||||
|
substr bEntity5.txt,bEntity5.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity5,1
|
vis bEntity5,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",41
|
spstr strCommand.txt,tTmp.txt,"~",41
|
||||||
@@ -958,6 +1025,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity6.txt,"~",46
|
spstr strCommand.txt,bEntity6.txt,"~",46
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity6.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity6.font=sys1
|
||||||
|
substr bEntity6.txt,bEntity6.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity6,1
|
vis bEntity6,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",47
|
spstr strCommand.txt,tTmp.txt,"~",47
|
||||||
@@ -979,6 +1057,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity7.txt,"~",52
|
spstr strCommand.txt,bEntity7.txt,"~",52
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity7.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity7.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity7.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity7.font=sys1
|
||||||
|
substr bEntity7.txt,bEntity7.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity7,1
|
vis bEntity7,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",53
|
spstr strCommand.txt,tTmp.txt,"~",53
|
||||||
@@ -1000,6 +1089,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity8.txt,"~",58
|
spstr strCommand.txt,bEntity8.txt,"~",58
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity8.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity8.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity8.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity8.font=sys1
|
||||||
|
substr bEntity8.txt,bEntity8.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity8,1
|
vis bEntity8,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",59
|
spstr strCommand.txt,tTmp.txt,"~",59
|
||||||
@@ -1086,6 +1186,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardChart
|
page cardChart
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardLChart")
|
||||||
|
{
|
||||||
|
page cardLChart
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page cardLChart
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page cardMedia
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
@@ -997,6 +1009,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity1.txt,"~",25
|
spstr strCommand.txt,bEntity1.txt,"~",25
|
||||||
vis bEntity1,1
|
vis bEntity1,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity1.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity1.font=sys1
|
||||||
|
substr bEntity1.txt,bEntity1.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",26
|
spstr strCommand.txt,tTmp.txt,"~",26
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1018,6 +1041,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity2.txt,"~",31
|
spstr strCommand.txt,bEntity2.txt,"~",31
|
||||||
vis bEntity2,1
|
vis bEntity2,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity2.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity2.font=sys1
|
||||||
|
substr bEntity2.txt,bEntity2.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",32
|
spstr strCommand.txt,tTmp.txt,"~",32
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1039,6 +1073,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity3.txt,"~",37
|
spstr strCommand.txt,bEntity3.txt,"~",37
|
||||||
vis bEntity3,1
|
vis bEntity3,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity3.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity3.font=sys1
|
||||||
|
substr bEntity3.txt,bEntity3.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",38
|
spstr strCommand.txt,tTmp.txt,"~",38
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1060,6 +1105,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity4.txt,"~",43
|
spstr strCommand.txt,bEntity4.txt,"~",43
|
||||||
vis bEntity4,1
|
vis bEntity4,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity4.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity4.font=sys1
|
||||||
|
substr bEntity4.txt,bEntity4.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",44
|
spstr strCommand.txt,tTmp.txt,"~",44
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1081,6 +1137,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity5.txt,"~",49
|
spstr strCommand.txt,bEntity5.txt,"~",49
|
||||||
vis bEntity5,1
|
vis bEntity5,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity5.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity5.font=sys1
|
||||||
|
substr bEntity5.txt,bEntity5.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",50
|
spstr strCommand.txt,tTmp.txt,"~",50
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1102,6 +1169,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity6.txt,"~",55
|
spstr strCommand.txt,bEntity6.txt,"~",55
|
||||||
vis bEntity6,1
|
vis bEntity6,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity6.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity6.font=sys1
|
||||||
|
substr bEntity6.txt,bEntity6.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",56
|
spstr strCommand.txt,tTmp.txt,"~",56
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page cardPower
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page cardQR
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page cardThermo
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
@@ -20,6 +32,11 @@ Page cardThermo
|
|||||||
vis xTempMin1,0
|
vis xTempMin1,0
|
||||||
vis xTempMax1,0
|
vis xTempMax1,0
|
||||||
vis xTempStep1,0
|
vis xTempStep1,0
|
||||||
|
vis xTempDest,0
|
||||||
|
vis btUp,0
|
||||||
|
vis btDown,0
|
||||||
|
vis tCF,0
|
||||||
|
vis btDetail,0
|
||||||
//tEntity.txt=tHeading.txt
|
//tEntity.txt=tHeading.txt
|
||||||
// disable all buttons
|
// disable all buttons
|
||||||
vis bt0,0
|
vis bt0,0
|
||||||
@@ -1006,6 +1023,20 @@ Timer tmSerial
|
|||||||
vis xTempDest2,1
|
vis xTempDest2,1
|
||||||
vis bDown2,1
|
vis bDown2,1
|
||||||
vis tCF2,1
|
vis tCF2,1
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
vis btUp,1
|
||||||
|
vis xTempDest,1
|
||||||
|
vis btDown,1
|
||||||
|
vis tCF,1
|
||||||
|
vis btUp1,0
|
||||||
|
vis xTempDest1,0
|
||||||
|
vis btDown1,0
|
||||||
|
vis tCF1,0
|
||||||
|
vis bUp2,0
|
||||||
|
vis xTempDest2,0
|
||||||
|
vis bDown2,0
|
||||||
|
vis tCF2,0
|
||||||
}
|
}
|
||||||
//Show btDetail
|
//Show btDetail
|
||||||
spstr strCommand.txt,tTmp.txt,"~",58
|
spstr strCommand.txt,tTmp.txt,"~",58
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ Text tVersion
|
|||||||
Dragging : 0
|
Dragging : 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Associated Keyboard: none
|
Associated Keyboard: none
|
||||||
Text : 52
|
Text : 53
|
||||||
Max. Text Size : 10
|
Max. Text Size : 10
|
||||||
|
|
||||||
Picture p0
|
Picture p0
|
||||||
@@ -279,6 +279,12 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
covx tTmp.txt,defaultFontColor,0,0
|
covx tTmp.txt,defaultFontColor,0,0
|
||||||
}
|
}
|
||||||
|
// get feature flag popup
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",5
|
||||||
|
if(tTmp.txt!="")
|
||||||
|
{
|
||||||
|
covx tTmp.txt,featNewSliders,0,0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="timeout")
|
if(tInstruction.txt=="timeout")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page screensaver
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
recmod=1
|
recmod=1
|
||||||
baud=115200
|
baud=115200
|
||||||
vis tInstruction,0
|
vis tInstruction,0
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page screensaver2
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
recmod=1
|
recmod=1
|
||||||
baud=115200
|
baud=115200
|
||||||
vis tInstruction,0
|
vis tInstruction,0
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,17 @@
|
|||||||
--- HMI/n2t-out
|
--- HMI/n2t-out
|
||||||
+++ HMI/US/portrait/n2t-out
|
+++ HMI/US/portrait/n2t-out
|
||||||
|
├── file list
|
||||||
|
│ @@ -1,10 +1,9 @@
|
||||||
|
│ Program.s.txt
|
||||||
|
│ cardAlarm.txt
|
||||||
|
│ -cardBurnRec.txt
|
||||||
|
│ cardChart.txt
|
||||||
|
│ cardEntities.txt
|
||||||
|
│ cardGrid.txt
|
||||||
|
│ cardGrid2.txt
|
||||||
|
│ cardLChart.txt
|
||||||
|
│ cardMedia.txt
|
||||||
|
│ cardPower.txt
|
||||||
│ --- HMI/n2t-out/Program.s.txt
|
│ --- HMI/n2t-out/Program.s.txt
|
||||||
├── +++ HMI/US/portrait/n2t-out/Program.s.txt
|
├── +++ HMI/US/portrait/n2t-out/Program.s.txt
|
||||||
│ @@ -12,11 +12,11 @@
|
│ @@ -12,11 +12,11 @@
|
||||||
@@ -16,9 +28,95 @@
|
|||||||
│ + //lcd_dev fffb 0002 0000 0020
|
│ + //lcd_dev fffb 0002 0000 0020
|
||||||
│ printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
|
│ printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
|
||||||
│ page pageStartup
|
│ page pageStartup
|
||||||
|
│ --- HMI/n2t-out/cardAlarm.txt
|
||||||
|
├── +++ HMI/US/portrait/n2t-out/cardAlarm.txt
|
||||||
|
│ @@ -7,26 +7,14 @@
|
||||||
|
│ Swide up page ID : disabled
|
||||||
|
│ Swide down page ID : disabled
|
||||||
|
│ Swide left page ID : disabled
|
||||||
|
│ Swide right page ID: disabled
|
||||||
|
│
|
||||||
|
│ Events
|
||||||
|
│ Preinitialize Event
|
||||||
|
│ - tSend.txt="event,renderCurrentPage"
|
||||||
|
│ - //send calc crc
|
||||||
|
│ - btlen tSend.txt,sys0
|
||||||
|
│ - crcrest 1,0xffff // reset CRC
|
||||||
|
│ - crcputh 55 bb
|
||||||
|
│ - crcputs sys0,2
|
||||||
|
│ - crcputs tSend.txt,0
|
||||||
|
│ - //send cmd
|
||||||
|
│ - printh 55 bb
|
||||||
|
│ - prints sys0,2
|
||||||
|
│ - prints tSend.txt,0
|
||||||
|
│ - prints crcval,2
|
||||||
|
│ dim=dimValueNormal
|
||||||
|
│ vis p0,0
|
||||||
|
│ vis tSend,0
|
||||||
|
│ vis tInstruction,0
|
||||||
|
│ vis tTmp,0
|
||||||
|
│ vis tId,0
|
||||||
|
│ vis arm1,0
|
||||||
|
│ --- HMI/n2t-out/cardChart.txt
|
||||||
|
├── +++ HMI/US/portrait/n2t-out/cardChart.txt
|
||||||
|
│ @@ -7,26 +7,14 @@
|
||||||
|
│ Swide up page ID : disabled
|
||||||
|
│ Swide down page ID : disabled
|
||||||
|
│ Swide left page ID : disabled
|
||||||
|
│ Swide right page ID: disabled
|
||||||
|
│
|
||||||
|
│ Events
|
||||||
|
│ Preinitialize Event
|
||||||
|
│ - tSend.txt="event,renderCurrentPage"
|
||||||
|
│ - //send calc crc
|
||||||
|
│ - btlen tSend.txt,sys0
|
||||||
|
│ - crcrest 1,0xffff // reset CRC
|
||||||
|
│ - crcputh 55 bb
|
||||||
|
│ - crcputs sys0,2
|
||||||
|
│ - crcputs tSend.txt,0
|
||||||
|
│ - //send cmd
|
||||||
|
│ - printh 55 bb
|
||||||
|
│ - prints sys0,2
|
||||||
|
│ - prints tSend.txt,0
|
||||||
|
│ - prints crcval,2
|
||||||
|
│ dim=dimValueNormal
|
||||||
|
│ vis p0,0
|
||||||
|
│ vis tSend,0
|
||||||
|
│ vis tInstruction,0
|
||||||
|
│ vis tTmp,0
|
||||||
|
│ vis tId,0
|
||||||
|
│ vis bPrev,0
|
||||||
│ --- HMI/n2t-out/cardEntities.txt
|
│ --- HMI/n2t-out/cardEntities.txt
|
||||||
├── +++ HMI/US/portrait/n2t-out/cardEntities.txt
|
├── +++ HMI/US/portrait/n2t-out/cardEntities.txt
|
||||||
│ @@ -60,16 +60,36 @@
|
│ @@ -7,27 +7,14 @@
|
||||||
|
│ Swide up page ID : disabled
|
||||||
|
│ Swide down page ID : disabled
|
||||||
|
│ Swide left page ID : disabled
|
||||||
|
│ Swide right page ID: disabled
|
||||||
|
│
|
||||||
|
│ Events
|
||||||
|
│ Preinitialize Event
|
||||||
|
│ - tSend.txt="event,renderCurrentPage"
|
||||||
|
│ - //send calc crc
|
||||||
|
│ - btlen tSend.txt,sys0
|
||||||
|
│ - crcrest 1,0xffff // reset CRC
|
||||||
|
│ - crcputh 55 bb
|
||||||
|
│ - crcputs sys0,2
|
||||||
|
│ - crcputs tSend.txt,0
|
||||||
|
│ - //send cmd
|
||||||
|
│ - printh 55 bb
|
||||||
|
│ - prints sys0,2
|
||||||
|
│ - prints tSend.txt,0
|
||||||
|
│ - prints crcval,2
|
||||||
|
│ - dim=dimValueNormal
|
||||||
|
│ dim=dimValueNormal
|
||||||
|
│ //wup=cardEntities
|
||||||
|
│ //remove background & activate reparse mode
|
||||||
|
│ vis p0,0
|
||||||
|
│ recmod=1
|
||||||
|
│ baud=115200
|
||||||
|
│ //debug stuff
|
||||||
|
│ @@ -73,16 +60,36 @@
|
||||||
│ vis tIcon4,0
|
│ vis tIcon4,0
|
||||||
│ vis tEntity4,0
|
│ vis tEntity4,0
|
||||||
│ vis bText4,0
|
│ vis bText4,0
|
||||||
@@ -56,7 +154,7 @@
|
|||||||
│ b[sys0].pco=defaultFontColor
|
│ b[sys0].pco=defaultFontColor
|
||||||
│ }
|
│ }
|
||||||
│ if(b[sys0].type==53&&defaultBcoColor==0)
|
│ if(b[sys0].type==53&&defaultBcoColor==0)
|
||||||
│ @@ -85,45 +105,57 @@
|
│ @@ -98,45 +105,57 @@
|
||||||
│ }
|
│ }
|
||||||
│ }
|
│ }
|
||||||
│
|
│
|
||||||
@@ -120,7 +218,7 @@
|
|||||||
│ Text :
|
│ Text :
|
||||||
│ Max. Text Size: 500
|
│ Max. Text Size: 500
|
||||||
│
|
│
|
||||||
│ @@ -153,14 +185,26 @@
|
│ @@ -166,14 +185,26 @@
|
||||||
│
|
│
|
||||||
│ Variable (string) type4
|
│ Variable (string) type4
|
||||||
│ Attributes
|
│ Attributes
|
||||||
@@ -147,7 +245,7 @@
|
|||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
│ Associated Keyboard: none
|
│ Associated Keyboard: none
|
||||||
│ Value : 0
|
│ Value : 0
|
||||||
│ @@ -185,14 +229,30 @@
|
│ @@ -198,14 +229,30 @@
|
||||||
│ Attributes
|
│ Attributes
|
||||||
│ Scope : local
|
│ Scope : local
|
||||||
│ Dragging : 0
|
│ Dragging : 0
|
||||||
@@ -178,7 +276,7 @@
|
|||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
│ Associated Keyboard: none
|
│ Associated Keyboard: none
|
||||||
│ Text : tEntity1
|
│ Text : tEntity1
|
||||||
│ @@ -221,14 +281,32 @@
|
│ @@ -234,14 +281,32 @@
|
||||||
│ Scope : local
|
│ Scope : local
|
||||||
│ Dragging : 0
|
│ Dragging : 0
|
||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
@@ -211,7 +309,7 @@
|
|||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
│ Associated Keyboard: none
|
│ Associated Keyboard: none
|
||||||
│ Text :
|
│ Text :
|
||||||
│ @@ -266,14 +344,32 @@
|
│ @@ -279,14 +344,32 @@
|
||||||
│ Scope : local
|
│ Scope : local
|
||||||
│ Dragging : 0
|
│ Dragging : 0
|
||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
@@ -244,7 +342,7 @@
|
|||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
│ Associated Keyboard: none
|
│ Associated Keyboard: none
|
||||||
│ Text :
|
│ Text :
|
||||||
│ @@ -407,14 +503,68 @@
|
│ @@ -420,14 +503,68 @@
|
||||||
│ crcputs tSend.txt,0
|
│ crcputs tSend.txt,0
|
||||||
│ //send cmd
|
│ //send cmd
|
||||||
│ printh 55 bb
|
│ printh 55 bb
|
||||||
@@ -313,7 +411,7 @@
|
|||||||
│ Send Component ID: disabled
|
│ Send Component ID: disabled
|
||||||
│ State : unpressed
|
│ State : unpressed
|
||||||
│ Text : î
|
│ Text : î
|
||||||
│ @@ -503,14 +653,62 @@
|
│ @@ -516,14 +653,62 @@
|
||||||
│ crcputs tSend.txt,0
|
│ crcputs tSend.txt,0
|
||||||
│ //send cmd
|
│ //send cmd
|
||||||
│ printh 55 bb
|
│ printh 55 bb
|
||||||
@@ -376,7 +474,7 @@
|
|||||||
│ Send Component ID: disabled
|
│ Send Component ID: disabled
|
||||||
│ State : unpressed
|
│ State : unpressed
|
||||||
│ Text : î³
|
│ Text : î³
|
||||||
│ @@ -647,14 +845,62 @@
|
│ @@ -660,14 +845,62 @@
|
||||||
│ crcputs tSend.txt,0
|
│ crcputs tSend.txt,0
|
||||||
│ //send cmd
|
│ //send cmd
|
||||||
│ printh 55 bb
|
│ printh 55 bb
|
||||||
@@ -439,7 +537,7 @@
|
|||||||
│ Send Component ID: disabled
|
│ Send Component ID: disabled
|
||||||
│ State : unpressed
|
│ State : unpressed
|
||||||
│ Text :
|
│ Text :
|
||||||
│ @@ -743,14 +989,62 @@
|
│ @@ -756,14 +989,62 @@
|
||||||
│ crcputs tSend.txt,0
|
│ crcputs tSend.txt,0
|
||||||
│ //send cmd
|
│ //send cmd
|
||||||
│ printh 55 bb
|
│ printh 55 bb
|
||||||
@@ -502,7 +600,7 @@
|
|||||||
│ Send Component ID: disabled
|
│ Send Component ID: disabled
|
||||||
│ State : unpressed
|
│ State : unpressed
|
||||||
│ Text : î
|
│ Text : î
|
||||||
│ @@ -839,14 +1133,62 @@
|
│ @@ -852,14 +1133,62 @@
|
||||||
│ crcputs tSend.txt,0
|
│ crcputs tSend.txt,0
|
||||||
│ //send cmd
|
│ //send cmd
|
||||||
│ printh 55 bb
|
│ printh 55 bb
|
||||||
@@ -565,7 +663,7 @@
|
|||||||
│ Send Component ID: disabled
|
│ Send Component ID: disabled
|
||||||
│ State : unpressed
|
│ State : unpressed
|
||||||
│ Text :
|
│ Text :
|
||||||
│ @@ -943,14 +1285,66 @@
|
│ @@ -956,14 +1285,66 @@
|
||||||
│ crcputs tSend.txt,0
|
│ crcputs tSend.txt,0
|
||||||
│ //send cmd
|
│ //send cmd
|
||||||
│ printh 55 bb
|
│ printh 55 bb
|
||||||
@@ -632,7 +730,7 @@
|
|||||||
│ Send Component ID: disabled
|
│ Send Component ID: disabled
|
||||||
│
|
│
|
||||||
│ Events
|
│ Events
|
||||||
│ @@ -1099,14 +1493,92 @@
|
│ @@ -1112,14 +1493,92 @@
|
||||||
│ page popupInSel
|
│ page popupInSel
|
||||||
│ }
|
│ }
|
||||||
│ if(type4.txt=="timer")
|
│ if(type4.txt=="timer")
|
||||||
@@ -725,7 +823,7 @@
|
|||||||
│ Send Component ID: disabled
|
│ Send Component ID: disabled
|
||||||
│
|
│
|
||||||
│ Events
|
│ Events
|
||||||
│ @@ -1830,14 +2302,312 @@
|
│ @@ -1843,14 +2302,312 @@
|
||||||
│ covx tTmp.txt,sys0,0,0
|
│ covx tTmp.txt,sys0,0,0
|
||||||
│ hSlider4.minval=sys0
|
│ hSlider4.minval=sys0
|
||||||
│ //third value is max value
|
│ //third value is max value
|
||||||
@@ -1038,9 +1136,65 @@
|
|||||||
│ //command format pageType,specialPageName
|
│ //command format pageType,specialPageName
|
||||||
│ //write name of speical page to tId
|
│ //write name of speical page to tId
|
||||||
│ spstr strCommand.txt,tId.txt,"~",1
|
│ spstr strCommand.txt,tId.txt,"~",1
|
||||||
|
│ --- HMI/n2t-out/cardGrid.txt
|
||||||
|
├── +++ HMI/US/portrait/n2t-out/cardGrid.txt
|
||||||
|
│ @@ -7,26 +7,14 @@
|
||||||
|
│ Swide up page ID : disabled
|
||||||
|
│ Swide down page ID : disabled
|
||||||
|
│ Swide left page ID : disabled
|
||||||
|
│ Swide right page ID: disabled
|
||||||
|
│
|
||||||
|
│ Events
|
||||||
|
│ Preinitialize Event
|
||||||
|
│ - tSend.txt="event,renderCurrentPage"
|
||||||
|
│ - //send calc crc
|
||||||
|
│ - btlen tSend.txt,sys0
|
||||||
|
│ - crcrest 1,0xffff // reset CRC
|
||||||
|
│ - crcputh 55 bb
|
||||||
|
│ - crcputs sys0,2
|
||||||
|
│ - crcputs tSend.txt,0
|
||||||
|
│ - //send cmd
|
||||||
|
│ - printh 55 bb
|
||||||
|
│ - prints sys0,2
|
||||||
|
│ - prints tSend.txt,0
|
||||||
|
│ - prints crcval,2
|
||||||
|
│ dim=dimValueNormal
|
||||||
|
│ //remove background & activate reparse mode
|
||||||
|
│ vis p0,0
|
||||||
|
│ recmod=1
|
||||||
|
│ baud=115200
|
||||||
|
│ //debug stuff
|
||||||
|
│ vis tTmp,0
|
||||||
│ --- HMI/n2t-out/cardGrid2.txt
|
│ --- HMI/n2t-out/cardGrid2.txt
|
||||||
├── +++ HMI/US/portrait/n2t-out/cardGrid2.txt
|
├── +++ HMI/US/portrait/n2t-out/cardGrid2.txt
|
||||||
│ @@ -25,26 +25,28 @@
|
│ @@ -7,26 +7,14 @@
|
||||||
|
│ Swide up page ID : disabled
|
||||||
|
│ Swide down page ID : disabled
|
||||||
|
│ Swide left page ID : disabled
|
||||||
|
│ Swide right page ID: disabled
|
||||||
|
│
|
||||||
|
│ Events
|
||||||
|
│ Preinitialize Event
|
||||||
|
│ - tSend.txt="event,renderCurrentPage"
|
||||||
|
│ - //send calc crc
|
||||||
|
│ - btlen tSend.txt,sys0
|
||||||
|
│ - crcrest 1,0xffff // reset CRC
|
||||||
|
│ - crcputh 55 bb
|
||||||
|
│ - crcputs sys0,2
|
||||||
|
│ - crcputs tSend.txt,0
|
||||||
|
│ - //send cmd
|
||||||
|
│ - printh 55 bb
|
||||||
|
│ - prints sys0,2
|
||||||
|
│ - prints tSend.txt,0
|
||||||
|
│ - prints crcval,2
|
||||||
|
│ dim=dimValueNormal
|
||||||
|
│ //remove background & activate reparse mode
|
||||||
|
│ vis p0,0
|
||||||
|
│ recmod=1
|
||||||
|
│ baud=115200
|
||||||
|
│ //debug stuff
|
||||||
|
│ vis tTmp,0
|
||||||
|
│ @@ -37,26 +25,28 @@
|
||||||
│ vis bEntity2,0
|
│ vis bEntity2,0
|
||||||
│ vis bEntity3,0
|
│ vis bEntity3,0
|
||||||
│ vis bEntity4,0
|
│ vis bEntity4,0
|
||||||
@@ -1070,7 +1224,7 @@
|
|||||||
│ b[sys0].pco=defaultFontColor
|
│ b[sys0].pco=defaultFontColor
|
||||||
│ }
|
│ }
|
||||||
│ }
|
│ }
|
||||||
│ @@ -93,14 +95,20 @@
|
│ @@ -105,14 +95,20 @@
|
||||||
│
|
│
|
||||||
│ Variable (string) entn8
|
│ Variable (string) entn8
|
||||||
│ Attributes
|
│ Attributes
|
||||||
@@ -1091,7 +1245,7 @@
|
|||||||
│ Max. Text Size: 80
|
│ Max. Text Size: 80
|
||||||
│
|
│
|
||||||
│ Variable (string) nent2
|
│ Variable (string) nent2
|
||||||
│ @@ -165,14 +173,20 @@
|
│ @@ -177,14 +173,20 @@
|
||||||
│
|
│
|
||||||
│ Variable (string) type8
|
│ Variable (string) type8
|
||||||
│ Attributes
|
│ Attributes
|
||||||
@@ -1112,7 +1266,7 @@
|
|||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
│ Associated Keyboard: none
|
│ Associated Keyboard: none
|
||||||
│ Text : tEntity1
|
│ Text : tEntity1
|
||||||
│ @@ -237,14 +251,23 @@
|
│ @@ -249,14 +251,23 @@
|
||||||
│ Scope : local
|
│ Scope : local
|
||||||
│ Dragging : 0
|
│ Dragging : 0
|
||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
@@ -1136,7 +1290,7 @@
|
|||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
│ Associated Keyboard: none
|
│ Associated Keyboard: none
|
||||||
│ Text :
|
│ Text :
|
||||||
│ @@ -631,14 +654,58 @@
|
│ @@ -643,14 +654,58 @@
|
||||||
│ crcputs tSend.txt,0
|
│ crcputs tSend.txt,0
|
||||||
│ //send cmd
|
│ //send cmd
|
||||||
│ printh 55 bb
|
│ printh 55 bb
|
||||||
@@ -1195,7 +1349,7 @@
|
|||||||
│ Send Component ID: disabled
|
│ Send Component ID: disabled
|
||||||
│ State : unpressed
|
│ State : unpressed
|
||||||
│ Text : î³
|
│ Text : î³
|
||||||
│ @@ -1005,14 +1072,35 @@
|
│ @@ -1105,14 +1160,46 @@
|
||||||
│ spstr strCommand.txt,tTmp.txt,"~",59
|
│ spstr strCommand.txt,tTmp.txt,"~",59
|
||||||
│ covx tTmp.txt,sys0,0,0
|
│ covx tTmp.txt,sys0,0,0
|
||||||
│ bEntity8.pco=sys0
|
│ bEntity8.pco=sys0
|
||||||
@@ -1215,6 +1369,17 @@
|
|||||||
│ + {
|
│ + {
|
||||||
│ + // change icon
|
│ + // change icon
|
||||||
│ + spstr strCommand.txt,bEntity9.txt,"~",64
|
│ + spstr strCommand.txt,bEntity9.txt,"~",64
|
||||||
|
│ + // way to get force font adjustment
|
||||||
|
│ + strlen bEntity9.txt,sys0
|
||||||
|
│ + //check 2nd last char for ¬
|
||||||
|
│ + substr bEntity9.txt,tTmp.txt,sys0-2,1
|
||||||
|
│ + if(tTmp.txt=="¬")
|
||||||
|
│ + {
|
||||||
|
│ + substr bEntity9.txt,tTmp.txt,sys0-1,1
|
||||||
|
│ + covx tTmp.txt,sys1,0,0
|
||||||
|
│ + bEntity9.font=sys1
|
||||||
|
│ + substr bEntity9.txt,bEntity9.txt,0,sys0-2
|
||||||
|
│ + }
|
||||||
│ + vis bEntity9,1
|
│ + vis bEntity9,1
|
||||||
│ + // change icon color
|
│ + // change icon color
|
||||||
│ + spstr strCommand.txt,tTmp.txt,"~",65
|
│ + spstr strCommand.txt,tTmp.txt,"~",65
|
||||||
@@ -1231,9 +1396,94 @@
|
|||||||
│ //command format pageType,specialPageName
|
│ //command format pageType,specialPageName
|
||||||
│ //write name of speical page to tId
|
│ //write name of speical page to tId
|
||||||
│ spstr strCommand.txt,tId.txt,"~",1
|
│ spstr strCommand.txt,tId.txt,"~",1
|
||||||
|
│ --- HMI/n2t-out/cardLChart.txt
|
||||||
|
├── +++ HMI/US/portrait/n2t-out/cardLChart.txt
|
||||||
|
│ @@ -7,26 +7,14 @@
|
||||||
|
│ Swide up page ID : disabled
|
||||||
|
│ Swide down page ID : disabled
|
||||||
|
│ Swide left page ID : disabled
|
||||||
|
│ Swide right page ID: disabled
|
||||||
|
│
|
||||||
|
│ Events
|
||||||
|
│ Preinitialize Event
|
||||||
|
│ - tSend.txt="event,renderCurrentPage"
|
||||||
|
│ - //send calc crc
|
||||||
|
│ - btlen tSend.txt,sys0
|
||||||
|
│ - crcrest 1,0xffff // reset CRC
|
||||||
|
│ - crcputh 55 bb
|
||||||
|
│ - crcputs sys0,2
|
||||||
|
│ - crcputs tSend.txt,0
|
||||||
|
│ - //send cmd
|
||||||
|
│ - printh 55 bb
|
||||||
|
│ - prints sys0,2
|
||||||
|
│ - prints tSend.txt,0
|
||||||
|
│ - prints crcval,2
|
||||||
|
│ dim=dimValueNormal
|
||||||
|
│ vis p0,0
|
||||||
|
│ vis tSend,0
|
||||||
|
│ vis tInstruction,0
|
||||||
|
│ vis tTmp,0
|
||||||
|
│ vis tId,0
|
||||||
|
│ vis bPrev,0
|
||||||
|
│ --- HMI/n2t-out/cardMedia.txt
|
||||||
|
├── +++ HMI/US/portrait/n2t-out/cardMedia.txt
|
||||||
|
│ @@ -7,26 +7,14 @@
|
||||||
|
│ Swide up page ID : disabled
|
||||||
|
│ Swide down page ID : disabled
|
||||||
|
│ Swide left page ID : disabled
|
||||||
|
│ Swide right page ID: disabled
|
||||||
|
│
|
||||||
|
│ Events
|
||||||
|
│ Preinitialize Event
|
||||||
|
│ - tSend.txt="event,renderCurrentPage"
|
||||||
|
│ - //send calc crc
|
||||||
|
│ - btlen tSend.txt,sys0
|
||||||
|
│ - crcrest 1,0xffff // reset CRC
|
||||||
|
│ - crcputh 55 bb
|
||||||
|
│ - crcputs sys0,2
|
||||||
|
│ - crcputs tSend.txt,0
|
||||||
|
│ - //send cmd
|
||||||
|
│ - printh 55 bb
|
||||||
|
│ - prints sys0,2
|
||||||
|
│ - prints tSend.txt,0
|
||||||
|
│ - prints crcval,2
|
||||||
|
│ dim=dimValueNormal
|
||||||
|
│ vis p0,0
|
||||||
|
│ vis tSend,0
|
||||||
|
│ vis tInstruction,0
|
||||||
|
│ vis tTmp,0
|
||||||
|
│ vis tId,0
|
||||||
|
│ vis t5,0
|
||||||
│ --- HMI/n2t-out/cardPower.txt
|
│ --- HMI/n2t-out/cardPower.txt
|
||||||
├── +++ HMI/US/portrait/n2t-out/cardPower.txt
|
├── +++ HMI/US/portrait/n2t-out/cardPower.txt
|
||||||
│ @@ -45,16 +45,16 @@
|
│ @@ -7,26 +7,14 @@
|
||||||
|
│ Swide up page ID : disabled
|
||||||
|
│ Swide down page ID : disabled
|
||||||
|
│ Swide left page ID : disabled
|
||||||
|
│ Swide right page ID: disabled
|
||||||
|
│
|
||||||
|
│ Events
|
||||||
|
│ Preinitialize Event
|
||||||
|
│ - tSend.txt="event,renderCurrentPage"
|
||||||
|
│ - //send calc crc
|
||||||
|
│ - btlen tSend.txt,sys0
|
||||||
|
│ - crcrest 1,0xffff // reset CRC
|
||||||
|
│ - crcputh 55 bb
|
||||||
|
│ - crcputs sys0,2
|
||||||
|
│ - crcputs tSend.txt,0
|
||||||
|
│ - //send cmd
|
||||||
|
│ - printh 55 bb
|
||||||
|
│ - prints sys0,2
|
||||||
|
│ - prints tSend.txt,0
|
||||||
|
│ - prints crcval,2
|
||||||
|
│ dim=dimValueNormal
|
||||||
|
│ vis p0,0
|
||||||
|
│ vis tSend,0
|
||||||
|
│ vis tInstruction,0
|
||||||
|
│ vis tTmp,0
|
||||||
|
│ vis tId,0
|
||||||
|
│ vis bPrev,0
|
||||||
|
│ @@ -57,16 +45,16 @@
|
||||||
│ b[sys0].bco=defaultBcoColor
|
│ b[sys0].bco=defaultBcoColor
|
||||||
│ b[sys0].pco=defaultFontColor
|
│ b[sys0].pco=defaultFontColor
|
||||||
│ }
|
│ }
|
||||||
@@ -1252,7 +1502,7 @@
|
|||||||
│
|
│
|
||||||
│ Variable (string) nent1
|
│ Variable (string) nent1
|
||||||
│ Attributes
|
│ Attributes
|
||||||
│ @@ -75,39 +75,75 @@
|
│ @@ -87,39 +75,75 @@
|
||||||
│ Max. Text Size: 1000
|
│ Max. Text Size: 1000
|
||||||
│
|
│
|
||||||
│ Variable (int32) t0Speed
|
│ Variable (int32) t0Speed
|
||||||
@@ -1328,7 +1578,7 @@
|
|||||||
│ Max. Text Size: 20
|
│ Max. Text Size: 20
|
||||||
│
|
│
|
||||||
│ Variable (string) tInstruction
|
│ Variable (string) tInstruction
|
||||||
│ @@ -133,23 +169,14 @@
|
│ @@ -145,23 +169,14 @@
|
||||||
│ Scope : local
|
│ Scope : local
|
||||||
│ Dragging : 0
|
│ Dragging : 0
|
||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
@@ -1352,7 +1602,7 @@
|
|||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
│ Associated Keyboard: none
|
│ Associated Keyboard: none
|
||||||
│ Text :
|
│ Text :
|
||||||
│ @@ -169,23 +196,14 @@
|
│ @@ -181,23 +196,14 @@
|
||||||
│ Scope : local
|
│ Scope : local
|
||||||
│ Dragging : 0
|
│ Dragging : 0
|
||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
@@ -1376,7 +1626,7 @@
|
|||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
│ Associated Keyboard: none
|
│ Associated Keyboard: none
|
||||||
│ Text :
|
│ Text :
|
||||||
│ @@ -196,23 +214,14 @@
|
│ @@ -208,23 +214,14 @@
|
||||||
│ Scope : local
|
│ Scope : local
|
||||||
│ Dragging : 0
|
│ Dragging : 0
|
||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
@@ -1400,7 +1650,7 @@
|
|||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
│ Associated Keyboard: none
|
│ Associated Keyboard: none
|
||||||
│ Text :
|
│ Text :
|
||||||
│ @@ -223,23 +232,14 @@
|
│ @@ -235,23 +232,14 @@
|
||||||
│ Scope : local
|
│ Scope : local
|
||||||
│ Dragging : 0
|
│ Dragging : 0
|
||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
@@ -1424,7 +1674,7 @@
|
|||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
│ Associated Keyboard: none
|
│ Associated Keyboard: none
|
||||||
│ Text :
|
│ Text :
|
||||||
│ @@ -250,23 +250,14 @@
|
│ @@ -262,23 +250,14 @@
|
||||||
│ Scope : local
|
│ Scope : local
|
||||||
│ Dragging : 0
|
│ Dragging : 0
|
||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
@@ -1448,7 +1698,7 @@
|
|||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
│ Associated Keyboard: none
|
│ Associated Keyboard: none
|
||||||
│ Text :
|
│ Text :
|
||||||
│ @@ -277,23 +268,14 @@
|
│ @@ -289,23 +268,14 @@
|
||||||
│ Scope : local
|
│ Scope : local
|
||||||
│ Dragging : 0
|
│ Dragging : 0
|
||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
@@ -1472,7 +1722,7 @@
|
|||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
│ Associated Keyboard: none
|
│ Associated Keyboard: none
|
||||||
│ Text :
|
│ Text :
|
||||||
│ @@ -498,85 +480,79 @@
|
│ @@ -510,85 +480,79 @@
|
||||||
│ h0.val=h0.minval
|
│ h0.val=h0.minval
|
||||||
│ }
|
│ }
|
||||||
│ if(sys0<h0.minval)
|
│ if(sys0<h0.minval)
|
||||||
@@ -1558,7 +1808,7 @@
|
|||||||
│ Scope : local
|
│ Scope : local
|
||||||
│ Period (ms): 50
|
│ Period (ms): 50
|
||||||
│ Enabled : yes
|
│ Enabled : yes
|
||||||
│ @@ -962,15 +938,15 @@
|
│ @@ -974,15 +938,15 @@
|
||||||
│ }
|
│ }
|
||||||
│ if(tId.txt=="cardChart")
|
│ if(tId.txt=="cardChart")
|
||||||
│ {
|
│ {
|
||||||
@@ -1575,6 +1825,64 @@
|
|||||||
│ // get set time to global variable
|
│ // get set time to global variable
|
||||||
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
||||||
│ }
|
│ }
|
||||||
|
│ --- HMI/n2t-out/cardQR.txt
|
||||||
|
├── +++ HMI/US/portrait/n2t-out/cardQR.txt
|
||||||
|
│ @@ -7,26 +7,14 @@
|
||||||
|
│ Swide up page ID : disabled
|
||||||
|
│ Swide down page ID : disabled
|
||||||
|
│ Swide left page ID : disabled
|
||||||
|
│ Swide right page ID: disabled
|
||||||
|
│
|
||||||
|
│ Events
|
||||||
|
│ Preinitialize Event
|
||||||
|
│ - tSend.txt="event,renderCurrentPage"
|
||||||
|
│ - //send calc crc
|
||||||
|
│ - btlen tSend.txt,sys0
|
||||||
|
│ - crcrest 1,0xffff // reset CRC
|
||||||
|
│ - crcputh 55 bb
|
||||||
|
│ - crcputs sys0,2
|
||||||
|
│ - crcputs tSend.txt,0
|
||||||
|
│ - //send cmd
|
||||||
|
│ - printh 55 bb
|
||||||
|
│ - prints sys0,2
|
||||||
|
│ - prints tSend.txt,0
|
||||||
|
│ - prints crcval,2
|
||||||
|
│ dim=dimValueNormal
|
||||||
|
│ vis p0,0
|
||||||
|
│ vis tSend,0
|
||||||
|
│ vis tInstruction,0
|
||||||
|
│ vis tTmp,0
|
||||||
|
│ vis tId,0
|
||||||
|
│ vis bPrev,0
|
||||||
|
│ --- HMI/n2t-out/cardThermo.txt
|
||||||
|
├── +++ HMI/US/portrait/n2t-out/cardThermo.txt
|
||||||
|
│ @@ -7,26 +7,14 @@
|
||||||
|
│ Swide up page ID : disabled
|
||||||
|
│ Swide down page ID : disabled
|
||||||
|
│ Swide left page ID : disabled
|
||||||
|
│ Swide right page ID: disabled
|
||||||
|
│
|
||||||
|
│ Events
|
||||||
|
│ Preinitialize Event
|
||||||
|
│ - tSend.txt="event,renderCurrentPage"
|
||||||
|
│ - //send calc crc
|
||||||
|
│ - btlen tSend.txt,sys0
|
||||||
|
│ - crcrest 1,0xffff // reset CRC
|
||||||
|
│ - crcputh 55 bb
|
||||||
|
│ - crcputs sys0,2
|
||||||
|
│ - crcputs tSend.txt,0
|
||||||
|
│ - //send cmd
|
||||||
|
│ - printh 55 bb
|
||||||
|
│ - prints sys0,2
|
||||||
|
│ - prints tSend.txt,0
|
||||||
|
│ - prints crcval,2
|
||||||
|
│ dim=dimValueNormal
|
||||||
|
│ vis p0,0
|
||||||
|
│ vis tSend,0
|
||||||
|
│ vis tInstruction,0
|
||||||
|
│ vis tTmp,0
|
||||||
|
│ vis tId,0
|
||||||
|
│ vis xTempMin1,0
|
||||||
│ --- HMI/n2t-out/pageStartup.txt
|
│ --- HMI/n2t-out/pageStartup.txt
|
||||||
├── +++ HMI/US/portrait/n2t-out/pageStartup.txt
|
├── +++ HMI/US/portrait/n2t-out/pageStartup.txt
|
||||||
│ @@ -34,20 +34,14 @@
|
│ @@ -34,20 +34,14 @@
|
||||||
@@ -1710,7 +2018,35 @@
|
|||||||
│ {
|
│ {
|
||||||
│ --- HMI/n2t-out/screensaver.txt
|
│ --- HMI/n2t-out/screensaver.txt
|
||||||
├── +++ HMI/US/portrait/n2t-out/screensaver.txt
|
├── +++ HMI/US/portrait/n2t-out/screensaver.txt
|
||||||
│ @@ -28,17 +28,14 @@
|
│ @@ -7,27 +7,14 @@
|
||||||
|
│ Swide up page ID : disabled
|
||||||
|
│ Swide down page ID : disabled
|
||||||
|
│ Swide left page ID : disabled
|
||||||
|
│ Swide right page ID: disabled
|
||||||
|
│
|
||||||
|
│ Events
|
||||||
|
│ Preinitialize Event
|
||||||
|
│ - tSend.txt="event,renderCurrentPage"
|
||||||
|
│ - //send calc crc
|
||||||
|
│ - btlen tSend.txt,sys0
|
||||||
|
│ - crcrest 1,0xffff // reset CRC
|
||||||
|
│ - crcputh 55 bb
|
||||||
|
│ - crcputs sys0,2
|
||||||
|
│ - crcputs tSend.txt,0
|
||||||
|
│ - //send cmd
|
||||||
|
│ - printh 55 bb
|
||||||
|
│ - prints sys0,2
|
||||||
|
│ - prints tSend.txt,0
|
||||||
|
│ - prints crcval,2
|
||||||
|
│ - dim=dimValueNormal
|
||||||
|
│ recmod=1
|
||||||
|
│ baud=115200
|
||||||
|
│ vis tInstruction,0
|
||||||
|
│ vis tTmp,0
|
||||||
|
│ vis p0,0
|
||||||
|
│ vis tNotifyHead,0
|
||||||
|
│ vis tNotifyText,0
|
||||||
|
│ @@ -41,17 +28,14 @@
|
||||||
│ }
|
│ }
|
||||||
│ tDate.txt=pageIcons.vaDate.txt
|
│ tDate.txt=pageIcons.vaDate.txt
|
||||||
│ dim=dimValue
|
│ dim=dimValue
|
||||||
@@ -1728,7 +2064,7 @@
|
|||||||
│ Max. Text Size: 600
|
│ Max. Text Size: 600
|
||||||
│
|
│
|
||||||
│ Variable (string) strTmp
|
│ Variable (string) strTmp
|
||||||
│ @@ -102,34 +99,14 @@
|
│ @@ -115,34 +99,14 @@
|
||||||
│ Value: 0
|
│ Value: 0
|
||||||
│
|
│
|
||||||
│ Variable (int32) ycR
|
│ Variable (int32) ycR
|
||||||
@@ -1763,7 +2099,25 @@
|
|||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
│ Associated Keyboard: none
|
│ Associated Keyboard: none
|
||||||
│ Text : |
|
│ Text : |
|
||||||
│ @@ -596,20 +573,14 @@
|
│ @@ -485,17 +449,14 @@
|
||||||
|
│ //get set time to global variable
|
||||||
|
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
||||||
|
│ spstr pageIcons.vaTime.txt,tTime.txt,"?",0
|
||||||
|
│ spstr pageIcons.vaTime.txt,tAMPM.txt,"?",1
|
||||||
|
│ if(tAMPM.txt=="")
|
||||||
|
│ {
|
||||||
|
│ vis tAMPM,0
|
||||||
|
│ - }else
|
||||||
|
│ - {
|
||||||
|
│ - vis tAMPM,1
|
||||||
|
│ }
|
||||||
|
│ spstr strCommand.txt,tTimeAdd.txt,"~",2
|
||||||
|
│ ref tIcon1
|
||||||
|
│ ref tIcon2
|
||||||
|
│ }
|
||||||
|
│ if(tInstruction.txt=="date")
|
||||||
|
│ {
|
||||||
|
│ @@ -612,20 +573,14 @@
|
||||||
│ {
|
│ {
|
||||||
│ vis tMainIcon,1
|
│ vis tMainIcon,1
|
||||||
│ vis tMainIconAlt,0
|
│ vis tMainIconAlt,0
|
||||||
@@ -1786,7 +2140,35 @@
|
|||||||
│ if(tTime.bco!=screensaver.bco)
|
│ if(tTime.bco!=screensaver.bco)
|
||||||
│ --- HMI/n2t-out/screensaver2.txt
|
│ --- HMI/n2t-out/screensaver2.txt
|
||||||
├── +++ HMI/US/portrait/n2t-out/screensaver2.txt
|
├── +++ HMI/US/portrait/n2t-out/screensaver2.txt
|
||||||
│ @@ -28,17 +28,14 @@
|
│ @@ -7,27 +7,14 @@
|
||||||
|
│ Swide up page ID : disabled
|
||||||
|
│ Swide down page ID : disabled
|
||||||
|
│ Swide left page ID : disabled
|
||||||
|
│ Swide right page ID: disabled
|
||||||
|
│
|
||||||
|
│ Events
|
||||||
|
│ Preinitialize Event
|
||||||
|
│ - tSend.txt="event,renderCurrentPage"
|
||||||
|
│ - //send calc crc
|
||||||
|
│ - btlen tSend.txt,sys0
|
||||||
|
│ - crcrest 1,0xffff // reset CRC
|
||||||
|
│ - crcputh 55 bb
|
||||||
|
│ - crcputs sys0,2
|
||||||
|
│ - crcputs tSend.txt,0
|
||||||
|
│ - //send cmd
|
||||||
|
│ - printh 55 bb
|
||||||
|
│ - prints sys0,2
|
||||||
|
│ - prints tSend.txt,0
|
||||||
|
│ - prints crcval,2
|
||||||
|
│ - dim=dimValueNormal
|
||||||
|
│ recmod=1
|
||||||
|
│ baud=115200
|
||||||
|
│ vis tInstruction,0
|
||||||
|
│ vis tTmp,0
|
||||||
|
│ vis p0,0
|
||||||
|
│ vis tNotifyHead,0
|
||||||
|
│ vis tNotifyText,0
|
||||||
|
│ @@ -41,17 +28,14 @@
|
||||||
│ }
|
│ }
|
||||||
│ tDate.txt=pageIcons.vaDate.txt
|
│ tDate.txt=pageIcons.vaDate.txt
|
||||||
│ dim=dimValue
|
│ dim=dimValue
|
||||||
@@ -1804,7 +2186,7 @@
|
|||||||
│ Max. Text Size: 1979
|
│ Max. Text Size: 1979
|
||||||
│
|
│
|
||||||
│ Variable (string) strTmp
|
│ Variable (string) strTmp
|
||||||
│ @@ -363,34 +360,14 @@
|
│ @@ -376,34 +360,14 @@
|
||||||
│ Scope : local
|
│ Scope : local
|
||||||
│ Dragging : 0
|
│ Dragging : 0
|
||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
@@ -1839,7 +2221,7 @@
|
|||||||
│ Send Component ID : disabled
|
│ Send Component ID : disabled
|
||||||
│ Associated Keyboard: none
|
│ Associated Keyboard: none
|
||||||
│ Text : PM
|
│ Text : PM
|
||||||
│ @@ -572,15 +549,14 @@
|
│ @@ -585,15 +549,14 @@
|
||||||
│ if(tTmp.txt!="")
|
│ if(tTmp.txt!="")
|
||||||
│ {
|
│ {
|
||||||
│ covx tTmp.txt,defaultFontColor,0,0
|
│ covx tTmp.txt,defaultFontColor,0,0
|
||||||
|
|||||||
@@ -1,12 +1,110 @@
|
|||||||
+++ /dev/fd/62 2023-08-20 13:07:13.304519211 +0000
|
+++ /dev/fd/62 2023-11-27 23:28:52.512823638 +0000
|
||||||
|
+le list
|
||||||
|
+ +1,9 @@
|
||||||
|
+.s.txt
|
||||||
|
+rm.txt
|
||||||
|
+nRec.txt
|
||||||
|
+rt.txt
|
||||||
|
+ities.txt
|
||||||
|
+d.txt
|
||||||
|
+d2.txt
|
||||||
|
+art.txt
|
||||||
|
+ia.txt
|
||||||
|
+er.txt
|
||||||
+I/n2t-out/Program.s.txt
|
+I/n2t-out/Program.s.txt
|
||||||
++ HMI/US/portrait/n2t-out/Program.s.txt
|
++ HMI/US/portrait/n2t-out/Program.s.txt
|
||||||
+1 +12,11 @@
|
+1 +12,11 @@
|
||||||
+eature flags
|
+eature flags
|
||||||
+ featNewSliders=0
|
+ featNewSliders=0
|
||||||
+nth 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
|
+nth 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
|
||||||
|
+I/n2t-out/cardAlarm.txt
|
||||||
|
++ HMI/US/portrait/n2t-out/cardAlarm.txt
|
||||||
|
+ +7,14 @@
|
||||||
|
+ Swide up page ID : disabled
|
||||||
|
+ Swide down page ID : disabled
|
||||||
|
+ Swide left page ID : disabled
|
||||||
|
+ Swide right page ID: disabled
|
||||||
|
+
|
||||||
|
+nts
|
||||||
|
+ Preinitialize Event
|
||||||
|
+ tSend.txt="event,renderCurrentPage"
|
||||||
|
+ //send calc crc
|
||||||
|
+ btlen tSend.txt,sys0
|
||||||
|
+ crcrest 1,0xffff // reset CRC
|
||||||
|
+ crcputh 55 bb
|
||||||
|
+ crcputs sys0,2
|
||||||
|
+ crcputs tSend.txt,0
|
||||||
|
+ //send cmd
|
||||||
|
+ printh 55 bb
|
||||||
|
+ prints sys0,2
|
||||||
|
+ prints tSend.txt,0
|
||||||
|
+ prints crcval,2
|
||||||
|
+ dim=dimValueNormal
|
||||||
|
+ vis p0,0
|
||||||
|
+ vis tSend,0
|
||||||
|
+ vis tInstruction,0
|
||||||
|
+ vis tTmp,0
|
||||||
|
+ vis tId,0
|
||||||
|
+ vis arm1,0
|
||||||
|
+I/n2t-out/cardChart.txt
|
||||||
|
++ HMI/US/portrait/n2t-out/cardChart.txt
|
||||||
|
+ +7,14 @@
|
||||||
|
+ Swide up page ID : disabled
|
||||||
|
+ Swide down page ID : disabled
|
||||||
|
+ Swide left page ID : disabled
|
||||||
|
+ Swide right page ID: disabled
|
||||||
|
+
|
||||||
|
+nts
|
||||||
|
+ Preinitialize Event
|
||||||
|
+ tSend.txt="event,renderCurrentPage"
|
||||||
|
+ //send calc crc
|
||||||
|
+ btlen tSend.txt,sys0
|
||||||
|
+ crcrest 1,0xffff // reset CRC
|
||||||
|
+ crcputh 55 bb
|
||||||
|
+ crcputs sys0,2
|
||||||
|
+ crcputs tSend.txt,0
|
||||||
|
+ //send cmd
|
||||||
|
+ printh 55 bb
|
||||||
|
+ prints sys0,2
|
||||||
|
+ prints tSend.txt,0
|
||||||
|
+ prints crcval,2
|
||||||
|
+ dim=dimValueNormal
|
||||||
|
+ vis p0,0
|
||||||
|
+ vis tSend,0
|
||||||
|
+ vis tInstruction,0
|
||||||
|
+ vis tTmp,0
|
||||||
|
+ vis tId,0
|
||||||
|
+ vis bPrev,0
|
||||||
+I/n2t-out/cardEntities.txt
|
+I/n2t-out/cardEntities.txt
|
||||||
++ HMI/US/portrait/n2t-out/cardEntities.txt
|
++ HMI/US/portrait/n2t-out/cardEntities.txt
|
||||||
|
+ +7,14 @@
|
||||||
|
+ Swide up page ID : disabled
|
||||||
|
+ Swide down page ID : disabled
|
||||||
|
+ Swide left page ID : disabled
|
||||||
|
+ Swide right page ID: disabled
|
||||||
|
+
|
||||||
|
+nts
|
||||||
|
+ Preinitialize Event
|
||||||
|
+ tSend.txt="event,renderCurrentPage"
|
||||||
|
+ //send calc crc
|
||||||
|
+ btlen tSend.txt,sys0
|
||||||
|
+ crcrest 1,0xffff // reset CRC
|
||||||
|
+ crcputh 55 bb
|
||||||
|
+ crcputs sys0,2
|
||||||
|
+ crcputs tSend.txt,0
|
||||||
|
+ //send cmd
|
||||||
|
+ printh 55 bb
|
||||||
|
+ prints sys0,2
|
||||||
|
+ prints tSend.txt,0
|
||||||
|
+ prints crcval,2
|
||||||
|
+ dim=dimValueNormal
|
||||||
|
+ dim=dimValueNormal
|
||||||
|
+ //wup=cardEntities
|
||||||
|
+ //remove background & activate reparse mode
|
||||||
|
+ vis p0,0
|
||||||
|
+ recmod=1
|
||||||
|
+ baud=115200
|
||||||
|
+ //debug stuff
|
||||||
+6 +60,36 @@
|
+6 +60,36 @@
|
||||||
+ //ui e6
|
+ //ui e6
|
||||||
+ vis btOnOff6,0
|
+ vis btOnOff6,0
|
||||||
@@ -59,13 +157,13 @@
|
|||||||
+ributes
|
+ributes
|
||||||
+ Scope : local
|
+ Scope : local
|
||||||
+ Text :
|
+ Text :
|
||||||
|
+ Max. Text Size: 80
|
||||||
+ Max. Text Size: 38
|
+ Max. Text Size: 38
|
||||||
+
|
+
|
||||||
+e (string) nent2
|
+e (string) nent2
|
||||||
+ributes
|
+ributes
|
||||||
+ Scope : local
|
+ Scope : local
|
||||||
+ Text :
|
+ Text :
|
||||||
+ Max. Text Size: 80
|
|
||||||
+ Max. Text Size: 38
|
+ Max. Text Size: 38
|
||||||
+14 +185,26 @@
|
+14 +185,26 @@
|
||||||
+e (string) type6
|
+e (string) type6
|
||||||
@@ -600,8 +698,71 @@
|
|||||||
+ covx tTmp.txt,sys0,0,0
|
+ covx tTmp.txt,sys0,0,0
|
||||||
+ hSlider6.maxval=sys0
|
+ hSlider6.maxval=sys0
|
||||||
+ }
|
+ }
|
||||||
|
+ }
|
||||||
|
+ if(tInstruction.txt=="pageType")
|
||||||
|
+ {
|
||||||
|
+ sleepValue=0
|
||||||
|
+ //command format pageType,specialPageName
|
||||||
|
+ //write name of speical page to tId
|
||||||
|
+ spstr strCommand.txt,tId.txt,"~",1
|
||||||
|
+I/n2t-out/cardGrid.txt
|
||||||
|
++ HMI/US/portrait/n2t-out/cardGrid.txt
|
||||||
|
+ +7,14 @@
|
||||||
|
+ Swide up page ID : disabled
|
||||||
|
+ Swide down page ID : disabled
|
||||||
|
+ Swide left page ID : disabled
|
||||||
|
+ Swide right page ID: disabled
|
||||||
|
+
|
||||||
|
+nts
|
||||||
|
+ Preinitialize Event
|
||||||
|
+ tSend.txt="event,renderCurrentPage"
|
||||||
|
+ //send calc crc
|
||||||
|
+ btlen tSend.txt,sys0
|
||||||
|
+ crcrest 1,0xffff // reset CRC
|
||||||
|
+ crcputh 55 bb
|
||||||
|
+ crcputs sys0,2
|
||||||
|
+ crcputs tSend.txt,0
|
||||||
|
+ //send cmd
|
||||||
|
+ printh 55 bb
|
||||||
|
+ prints sys0,2
|
||||||
|
+ prints tSend.txt,0
|
||||||
|
+ prints crcval,2
|
||||||
|
+ dim=dimValueNormal
|
||||||
|
+ //remove background & activate reparse mode
|
||||||
|
+ vis p0,0
|
||||||
|
+ recmod=1
|
||||||
|
+ baud=115200
|
||||||
|
+ //debug stuff
|
||||||
|
+ vis tTmp,0
|
||||||
+I/n2t-out/cardGrid2.txt
|
+I/n2t-out/cardGrid2.txt
|
||||||
++ HMI/US/portrait/n2t-out/cardGrid2.txt
|
++ HMI/US/portrait/n2t-out/cardGrid2.txt
|
||||||
|
+ +7,14 @@
|
||||||
|
+ Swide up page ID : disabled
|
||||||
|
+ Swide down page ID : disabled
|
||||||
|
+ Swide left page ID : disabled
|
||||||
|
+ Swide right page ID: disabled
|
||||||
|
+
|
||||||
|
+nts
|
||||||
|
+ Preinitialize Event
|
||||||
|
+ tSend.txt="event,renderCurrentPage"
|
||||||
|
+ //send calc crc
|
||||||
|
+ btlen tSend.txt,sys0
|
||||||
|
+ crcrest 1,0xffff // reset CRC
|
||||||
|
+ crcputh 55 bb
|
||||||
|
+ crcputs sys0,2
|
||||||
|
+ crcputs tSend.txt,0
|
||||||
|
+ //send cmd
|
||||||
|
+ printh 55 bb
|
||||||
|
+ prints sys0,2
|
||||||
|
+ prints tSend.txt,0
|
||||||
|
+ prints crcval,2
|
||||||
|
+ dim=dimValueNormal
|
||||||
|
+ //remove background & activate reparse mode
|
||||||
|
+ vis p0,0
|
||||||
|
+ recmod=1
|
||||||
|
+ baud=115200
|
||||||
|
+ //debug stuff
|
||||||
|
+ vis tTmp,0
|
||||||
+6 +25,28 @@
|
+6 +25,28 @@
|
||||||
+ vis bEntity2,0
|
+ vis bEntity2,0
|
||||||
+ vis bEntity3,0
|
+ vis bEntity3,0
|
||||||
@@ -632,7 +793,7 @@
|
|||||||
+ b[sys0].pco=defaultFontColor
|
+ b[sys0].pco=defaultFontColor
|
||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
+4 +95,20 @@
|
+14 +95,20 @@
|
||||||
+
|
+
|
||||||
+e (string) entn8
|
+e (string) entn8
|
||||||
+ributes
|
+ributes
|
||||||
@@ -757,7 +918,7 @@
|
|||||||
+ Send Component ID: disabled
|
+ Send Component ID: disabled
|
||||||
+ State : unpressed
|
+ State : unpressed
|
||||||
+ Text : î³
|
+ Text : î³
|
||||||
+,14 +1072,35 @@
|
+,14 +1160,46 @@
|
||||||
+ spstr strCommand.txt,tTmp.txt,"~",59
|
+ spstr strCommand.txt,tTmp.txt,"~",59
|
||||||
+ covx tTmp.txt,sys0,0,0
|
+ covx tTmp.txt,sys0,0,0
|
||||||
+ bEntity8.pco=sys0
|
+ bEntity8.pco=sys0
|
||||||
@@ -777,6 +938,17 @@
|
|||||||
+ {
|
+ {
|
||||||
+ // change icon
|
+ // change icon
|
||||||
+ spstr strCommand.txt,bEntity9.txt,"~",64
|
+ spstr strCommand.txt,bEntity9.txt,"~",64
|
||||||
|
+ // way to get force font adjustment
|
||||||
|
+ strlen bEntity9.txt,sys0
|
||||||
|
+ //check 2nd last char for ¬
|
||||||
|
+ substr bEntity9.txt,tTmp.txt,sys0-2,1
|
||||||
|
+ if(tTmp.txt=="¬")
|
||||||
|
+ {
|
||||||
|
+ substr bEntity9.txt,tTmp.txt,sys0-1,1
|
||||||
|
+ covx tTmp.txt,sys1,0,0
|
||||||
|
+ bEntity9.font=sys1
|
||||||
|
+ substr bEntity9.txt,bEntity9.txt,0,sys0-2
|
||||||
|
+ }
|
||||||
+ vis bEntity9,1
|
+ vis bEntity9,1
|
||||||
+ // change icon color
|
+ // change icon color
|
||||||
+ spstr strCommand.txt,tTmp.txt,"~",65
|
+ spstr strCommand.txt,tTmp.txt,"~",65
|
||||||
@@ -786,15 +958,93 @@
|
|||||||
+ spstr strCommand.txt,tEntity9.txt,"~",66
|
+ spstr strCommand.txt,tEntity9.txt,"~",66
|
||||||
+ vis tEntity9,1
|
+ vis tEntity9,1
|
||||||
+ }
|
+ }
|
||||||
+ }
|
+I/n2t-out/cardLChart.txt
|
||||||
+ if(tInstruction.txt=="pageType")
|
++ HMI/US/portrait/n2t-out/cardLChart.txt
|
||||||
+ {
|
+ +7,14 @@
|
||||||
+ sleepValue=0
|
+ Swide up page ID : disabled
|
||||||
+ //command format pageType,specialPageName
|
+ Swide down page ID : disabled
|
||||||
+ //write name of speical page to tId
|
+ Swide left page ID : disabled
|
||||||
+ spstr strCommand.txt,tId.txt,"~",1
|
+ Swide right page ID: disabled
|
||||||
|
+
|
||||||
|
+nts
|
||||||
|
+ Preinitialize Event
|
||||||
|
+ tSend.txt="event,renderCurrentPage"
|
||||||
|
+ //send calc crc
|
||||||
|
+ btlen tSend.txt,sys0
|
||||||
|
+ crcrest 1,0xffff // reset CRC
|
||||||
|
+ crcputh 55 bb
|
||||||
|
+ crcputs sys0,2
|
||||||
|
+ crcputs tSend.txt,0
|
||||||
|
+ //send cmd
|
||||||
|
+ printh 55 bb
|
||||||
|
+ prints sys0,2
|
||||||
|
+ prints tSend.txt,0
|
||||||
|
+ prints crcval,2
|
||||||
|
+ dim=dimValueNormal
|
||||||
|
+ vis p0,0
|
||||||
|
+ vis tSend,0
|
||||||
|
+ vis tInstruction,0
|
||||||
|
+ vis tTmp,0
|
||||||
|
+ vis tId,0
|
||||||
|
+ vis bPrev,0
|
||||||
|
+I/n2t-out/cardMedia.txt
|
||||||
|
++ HMI/US/portrait/n2t-out/cardMedia.txt
|
||||||
|
+ +7,14 @@
|
||||||
|
+ Swide up page ID : disabled
|
||||||
|
+ Swide down page ID : disabled
|
||||||
|
+ Swide left page ID : disabled
|
||||||
|
+ Swide right page ID: disabled
|
||||||
|
+
|
||||||
|
+nts
|
||||||
|
+ Preinitialize Event
|
||||||
|
+ tSend.txt="event,renderCurrentPage"
|
||||||
|
+ //send calc crc
|
||||||
|
+ btlen tSend.txt,sys0
|
||||||
|
+ crcrest 1,0xffff // reset CRC
|
||||||
|
+ crcputh 55 bb
|
||||||
|
+ crcputs sys0,2
|
||||||
|
+ crcputs tSend.txt,0
|
||||||
|
+ //send cmd
|
||||||
|
+ printh 55 bb
|
||||||
|
+ prints sys0,2
|
||||||
|
+ prints tSend.txt,0
|
||||||
|
+ prints crcval,2
|
||||||
|
+ dim=dimValueNormal
|
||||||
|
+ vis p0,0
|
||||||
|
+ vis tSend,0
|
||||||
|
+ vis tInstruction,0
|
||||||
|
+ vis tTmp,0
|
||||||
|
+ vis tId,0
|
||||||
|
+ vis t5,0
|
||||||
+I/n2t-out/cardPower.txt
|
+I/n2t-out/cardPower.txt
|
||||||
++ HMI/US/portrait/n2t-out/cardPower.txt
|
++ HMI/US/portrait/n2t-out/cardPower.txt
|
||||||
|
+ +7,14 @@
|
||||||
|
+ Swide up page ID : disabled
|
||||||
|
+ Swide down page ID : disabled
|
||||||
|
+ Swide left page ID : disabled
|
||||||
|
+ Swide right page ID: disabled
|
||||||
|
+
|
||||||
|
+nts
|
||||||
|
+ Preinitialize Event
|
||||||
|
+ tSend.txt="event,renderCurrentPage"
|
||||||
|
+ //send calc crc
|
||||||
|
+ btlen tSend.txt,sys0
|
||||||
|
+ crcrest 1,0xffff // reset CRC
|
||||||
|
+ crcputh 55 bb
|
||||||
|
+ crcputs sys0,2
|
||||||
|
+ crcputs tSend.txt,0
|
||||||
|
+ //send cmd
|
||||||
|
+ printh 55 bb
|
||||||
|
+ prints sys0,2
|
||||||
|
+ prints tSend.txt,0
|
||||||
|
+ prints crcval,2
|
||||||
|
+ dim=dimValueNormal
|
||||||
|
+ vis p0,0
|
||||||
|
+ vis tSend,0
|
||||||
|
+ vis tInstruction,0
|
||||||
|
+ vis tTmp,0
|
||||||
|
+ vis tId,0
|
||||||
|
+ vis bPrev,0
|
||||||
+6 +45,16 @@
|
+6 +45,16 @@
|
||||||
+ b[sys0].bco=defaultBcoColor
|
+ b[sys0].bco=defaultBcoColor
|
||||||
+ b[sys0].pco=defaultFontColor
|
+ b[sys0].pco=defaultFontColor
|
||||||
@@ -1137,6 +1387,64 @@
|
|||||||
+ // get set time to global variable
|
+ // get set time to global variable
|
||||||
+ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
+ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
||||||
+ }
|
+ }
|
||||||
|
+I/n2t-out/cardQR.txt
|
||||||
|
++ HMI/US/portrait/n2t-out/cardQR.txt
|
||||||
|
+ +7,14 @@
|
||||||
|
+ Swide up page ID : disabled
|
||||||
|
+ Swide down page ID : disabled
|
||||||
|
+ Swide left page ID : disabled
|
||||||
|
+ Swide right page ID: disabled
|
||||||
|
+
|
||||||
|
+nts
|
||||||
|
+ Preinitialize Event
|
||||||
|
+ tSend.txt="event,renderCurrentPage"
|
||||||
|
+ //send calc crc
|
||||||
|
+ btlen tSend.txt,sys0
|
||||||
|
+ crcrest 1,0xffff // reset CRC
|
||||||
|
+ crcputh 55 bb
|
||||||
|
+ crcputs sys0,2
|
||||||
|
+ crcputs tSend.txt,0
|
||||||
|
+ //send cmd
|
||||||
|
+ printh 55 bb
|
||||||
|
+ prints sys0,2
|
||||||
|
+ prints tSend.txt,0
|
||||||
|
+ prints crcval,2
|
||||||
|
+ dim=dimValueNormal
|
||||||
|
+ vis p0,0
|
||||||
|
+ vis tSend,0
|
||||||
|
+ vis tInstruction,0
|
||||||
|
+ vis tTmp,0
|
||||||
|
+ vis tId,0
|
||||||
|
+ vis bPrev,0
|
||||||
|
+I/n2t-out/cardThermo.txt
|
||||||
|
++ HMI/US/portrait/n2t-out/cardThermo.txt
|
||||||
|
+ +7,14 @@
|
||||||
|
+ Swide up page ID : disabled
|
||||||
|
+ Swide down page ID : disabled
|
||||||
|
+ Swide left page ID : disabled
|
||||||
|
+ Swide right page ID: disabled
|
||||||
|
+
|
||||||
|
+nts
|
||||||
|
+ Preinitialize Event
|
||||||
|
+ tSend.txt="event,renderCurrentPage"
|
||||||
|
+ //send calc crc
|
||||||
|
+ btlen tSend.txt,sys0
|
||||||
|
+ crcrest 1,0xffff // reset CRC
|
||||||
|
+ crcputh 55 bb
|
||||||
|
+ crcputs sys0,2
|
||||||
|
+ crcputs tSend.txt,0
|
||||||
|
+ //send cmd
|
||||||
|
+ printh 55 bb
|
||||||
|
+ prints sys0,2
|
||||||
|
+ prints tSend.txt,0
|
||||||
|
+ prints crcval,2
|
||||||
|
+ dim=dimValueNormal
|
||||||
|
+ vis p0,0
|
||||||
|
+ vis tSend,0
|
||||||
|
+ vis tInstruction,0
|
||||||
|
+ vis tTmp,0
|
||||||
|
+ vis tId,0
|
||||||
|
+ vis xTempMin1,0
|
||||||
+I/n2t-out/pageStartup.txt
|
+I/n2t-out/pageStartup.txt
|
||||||
++ HMI/US/portrait/n2t-out/pageStartup.txt
|
++ HMI/US/portrait/n2t-out/pageStartup.txt
|
||||||
+0 +34,14 @@
|
+0 +34,14 @@
|
||||||
@@ -1252,6 +1560,34 @@
|
|||||||
+ {
|
+ {
|
||||||
+I/n2t-out/screensaver.txt
|
+I/n2t-out/screensaver.txt
|
||||||
++ HMI/US/portrait/n2t-out/screensaver.txt
|
++ HMI/US/portrait/n2t-out/screensaver.txt
|
||||||
|
+ +7,14 @@
|
||||||
|
+ Swide up page ID : disabled
|
||||||
|
+ Swide down page ID : disabled
|
||||||
|
+ Swide left page ID : disabled
|
||||||
|
+ Swide right page ID: disabled
|
||||||
|
+
|
||||||
|
+nts
|
||||||
|
+ Preinitialize Event
|
||||||
|
+ tSend.txt="event,renderCurrentPage"
|
||||||
|
+ //send calc crc
|
||||||
|
+ btlen tSend.txt,sys0
|
||||||
|
+ crcrest 1,0xffff // reset CRC
|
||||||
|
+ crcputh 55 bb
|
||||||
|
+ crcputs sys0,2
|
||||||
|
+ crcputs tSend.txt,0
|
||||||
|
+ //send cmd
|
||||||
|
+ printh 55 bb
|
||||||
|
+ prints sys0,2
|
||||||
|
+ prints tSend.txt,0
|
||||||
|
+ prints crcval,2
|
||||||
|
+ dim=dimValueNormal
|
||||||
|
+ recmod=1
|
||||||
|
+ baud=115200
|
||||||
|
+ vis tInstruction,0
|
||||||
|
+ vis tTmp,0
|
||||||
|
+ vis p0,0
|
||||||
|
+ vis tNotifyHead,0
|
||||||
|
+ vis tNotifyText,0
|
||||||
+7 +28,14 @@
|
+7 +28,14 @@
|
||||||
+ }
|
+ }
|
||||||
+ tDate.txt=pageIcons.vaDate.txt
|
+ tDate.txt=pageIcons.vaDate.txt
|
||||||
@@ -1305,6 +1641,24 @@
|
|||||||
+ Send Component ID : disabled
|
+ Send Component ID : disabled
|
||||||
+ Associated Keyboard: none
|
+ Associated Keyboard: none
|
||||||
+ Text : |
|
+ Text : |
|
||||||
|
+17 +449,14 @@
|
||||||
|
+ //get set time to global variable
|
||||||
|
+ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
||||||
|
+ spstr pageIcons.vaTime.txt,tTime.txt,"?",0
|
||||||
|
+ spstr pageIcons.vaTime.txt,tAMPM.txt,"?",1
|
||||||
|
+ if(tAMPM.txt=="")
|
||||||
|
+ {
|
||||||
|
+ vis tAMPM,0
|
||||||
|
+ }else
|
||||||
|
+ {
|
||||||
|
+ vis tAMPM,1
|
||||||
|
+ }
|
||||||
|
+ spstr strCommand.txt,tTimeAdd.txt,"~",2
|
||||||
|
+ ref tIcon1
|
||||||
|
+ ref tIcon2
|
||||||
|
+ }
|
||||||
|
+ if(tInstruction.txt=="date")
|
||||||
|
+ {
|
||||||
+20 +573,14 @@
|
+20 +573,14 @@
|
||||||
+ {
|
+ {
|
||||||
+ vis tMainIcon,1
|
+ vis tMainIcon,1
|
||||||
@@ -1328,6 +1682,34 @@
|
|||||||
+ if(tTime.bco!=screensaver.bco)
|
+ if(tTime.bco!=screensaver.bco)
|
||||||
+I/n2t-out/screensaver2.txt
|
+I/n2t-out/screensaver2.txt
|
||||||
++ HMI/US/portrait/n2t-out/screensaver2.txt
|
++ HMI/US/portrait/n2t-out/screensaver2.txt
|
||||||
|
+ +7,14 @@
|
||||||
|
+ Swide up page ID : disabled
|
||||||
|
+ Swide down page ID : disabled
|
||||||
|
+ Swide left page ID : disabled
|
||||||
|
+ Swide right page ID: disabled
|
||||||
|
+
|
||||||
|
+nts
|
||||||
|
+ Preinitialize Event
|
||||||
|
+ tSend.txt="event,renderCurrentPage"
|
||||||
|
+ //send calc crc
|
||||||
|
+ btlen tSend.txt,sys0
|
||||||
|
+ crcrest 1,0xffff // reset CRC
|
||||||
|
+ crcputh 55 bb
|
||||||
|
+ crcputs sys0,2
|
||||||
|
+ crcputs tSend.txt,0
|
||||||
|
+ //send cmd
|
||||||
|
+ printh 55 bb
|
||||||
|
+ prints sys0,2
|
||||||
|
+ prints tSend.txt,0
|
||||||
|
+ prints crcval,2
|
||||||
|
+ dim=dimValueNormal
|
||||||
|
+ recmod=1
|
||||||
|
+ baud=115200
|
||||||
|
+ vis tInstruction,0
|
||||||
|
+ vis tTmp,0
|
||||||
|
+ vis p0,0
|
||||||
|
+ vis tNotifyHead,0
|
||||||
|
+ vis tNotifyText,0
|
||||||
+7 +28,14 @@
|
+7 +28,14 @@
|
||||||
+ }
|
+ }
|
||||||
+ tDate.txt=pageIcons.vaDate.txt
|
+ tDate.txt=pageIcons.vaDate.txt
|
||||||
|
|||||||
@@ -1167,6 +1167,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity1.txt,"~",16
|
spstr strCommand.txt,bEntity1.txt,"~",16
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity1.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity1.font=sys1
|
||||||
|
substr bEntity1.txt,bEntity1.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity1,1
|
vis bEntity1,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",17
|
spstr strCommand.txt,tTmp.txt,"~",17
|
||||||
@@ -1188,6 +1199,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity2.txt,"~",22
|
spstr strCommand.txt,bEntity2.txt,"~",22
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity2.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity2.font=sys1
|
||||||
|
substr bEntity2.txt,bEntity2.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity2,1
|
vis bEntity2,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",23
|
spstr strCommand.txt,tTmp.txt,"~",23
|
||||||
@@ -1209,6 +1231,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity3.txt,"~",28
|
spstr strCommand.txt,bEntity3.txt,"~",28
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity3.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity3.font=sys1
|
||||||
|
substr bEntity3.txt,bEntity3.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity3,1
|
vis bEntity3,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",29
|
spstr strCommand.txt,tTmp.txt,"~",29
|
||||||
@@ -1230,6 +1263,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity4.txt,"~",34
|
spstr strCommand.txt,bEntity4.txt,"~",34
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity4.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity4.font=sys1
|
||||||
|
substr bEntity4.txt,bEntity4.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity4,1
|
vis bEntity4,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",35
|
spstr strCommand.txt,tTmp.txt,"~",35
|
||||||
@@ -1251,6 +1295,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity5.txt,"~",40
|
spstr strCommand.txt,bEntity5.txt,"~",40
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity5.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity5.font=sys1
|
||||||
|
substr bEntity5.txt,bEntity5.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity5,1
|
vis bEntity5,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",41
|
spstr strCommand.txt,tTmp.txt,"~",41
|
||||||
@@ -1272,6 +1327,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity6.txt,"~",46
|
spstr strCommand.txt,bEntity6.txt,"~",46
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity6.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity6.font=sys1
|
||||||
|
substr bEntity6.txt,bEntity6.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity6,1
|
vis bEntity6,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",47
|
spstr strCommand.txt,tTmp.txt,"~",47
|
||||||
|
|||||||
@@ -1500,6 +1500,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity1.txt,"~",16
|
spstr strCommand.txt,bEntity1.txt,"~",16
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity1.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity1.font=sys1
|
||||||
|
substr bEntity1.txt,bEntity1.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity1,1
|
vis bEntity1,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",17
|
spstr strCommand.txt,tTmp.txt,"~",17
|
||||||
@@ -1521,6 +1532,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity2.txt,"~",22
|
spstr strCommand.txt,bEntity2.txt,"~",22
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity2.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity2.font=sys1
|
||||||
|
substr bEntity2.txt,bEntity2.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity2,1
|
vis bEntity2,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",23
|
spstr strCommand.txt,tTmp.txt,"~",23
|
||||||
@@ -1542,6 +1564,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity3.txt,"~",28
|
spstr strCommand.txt,bEntity3.txt,"~",28
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity3.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity3.font=sys1
|
||||||
|
substr bEntity3.txt,bEntity3.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity3,1
|
vis bEntity3,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",29
|
spstr strCommand.txt,tTmp.txt,"~",29
|
||||||
@@ -1563,6 +1596,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity4.txt,"~",34
|
spstr strCommand.txt,bEntity4.txt,"~",34
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity4.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity4.font=sys1
|
||||||
|
substr bEntity4.txt,bEntity4.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity4,1
|
vis bEntity4,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",35
|
spstr strCommand.txt,tTmp.txt,"~",35
|
||||||
@@ -1584,6 +1628,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity5.txt,"~",40
|
spstr strCommand.txt,bEntity5.txt,"~",40
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity5.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity5.font=sys1
|
||||||
|
substr bEntity5.txt,bEntity5.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity5,1
|
vis bEntity5,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",41
|
spstr strCommand.txt,tTmp.txt,"~",41
|
||||||
@@ -1605,6 +1660,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity6.txt,"~",46
|
spstr strCommand.txt,bEntity6.txt,"~",46
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity6.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity6.font=sys1
|
||||||
|
substr bEntity6.txt,bEntity6.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity6,1
|
vis bEntity6,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",47
|
spstr strCommand.txt,tTmp.txt,"~",47
|
||||||
@@ -1626,6 +1692,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity7.txt,"~",52
|
spstr strCommand.txt,bEntity7.txt,"~",52
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity7.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity7.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity7.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity7.font=sys1
|
||||||
|
substr bEntity7.txt,bEntity7.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity7,1
|
vis bEntity7,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",53
|
spstr strCommand.txt,tTmp.txt,"~",53
|
||||||
@@ -1647,6 +1724,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity8.txt,"~",58
|
spstr strCommand.txt,bEntity8.txt,"~",58
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity8.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity8.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity8.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity8.font=sys1
|
||||||
|
substr bEntity8.txt,bEntity8.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity8,1
|
vis bEntity8,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",59
|
spstr strCommand.txt,tTmp.txt,"~",59
|
||||||
@@ -1668,6 +1756,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity9.txt,"~",64
|
spstr strCommand.txt,bEntity9.txt,"~",64
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity9.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity9.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity9.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity9.font=sys1
|
||||||
|
substr bEntity9.txt,bEntity9.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity9,1
|
vis bEntity9,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",65
|
spstr strCommand.txt,tTmp.txt,"~",65
|
||||||
@@ -1754,6 +1853,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardChart
|
page cardChart
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardLChart")
|
||||||
|
{
|
||||||
|
page cardLChart
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1485,6 +1485,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity1.txt,"~",25
|
spstr strCommand.txt,bEntity1.txt,"~",25
|
||||||
vis bEntity1,1
|
vis bEntity1,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity1.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity1.font=sys1
|
||||||
|
substr bEntity1.txt,bEntity1.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",26
|
spstr strCommand.txt,tTmp.txt,"~",26
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1506,6 +1517,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity2.txt,"~",31
|
spstr strCommand.txt,bEntity2.txt,"~",31
|
||||||
vis bEntity2,1
|
vis bEntity2,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity2.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity2.font=sys1
|
||||||
|
substr bEntity2.txt,bEntity2.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",32
|
spstr strCommand.txt,tTmp.txt,"~",32
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1527,6 +1549,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity3.txt,"~",37
|
spstr strCommand.txt,bEntity3.txt,"~",37
|
||||||
vis bEntity3,1
|
vis bEntity3,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity3.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity3.font=sys1
|
||||||
|
substr bEntity3.txt,bEntity3.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",38
|
spstr strCommand.txt,tTmp.txt,"~",38
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1548,6 +1581,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity4.txt,"~",43
|
spstr strCommand.txt,bEntity4.txt,"~",43
|
||||||
vis bEntity4,1
|
vis bEntity4,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity4.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity4.font=sys1
|
||||||
|
substr bEntity4.txt,bEntity4.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",44
|
spstr strCommand.txt,tTmp.txt,"~",44
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1569,6 +1613,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity5.txt,"~",49
|
spstr strCommand.txt,bEntity5.txt,"~",49
|
||||||
vis bEntity5,1
|
vis bEntity5,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity5.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity5.font=sys1
|
||||||
|
substr bEntity5.txt,bEntity5.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",50
|
spstr strCommand.txt,tTmp.txt,"~",50
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1590,6 +1645,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity6.txt,"~",55
|
spstr strCommand.txt,bEntity6.txt,"~",55
|
||||||
vis bEntity6,1
|
vis bEntity6,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity6.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity6.font=sys1
|
||||||
|
substr bEntity6.txt,bEntity6.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",56
|
spstr strCommand.txt,tTmp.txt,"~",56
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
|
|||||||
@@ -14,10 +14,10 @@ popupNotify
|
|||||||
19 Component(s)
|
19 Component(s)
|
||||||
267 Line(s) of event code
|
267 Line(s) of event code
|
||||||
172 Unique line(s) of event code
|
172 Unique line(s) of event code
|
||||||
cardGrid
|
pageStartup
|
||||||
44 Component(s)
|
19 Component(s)
|
||||||
529 Line(s) of event code
|
198 Line(s) of event code
|
||||||
298 Unique line(s) of event code
|
137 Unique line(s) of event code
|
||||||
popupTimer
|
popupTimer
|
||||||
42 Component(s)
|
42 Component(s)
|
||||||
516 Line(s) of event code
|
516 Line(s) of event code
|
||||||
@@ -38,18 +38,14 @@ cardChart
|
|||||||
33 Component(s)
|
33 Component(s)
|
||||||
437 Line(s) of event code
|
437 Line(s) of event code
|
||||||
296 Unique line(s) of event code
|
296 Unique line(s) of event code
|
||||||
cardMedia
|
cardGrid2
|
||||||
59 Component(s)
|
56 Component(s)
|
||||||
649 Line(s) of event code
|
748 Line(s) of event code
|
||||||
322 Unique line(s) of event code
|
410 Unique line(s) of event code
|
||||||
cardLChart
|
cardLChart
|
||||||
33 Component(s)
|
33 Component(s)
|
||||||
402 Line(s) of event code
|
402 Line(s) of event code
|
||||||
266 Unique line(s) of event code
|
266 Unique line(s) of event code
|
||||||
pageStartup
|
|
||||||
19 Component(s)
|
|
||||||
198 Line(s) of event code
|
|
||||||
137 Unique line(s) of event code
|
|
||||||
popupShutter
|
popupShutter
|
||||||
25 Component(s)
|
25 Component(s)
|
||||||
402 Line(s) of event code
|
402 Line(s) of event code
|
||||||
@@ -66,10 +62,10 @@ popupInSel
|
|||||||
34 Component(s)
|
34 Component(s)
|
||||||
621 Line(s) of event code
|
621 Line(s) of event code
|
||||||
297 Unique line(s) of event code
|
297 Unique line(s) of event code
|
||||||
cardGrid2
|
cardGrid
|
||||||
56 Component(s)
|
44 Component(s)
|
||||||
663 Line(s) of event code
|
583 Line(s) of event code
|
||||||
359 Unique line(s) of event code
|
332 Unique line(s) of event code
|
||||||
cardAlarm
|
cardAlarm
|
||||||
43 Component(s)
|
43 Component(s)
|
||||||
500 Line(s) of event code
|
500 Line(s) of event code
|
||||||
@@ -94,9 +90,13 @@ cardEntities
|
|||||||
91 Component(s)
|
91 Component(s)
|
||||||
1666 Line(s) of event code
|
1666 Line(s) of event code
|
||||||
711 Unique line(s) of event code
|
711 Unique line(s) of event code
|
||||||
|
cardMedia
|
||||||
|
59 Component(s)
|
||||||
|
703 Line(s) of event code
|
||||||
|
356 Unique line(s) of event code
|
||||||
|
|
||||||
Total
|
Total
|
||||||
23 Page(s)
|
23 Page(s)
|
||||||
890 Component(s)
|
890 Component(s)
|
||||||
10836 Line(s) of event code
|
11029 Line(s) of event code
|
||||||
2553 Unique line(s) of event code
|
2600 Unique line(s) of event code
|
||||||
|
|||||||
@@ -389,7 +389,7 @@ Text tVersion
|
|||||||
Horizontal Alignment: center
|
Horizontal Alignment: center
|
||||||
Vertical Alignment : center
|
Vertical Alignment : center
|
||||||
Input Type : character
|
Input Type : character
|
||||||
Text : 52
|
Text : 53
|
||||||
Max. Text Size : 10
|
Max. Text Size : 10
|
||||||
Word wrap : disabled
|
Word wrap : disabled
|
||||||
Horizontal Spacing : 0
|
Horizontal Spacing : 0
|
||||||
|
|||||||
@@ -719,6 +719,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity1.txt,"~",16
|
spstr strCommand.txt,bEntity1.txt,"~",16
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity1.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity1.font=sys1
|
||||||
|
substr bEntity1.txt,bEntity1.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity1,1
|
vis bEntity1,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",17
|
spstr strCommand.txt,tTmp.txt,"~",17
|
||||||
@@ -740,6 +751,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity2.txt,"~",22
|
spstr strCommand.txt,bEntity2.txt,"~",22
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity2.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity2.font=sys1
|
||||||
|
substr bEntity2.txt,bEntity2.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity2,1
|
vis bEntity2,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",23
|
spstr strCommand.txt,tTmp.txt,"~",23
|
||||||
@@ -761,6 +783,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity3.txt,"~",28
|
spstr strCommand.txt,bEntity3.txt,"~",28
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity3.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity3.font=sys1
|
||||||
|
substr bEntity3.txt,bEntity3.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity3,1
|
vis bEntity3,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",29
|
spstr strCommand.txt,tTmp.txt,"~",29
|
||||||
@@ -782,6 +815,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity4.txt,"~",34
|
spstr strCommand.txt,bEntity4.txt,"~",34
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity4.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity4.font=sys1
|
||||||
|
substr bEntity4.txt,bEntity4.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity4,1
|
vis bEntity4,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",35
|
spstr strCommand.txt,tTmp.txt,"~",35
|
||||||
@@ -803,6 +847,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity5.txt,"~",40
|
spstr strCommand.txt,bEntity5.txt,"~",40
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity5.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity5.font=sys1
|
||||||
|
substr bEntity5.txt,bEntity5.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity5,1
|
vis bEntity5,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",41
|
spstr strCommand.txt,tTmp.txt,"~",41
|
||||||
@@ -824,6 +879,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity6.txt,"~",46
|
spstr strCommand.txt,bEntity6.txt,"~",46
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity6.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity6.font=sys1
|
||||||
|
substr bEntity6.txt,bEntity6.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity6,1
|
vis bEntity6,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",47
|
spstr strCommand.txt,tTmp.txt,"~",47
|
||||||
|
|||||||
@@ -920,6 +920,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity1.txt,"~",16
|
spstr strCommand.txt,bEntity1.txt,"~",16
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity1.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity1.font=sys1
|
||||||
|
substr bEntity1.txt,bEntity1.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity1,1
|
vis bEntity1,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",17
|
spstr strCommand.txt,tTmp.txt,"~",17
|
||||||
@@ -941,6 +952,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity2.txt,"~",22
|
spstr strCommand.txt,bEntity2.txt,"~",22
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity2.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity2.font=sys1
|
||||||
|
substr bEntity2.txt,bEntity2.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity2,1
|
vis bEntity2,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",23
|
spstr strCommand.txt,tTmp.txt,"~",23
|
||||||
@@ -962,6 +984,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity3.txt,"~",28
|
spstr strCommand.txt,bEntity3.txt,"~",28
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity3.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity3.font=sys1
|
||||||
|
substr bEntity3.txt,bEntity3.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity3,1
|
vis bEntity3,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",29
|
spstr strCommand.txt,tTmp.txt,"~",29
|
||||||
@@ -983,6 +1016,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity4.txt,"~",34
|
spstr strCommand.txt,bEntity4.txt,"~",34
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity4.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity4.font=sys1
|
||||||
|
substr bEntity4.txt,bEntity4.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity4,1
|
vis bEntity4,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",35
|
spstr strCommand.txt,tTmp.txt,"~",35
|
||||||
@@ -1004,6 +1048,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity5.txt,"~",40
|
spstr strCommand.txt,bEntity5.txt,"~",40
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity5.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity5.font=sys1
|
||||||
|
substr bEntity5.txt,bEntity5.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity5,1
|
vis bEntity5,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",41
|
spstr strCommand.txt,tTmp.txt,"~",41
|
||||||
@@ -1025,6 +1080,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity6.txt,"~",46
|
spstr strCommand.txt,bEntity6.txt,"~",46
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity6.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity6.font=sys1
|
||||||
|
substr bEntity6.txt,bEntity6.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity6,1
|
vis bEntity6,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",47
|
spstr strCommand.txt,tTmp.txt,"~",47
|
||||||
@@ -1046,6 +1112,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity7.txt,"~",52
|
spstr strCommand.txt,bEntity7.txt,"~",52
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity7.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity7.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity7.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity7.font=sys1
|
||||||
|
substr bEntity7.txt,bEntity7.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity7,1
|
vis bEntity7,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",53
|
spstr strCommand.txt,tTmp.txt,"~",53
|
||||||
@@ -1067,6 +1144,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity8.txt,"~",58
|
spstr strCommand.txt,bEntity8.txt,"~",58
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity8.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity8.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity8.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity8.font=sys1
|
||||||
|
substr bEntity8.txt,bEntity8.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity8,1
|
vis bEntity8,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",59
|
spstr strCommand.txt,tTmp.txt,"~",59
|
||||||
@@ -1088,6 +1176,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity9.txt,"~",64
|
spstr strCommand.txt,bEntity9.txt,"~",64
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity9.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity9.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity9.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity9.font=sys1
|
||||||
|
substr bEntity9.txt,bEntity9.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity9,1
|
vis bEntity9,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",65
|
spstr strCommand.txt,tTmp.txt,"~",65
|
||||||
@@ -1174,6 +1273,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardChart
|
page cardChart
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardLChart")
|
||||||
|
{
|
||||||
|
page cardLChart
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -997,6 +997,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity1.txt,"~",25
|
spstr strCommand.txt,bEntity1.txt,"~",25
|
||||||
vis bEntity1,1
|
vis bEntity1,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity1.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity1.font=sys1
|
||||||
|
substr bEntity1.txt,bEntity1.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",26
|
spstr strCommand.txt,tTmp.txt,"~",26
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1018,6 +1029,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity2.txt,"~",31
|
spstr strCommand.txt,bEntity2.txt,"~",31
|
||||||
vis bEntity2,1
|
vis bEntity2,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity2.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity2.font=sys1
|
||||||
|
substr bEntity2.txt,bEntity2.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",32
|
spstr strCommand.txt,tTmp.txt,"~",32
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1039,6 +1061,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity3.txt,"~",37
|
spstr strCommand.txt,bEntity3.txt,"~",37
|
||||||
vis bEntity3,1
|
vis bEntity3,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity3.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity3.font=sys1
|
||||||
|
substr bEntity3.txt,bEntity3.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",38
|
spstr strCommand.txt,tTmp.txt,"~",38
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1060,6 +1093,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity4.txt,"~",43
|
spstr strCommand.txt,bEntity4.txt,"~",43
|
||||||
vis bEntity4,1
|
vis bEntity4,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity4.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity4.font=sys1
|
||||||
|
substr bEntity4.txt,bEntity4.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",44
|
spstr strCommand.txt,tTmp.txt,"~",44
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1081,6 +1125,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity5.txt,"~",49
|
spstr strCommand.txt,bEntity5.txt,"~",49
|
||||||
vis bEntity5,1
|
vis bEntity5,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity5.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity5.font=sys1
|
||||||
|
substr bEntity5.txt,bEntity5.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",50
|
spstr strCommand.txt,tTmp.txt,"~",50
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1102,6 +1157,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity6.txt,"~",55
|
spstr strCommand.txt,bEntity6.txt,"~",55
|
||||||
vis bEntity6,1
|
vis bEntity6,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity6.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity6.font=sys1
|
||||||
|
substr bEntity6.txt,bEntity6.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",56
|
spstr strCommand.txt,tTmp.txt,"~",56
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ Text tVersion
|
|||||||
Dragging : 0
|
Dragging : 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Associated Keyboard: none
|
Associated Keyboard: none
|
||||||
Text : 52
|
Text : 53
|
||||||
Max. Text Size : 10
|
Max. Text Size : 10
|
||||||
|
|
||||||
Picture p0
|
Picture p0
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -7,7 +7,7 @@ head = sharedhead + """
|
|||||||
""" + navigation
|
""" + navigation
|
||||||
print(head)
|
print(head)
|
||||||
start = 14
|
start = 14
|
||||||
for i in range(1,7):
|
for i in range(1,9):
|
||||||
idxstart = start + (i-1)*6
|
idxstart = start + (i-1)*6
|
||||||
item = f"""
|
item = f"""
|
||||||
// get Type
|
// get Type
|
||||||
@@ -22,6 +22,19 @@ for i in range(1,7):
|
|||||||
{{
|
{{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity{i}.txt,"~",{idxstart+2}
|
spstr strCommand.txt,bEntity{i}.txt,"~",{idxstart+2}
|
||||||
|
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity{i}.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity{i}.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{{
|
||||||
|
substr bEntity{i}.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity{i}.font=sys1
|
||||||
|
substr bEntity{i}.txt,bEntity{i}.txt,0,sys0-2
|
||||||
|
}}
|
||||||
|
|
||||||
vis bEntity{i},1
|
vis bEntity{i},1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",{idxstart+3}
|
spstr strCommand.txt,tTmp.txt,"~",{idxstart+3}
|
||||||
|
|||||||
@@ -71,6 +71,19 @@ for i in range(1,7):
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity{i}.txt,"~",{idxstart+2}
|
spstr strCommand.txt,bEntity{i}.txt,"~",{idxstart+2}
|
||||||
vis bEntity{i},1
|
vis bEntity{i},1
|
||||||
|
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity{i}.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity{i}.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{{
|
||||||
|
substr bEntity{i}.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity{i}.font=sys1
|
||||||
|
substr bEntity{i}.txt,bEntity{i}.txt,0,sys0-2
|
||||||
|
}}
|
||||||
|
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",{idxstart+3}
|
spstr strCommand.txt,tTmp.txt,"~",{idxstart+3}
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -79,6 +92,7 @@ for i in range(1,7):
|
|||||||
spstr strCommand.txt,tEntity{i}.txt,"~",{idxstart+4}
|
spstr strCommand.txt,tEntity{i}.txt,"~",{idxstart+4}
|
||||||
vis tEntity{i},1
|
vis tEntity{i},1
|
||||||
}}
|
}}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
print(item)
|
print(item)
|
||||||
foot = """
|
foot = """
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page cardAlarm
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
63
HMI/n2t-out-visual/cardBurnRec.txt
Normal file
63
HMI/n2t-out-visual/cardBurnRec.txt
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
Page cardBurnRec
|
||||||
|
Attributes
|
||||||
|
ID : 0
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
Width : 480
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Locked : no
|
||||||
|
Swide up page ID : disabled
|
||||||
|
Swide down page ID : disabled
|
||||||
|
Swide left page ID : disabled
|
||||||
|
Swide right page ID: disabled
|
||||||
|
Fill : solid color
|
||||||
|
Back. Color : 65535
|
||||||
|
|
||||||
|
Timer tm0
|
||||||
|
Attributes
|
||||||
|
ID : 1
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 1001
|
||||||
|
Enabled : yes
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
dim=100
|
||||||
|
sys0=0
|
||||||
|
sys1=0
|
||||||
|
if(sys2==WHITE)
|
||||||
|
{
|
||||||
|
sys2=BLACK
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
sys2=WHITE
|
||||||
|
}
|
||||||
|
sya1=sys2
|
||||||
|
while(sys0<8)
|
||||||
|
{
|
||||||
|
sya0=sys0%2
|
||||||
|
if(sya1==WHITE)
|
||||||
|
{
|
||||||
|
sya1=BLACK
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
sya1=WHITE
|
||||||
|
}
|
||||||
|
fill 0,40*sys0,480,40,sya1
|
||||||
|
sys0++
|
||||||
|
}
|
||||||
|
|
||||||
|
TouchCap tc0
|
||||||
|
Attributes
|
||||||
|
ID : 2
|
||||||
|
Scope: local
|
||||||
|
Value: 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
page pageStartup
|
||||||
|
|
||||||
@@ -19,6 +19,18 @@ Page cardChart
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -19,6 +19,19 @@ Page cardEntities
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
dim=dimValueNormal
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
//wup=cardEntities
|
//wup=cardEntities
|
||||||
//remove background & activate reparse mode
|
//remove background & activate reparse mode
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page cardGrid
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
//remove background & activate reparse mode
|
//remove background & activate reparse mode
|
||||||
vis p0,0
|
vis p0,0
|
||||||
@@ -1167,6 +1179,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity1.txt,"~",16
|
spstr strCommand.txt,bEntity1.txt,"~",16
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity1.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity1.font=sys1
|
||||||
|
substr bEntity1.txt,bEntity1.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity1,1
|
vis bEntity1,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",17
|
spstr strCommand.txt,tTmp.txt,"~",17
|
||||||
@@ -1188,6 +1211,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity2.txt,"~",22
|
spstr strCommand.txt,bEntity2.txt,"~",22
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity2.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity2.font=sys1
|
||||||
|
substr bEntity2.txt,bEntity2.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity2,1
|
vis bEntity2,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",23
|
spstr strCommand.txt,tTmp.txt,"~",23
|
||||||
@@ -1209,6 +1243,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity3.txt,"~",28
|
spstr strCommand.txt,bEntity3.txt,"~",28
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity3.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity3.font=sys1
|
||||||
|
substr bEntity3.txt,bEntity3.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity3,1
|
vis bEntity3,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",29
|
spstr strCommand.txt,tTmp.txt,"~",29
|
||||||
@@ -1230,6 +1275,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity4.txt,"~",34
|
spstr strCommand.txt,bEntity4.txt,"~",34
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity4.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity4.font=sys1
|
||||||
|
substr bEntity4.txt,bEntity4.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity4,1
|
vis bEntity4,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",35
|
spstr strCommand.txt,tTmp.txt,"~",35
|
||||||
@@ -1251,6 +1307,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity5.txt,"~",40
|
spstr strCommand.txt,bEntity5.txt,"~",40
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity5.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity5.font=sys1
|
||||||
|
substr bEntity5.txt,bEntity5.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity5,1
|
vis bEntity5,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",41
|
spstr strCommand.txt,tTmp.txt,"~",41
|
||||||
@@ -1272,6 +1339,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity6.txt,"~",46
|
spstr strCommand.txt,bEntity6.txt,"~",46
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity6.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity6.font=sys1
|
||||||
|
substr bEntity6.txt,bEntity6.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity6,1
|
vis bEntity6,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",47
|
spstr strCommand.txt,tTmp.txt,"~",47
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page cardGrid2
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
//remove background & activate reparse mode
|
//remove background & activate reparse mode
|
||||||
vis p0,0
|
vis p0,0
|
||||||
@@ -1389,6 +1401,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity1.txt,"~",16
|
spstr strCommand.txt,bEntity1.txt,"~",16
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity1.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity1.font=sys1
|
||||||
|
substr bEntity1.txt,bEntity1.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity1,1
|
vis bEntity1,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",17
|
spstr strCommand.txt,tTmp.txt,"~",17
|
||||||
@@ -1410,6 +1433,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity2.txt,"~",22
|
spstr strCommand.txt,bEntity2.txt,"~",22
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity2.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity2.font=sys1
|
||||||
|
substr bEntity2.txt,bEntity2.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity2,1
|
vis bEntity2,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",23
|
spstr strCommand.txt,tTmp.txt,"~",23
|
||||||
@@ -1431,6 +1465,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity3.txt,"~",28
|
spstr strCommand.txt,bEntity3.txt,"~",28
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity3.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity3.font=sys1
|
||||||
|
substr bEntity3.txt,bEntity3.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity3,1
|
vis bEntity3,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",29
|
spstr strCommand.txt,tTmp.txt,"~",29
|
||||||
@@ -1452,6 +1497,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity4.txt,"~",34
|
spstr strCommand.txt,bEntity4.txt,"~",34
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity4.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity4.font=sys1
|
||||||
|
substr bEntity4.txt,bEntity4.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity4,1
|
vis bEntity4,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",35
|
spstr strCommand.txt,tTmp.txt,"~",35
|
||||||
@@ -1473,6 +1529,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity5.txt,"~",40
|
spstr strCommand.txt,bEntity5.txt,"~",40
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity5.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity5.font=sys1
|
||||||
|
substr bEntity5.txt,bEntity5.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity5,1
|
vis bEntity5,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",41
|
spstr strCommand.txt,tTmp.txt,"~",41
|
||||||
@@ -1494,6 +1561,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity6.txt,"~",46
|
spstr strCommand.txt,bEntity6.txt,"~",46
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity6.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity6.font=sys1
|
||||||
|
substr bEntity6.txt,bEntity6.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity6,1
|
vis bEntity6,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",47
|
spstr strCommand.txt,tTmp.txt,"~",47
|
||||||
@@ -1515,6 +1593,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity7.txt,"~",52
|
spstr strCommand.txt,bEntity7.txt,"~",52
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity7.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity7.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity7.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity7.font=sys1
|
||||||
|
substr bEntity7.txt,bEntity7.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity7,1
|
vis bEntity7,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",53
|
spstr strCommand.txt,tTmp.txt,"~",53
|
||||||
@@ -1536,6 +1625,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity8.txt,"~",58
|
spstr strCommand.txt,bEntity8.txt,"~",58
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity8.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity8.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity8.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity8.font=sys1
|
||||||
|
substr bEntity8.txt,bEntity8.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity8,1
|
vis bEntity8,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",59
|
spstr strCommand.txt,tTmp.txt,"~",59
|
||||||
@@ -1622,6 +1722,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardChart
|
page cardChart
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardLChart")
|
||||||
|
{
|
||||||
|
page cardLChart
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page cardLChart
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page cardMedia
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
@@ -1485,6 +1497,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity1.txt,"~",25
|
spstr strCommand.txt,bEntity1.txt,"~",25
|
||||||
vis bEntity1,1
|
vis bEntity1,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity1.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity1.font=sys1
|
||||||
|
substr bEntity1.txt,bEntity1.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",26
|
spstr strCommand.txt,tTmp.txt,"~",26
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1506,6 +1529,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity2.txt,"~",31
|
spstr strCommand.txt,bEntity2.txt,"~",31
|
||||||
vis bEntity2,1
|
vis bEntity2,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity2.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity2.font=sys1
|
||||||
|
substr bEntity2.txt,bEntity2.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",32
|
spstr strCommand.txt,tTmp.txt,"~",32
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1527,6 +1561,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity3.txt,"~",37
|
spstr strCommand.txt,bEntity3.txt,"~",37
|
||||||
vis bEntity3,1
|
vis bEntity3,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity3.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity3.font=sys1
|
||||||
|
substr bEntity3.txt,bEntity3.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",38
|
spstr strCommand.txt,tTmp.txt,"~",38
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1548,6 +1593,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity4.txt,"~",43
|
spstr strCommand.txt,bEntity4.txt,"~",43
|
||||||
vis bEntity4,1
|
vis bEntity4,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity4.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity4.font=sys1
|
||||||
|
substr bEntity4.txt,bEntity4.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",44
|
spstr strCommand.txt,tTmp.txt,"~",44
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1569,6 +1625,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity5.txt,"~",49
|
spstr strCommand.txt,bEntity5.txt,"~",49
|
||||||
vis bEntity5,1
|
vis bEntity5,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity5.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity5.font=sys1
|
||||||
|
substr bEntity5.txt,bEntity5.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",50
|
spstr strCommand.txt,tTmp.txt,"~",50
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1590,6 +1657,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity6.txt,"~",55
|
spstr strCommand.txt,bEntity6.txt,"~",55
|
||||||
vis bEntity6,1
|
vis bEntity6,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity6.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity6.font=sys1
|
||||||
|
substr bEntity6.txt,bEntity6.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",56
|
spstr strCommand.txt,tTmp.txt,"~",56
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page cardPower
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page cardQR
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -19,6 +19,18 @@ Page cardThermo
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -6,18 +6,18 @@ pageIcons
|
|||||||
7 Component(s)
|
7 Component(s)
|
||||||
0 Line(s) of event code
|
0 Line(s) of event code
|
||||||
0 Unique line(s) of event code
|
0 Unique line(s) of event code
|
||||||
pageTest
|
cardBurnRec
|
||||||
27 Component(s)
|
3 Component(s)
|
||||||
68 Line(s) of event code
|
25 Line(s) of event code
|
||||||
66 Unique line(s) of event code
|
21 Unique line(s) of event code
|
||||||
cardLChart
|
|
||||||
33 Component(s)
|
|
||||||
402 Line(s) of event code
|
|
||||||
266 Unique line(s) of event code
|
|
||||||
popupFan
|
popupFan
|
||||||
27 Component(s)
|
27 Component(s)
|
||||||
355 Line(s) of event code
|
355 Line(s) of event code
|
||||||
206 Unique line(s) of event code
|
206 Unique line(s) of event code
|
||||||
|
pageStartup
|
||||||
|
20 Component(s)
|
||||||
|
198 Line(s) of event code
|
||||||
|
137 Unique line(s) of event code
|
||||||
popupShutter
|
popupShutter
|
||||||
25 Component(s)
|
25 Component(s)
|
||||||
402 Line(s) of event code
|
402 Line(s) of event code
|
||||||
@@ -30,58 +30,58 @@ popupNotify
|
|||||||
19 Component(s)
|
19 Component(s)
|
||||||
267 Line(s) of event code
|
267 Line(s) of event code
|
||||||
172 Unique line(s) of event code
|
172 Unique line(s) of event code
|
||||||
cardGrid
|
pageTest
|
||||||
44 Component(s)
|
26 Component(s)
|
||||||
529 Line(s) of event code
|
69 Line(s) of event code
|
||||||
298 Unique line(s) of event code
|
67 Unique line(s) of event code
|
||||||
pageStartup
|
cardGrid2
|
||||||
20 Component(s)
|
52 Component(s)
|
||||||
198 Line(s) of event code
|
703 Line(s) of event code
|
||||||
137 Unique line(s) of event code
|
385 Unique line(s) of event code
|
||||||
cardQR
|
|
||||||
34 Component(s)
|
|
||||||
410 Line(s) of event code
|
|
||||||
238 Unique line(s) of event code
|
|
||||||
cardChart
|
|
||||||
33 Component(s)
|
|
||||||
437 Line(s) of event code
|
|
||||||
296 Unique line(s) of event code
|
|
||||||
screensaver2
|
|
||||||
59 Component(s)
|
|
||||||
362 Line(s) of event code
|
|
||||||
255 Unique line(s) of event code
|
|
||||||
cardAlarm
|
cardAlarm
|
||||||
43 Component(s)
|
43 Component(s)
|
||||||
500 Line(s) of event code
|
510 Line(s) of event code
|
||||||
273 Unique line(s) of event code
|
274 Unique line(s) of event code
|
||||||
|
cardChart
|
||||||
|
33 Component(s)
|
||||||
|
447 Line(s) of event code
|
||||||
|
297 Unique line(s) of event code
|
||||||
|
cardQR
|
||||||
|
34 Component(s)
|
||||||
|
420 Line(s) of event code
|
||||||
|
239 Unique line(s) of event code
|
||||||
|
cardLChart
|
||||||
|
33 Component(s)
|
||||||
|
412 Line(s) of event code
|
||||||
|
267 Unique line(s) of event code
|
||||||
popupLight
|
popupLight
|
||||||
28 Component(s)
|
28 Component(s)
|
||||||
412 Line(s) of event code
|
412 Line(s) of event code
|
||||||
227 Unique line(s) of event code
|
227 Unique line(s) of event code
|
||||||
|
cardPower
|
||||||
|
54 Component(s)
|
||||||
|
541 Line(s) of event code
|
||||||
|
350 Unique line(s) of event code
|
||||||
cardThermo
|
cardThermo
|
||||||
57 Component(s)
|
57 Component(s)
|
||||||
540 Line(s) of event code
|
550 Line(s) of event code
|
||||||
319 Unique line(s) of event code
|
320 Unique line(s) of event code
|
||||||
cardGrid2
|
cardGrid
|
||||||
52 Component(s)
|
44 Component(s)
|
||||||
617 Line(s) of event code
|
593 Line(s) of event code
|
||||||
338 Unique line(s) of event code
|
333 Unique line(s) of event code
|
||||||
cardMedia
|
|
||||||
59 Component(s)
|
|
||||||
649 Line(s) of event code
|
|
||||||
322 Unique line(s) of event code
|
|
||||||
popupInSel
|
popupInSel
|
||||||
34 Component(s)
|
34 Component(s)
|
||||||
621 Line(s) of event code
|
621 Line(s) of event code
|
||||||
297 Unique line(s) of event code
|
297 Unique line(s) of event code
|
||||||
cardPower
|
|
||||||
54 Component(s)
|
|
||||||
531 Line(s) of event code
|
|
||||||
349 Unique line(s) of event code
|
|
||||||
screensaver
|
screensaver
|
||||||
47 Component(s)
|
47 Component(s)
|
||||||
444 Line(s) of event code
|
458 Line(s) of event code
|
||||||
316 Unique line(s) of event code
|
318 Unique line(s) of event code
|
||||||
|
cardMedia
|
||||||
|
59 Component(s)
|
||||||
|
713 Line(s) of event code
|
||||||
|
357 Unique line(s) of event code
|
||||||
popupTimer
|
popupTimer
|
||||||
42 Component(s)
|
42 Component(s)
|
||||||
516 Line(s) of event code
|
516 Line(s) of event code
|
||||||
@@ -90,13 +90,17 @@ popupThermo
|
|||||||
44 Component(s)
|
44 Component(s)
|
||||||
523 Line(s) of event code
|
523 Line(s) of event code
|
||||||
276 Unique line(s) of event code
|
276 Unique line(s) of event code
|
||||||
|
screensaver2
|
||||||
|
59 Component(s)
|
||||||
|
373 Line(s) of event code
|
||||||
|
256 Unique line(s) of event code
|
||||||
cardEntities
|
cardEntities
|
||||||
67 Component(s)
|
67 Component(s)
|
||||||
1194 Line(s) of event code
|
1205 Line(s) of event code
|
||||||
535 Unique line(s) of event code
|
536 Unique line(s) of event code
|
||||||
|
|
||||||
Total
|
Total
|
||||||
23 Page(s)
|
24 Page(s)
|
||||||
878 Component(s)
|
880 Component(s)
|
||||||
10404 Line(s) of event code
|
10740 Line(s) of event code
|
||||||
2417 Unique line(s) of event code
|
2475 Unique line(s) of event code
|
||||||
|
|||||||
@@ -396,7 +396,7 @@ Text tVersion
|
|||||||
Horizontal Alignment: center
|
Horizontal Alignment: center
|
||||||
Vertical Alignment : center
|
Vertical Alignment : center
|
||||||
Input Type : character
|
Input Type : character
|
||||||
Text : 52
|
Text : 53
|
||||||
Max. Text Size : 10
|
Max. Text Size : 10
|
||||||
Word wrap : disabled
|
Word wrap : disabled
|
||||||
Horizontal Spacing : 0
|
Horizontal Spacing : 0
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ Variable (string) strCommand
|
|||||||
|
|
||||||
Variable (string) strTmp
|
Variable (string) strTmp
|
||||||
Attributes
|
Attributes
|
||||||
ID : 25
|
ID : 24
|
||||||
Scope : local
|
Scope : local
|
||||||
Text :
|
Text :
|
||||||
Max. Text Size: 2
|
Max. Text Size: 2
|
||||||
@@ -58,9 +58,9 @@ Text tBench
|
|||||||
Dragging : 0
|
Dragging : 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 288
|
x coordinate : 207
|
||||||
y coordinate : 90
|
y coordinate : 287
|
||||||
Width : 152
|
Width : 88
|
||||||
Height : 30
|
Height : 30
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
@@ -82,14 +82,14 @@ Text tBench
|
|||||||
|
|
||||||
Text tTmp
|
Text tTmp
|
||||||
Attributes
|
Attributes
|
||||||
ID : 24
|
ID : 23
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 49
|
x coordinate : 212
|
||||||
y coordinate : 48
|
y coordinate : 253
|
||||||
Width : 257
|
Width : 71
|
||||||
Height : 30
|
Height : 30
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
@@ -103,7 +103,7 @@ Text tTmp
|
|||||||
Horizontal Alignment: center
|
Horizontal Alignment: center
|
||||||
Vertical Alignment : center
|
Vertical Alignment : center
|
||||||
Input Type : character
|
Input Type : character
|
||||||
Text : test123test123
|
Text : x
|
||||||
Max. Text Size : 30
|
Max. Text Size : 30
|
||||||
Word wrap : disabled
|
Word wrap : disabled
|
||||||
Horizontal Spacing : 0
|
Horizontal Spacing : 0
|
||||||
@@ -135,7 +135,7 @@ Button b0
|
|||||||
x coordinate : 0
|
x coordinate : 0
|
||||||
y coordinate : 0
|
y coordinate : 0
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 50
|
Height : 40
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
Effect Time : 300
|
Effect Time : 300
|
||||||
@@ -203,9 +203,9 @@ Button b10
|
|||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 100
|
x coordinate : 100
|
||||||
y coordinate : 98
|
y coordinate : 81
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 50
|
Height : 40
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
Effect Time : 300
|
Effect Time : 300
|
||||||
@@ -238,9 +238,9 @@ Button b11
|
|||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 100
|
x coordinate : 100
|
||||||
y coordinate : 145
|
y coordinate : 121
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 50
|
Height : 40
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
Effect Time : 300
|
Effect Time : 300
|
||||||
@@ -273,9 +273,9 @@ Button b12
|
|||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 0
|
x coordinate : 0
|
||||||
y coordinate : 242
|
y coordinate : 202
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 50
|
Height : 40
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
Effect Time : 300
|
Effect Time : 300
|
||||||
@@ -337,21 +337,21 @@ Button b13
|
|||||||
|
|
||||||
Button b14
|
Button b14
|
||||||
Attributes
|
Attributes
|
||||||
ID : 21
|
ID : 25
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 0
|
x coordinate : 229
|
||||||
y coordinate : 0
|
y coordinate : 188
|
||||||
Width : 100
|
Width : 106
|
||||||
Height : 50
|
Height : 40
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
Effect Time : 300
|
Effect Time : 300
|
||||||
Fill : solid color
|
Fill : solid color
|
||||||
Style : 3D auto
|
Style : 3D auto
|
||||||
Font ID : 0
|
Font ID : 1
|
||||||
Back. Color : 50712
|
Back. Color : 50712
|
||||||
Back. Picture ID (Pressed): 65535
|
Back. Picture ID (Pressed): 65535
|
||||||
Back. Color (Pressed) : 1024
|
Back. Color (Pressed) : 1024
|
||||||
@@ -360,21 +360,25 @@ Button b14
|
|||||||
Horizontal Alignment : center
|
Horizontal Alignment : center
|
||||||
Vertical Alignment : center
|
Vertical Alignment : center
|
||||||
State : unpressed
|
State : unpressed
|
||||||
Text : newtxt
|
Text : burntest
|
||||||
Max. Text Size : 10
|
Max. Text Size : 10
|
||||||
Word wrap : disabled
|
Word wrap : disabled
|
||||||
Horizontal Spacing : 0
|
Horizontal Spacing : 0
|
||||||
Vertical Spacing : 0
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
page cardBurnRec
|
||||||
|
|
||||||
Button b15
|
Button b15
|
||||||
Attributes
|
Attributes
|
||||||
ID : 22
|
ID : 21
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 236
|
x coordinate : 99
|
||||||
y coordinate : 263
|
y coordinate : 270
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 50
|
Height : 50
|
||||||
Effect : load
|
Effect : load
|
||||||
@@ -403,13 +407,13 @@ Button b15
|
|||||||
|
|
||||||
Button b16
|
Button b16
|
||||||
Attributes
|
Attributes
|
||||||
ID : 23
|
ID : 22
|
||||||
Scope : local
|
Scope : local
|
||||||
Dragging : 0
|
Dragging : 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 135
|
x coordinate : 0
|
||||||
y coordinate : 263
|
y coordinate : 270
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 50
|
Height : 50
|
||||||
Effect : load
|
Effect : load
|
||||||
@@ -444,9 +448,9 @@ Button b2
|
|||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 0
|
x coordinate : 0
|
||||||
y coordinate : 195
|
y coordinate : 162
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 50
|
Height : 40
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
Effect Time : 300
|
Effect Time : 300
|
||||||
@@ -514,9 +518,9 @@ Button b4
|
|||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 0
|
x coordinate : 0
|
||||||
y coordinate : 96
|
y coordinate : 82
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 50
|
Height : 40
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
Effect Time : 300
|
Effect Time : 300
|
||||||
@@ -551,7 +555,7 @@ Button b5
|
|||||||
x coordinate : 100
|
x coordinate : 100
|
||||||
y coordinate : 0
|
y coordinate : 0
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 50
|
Height : 40
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
Effect Time : 300
|
Effect Time : 300
|
||||||
@@ -584,9 +588,9 @@ Button b6
|
|||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 0
|
x coordinate : 0
|
||||||
y coordinate : 49
|
y coordinate : 41
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 50
|
Height : 40
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
Effect Time : 300
|
Effect Time : 300
|
||||||
@@ -619,9 +623,9 @@ Button b7
|
|||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 100
|
x coordinate : 100
|
||||||
y coordinate : 49
|
y coordinate : 41
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 50
|
Height : 40
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
Effect Time : 300
|
Effect Time : 300
|
||||||
@@ -653,10 +657,10 @@ Button b8
|
|||||||
Dragging : 0
|
Dragging : 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 341
|
x coordinate : 94
|
||||||
y coordinate : 9
|
y coordinate : 161
|
||||||
Width : 106
|
Width : 106
|
||||||
Height : 50
|
Height : 40
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
Effect Time : 300
|
Effect Time : 300
|
||||||
@@ -690,9 +694,9 @@ Button b9
|
|||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 0
|
x coordinate : 0
|
||||||
y coordinate : 146
|
y coordinate : 122
|
||||||
Width : 100
|
Width : 100
|
||||||
Height : 50
|
Height : 40
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
Effect Time : 300
|
Effect Time : 300
|
||||||
@@ -717,21 +721,6 @@ Button b9
|
|||||||
Touch Press Event
|
Touch Press Event
|
||||||
page popupNotify
|
page popupNotify
|
||||||
|
|
||||||
Hotspot m0
|
|
||||||
Attributes
|
|
||||||
ID : 26
|
|
||||||
Scope : local
|
|
||||||
Dragging : 0
|
|
||||||
Send Component ID: disabled
|
|
||||||
Opacity : 127
|
|
||||||
x coordinate : 213
|
|
||||||
y coordinate : 115
|
|
||||||
Width : 210
|
|
||||||
Height : 191
|
|
||||||
Effect : load
|
|
||||||
Effect Priority : 0
|
|
||||||
Effect Time : 300
|
|
||||||
|
|
||||||
Timer tmSerial
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
ID : 14
|
ID : 14
|
||||||
|
|||||||
@@ -19,6 +19,19 @@ Page screensaver
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
dim=dimValueNormal
|
||||||
recmod=1
|
recmod=1
|
||||||
baud=115200
|
baud=115200
|
||||||
vis tInstruction,0
|
vis tInstruction,0
|
||||||
@@ -1069,6 +1082,9 @@ Timer tmSerial
|
|||||||
if(tAMPM.txt=="")
|
if(tAMPM.txt=="")
|
||||||
{
|
{
|
||||||
vis tAMPM,0
|
vis tAMPM,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
vis tAMPM,1
|
||||||
}
|
}
|
||||||
spstr strCommand.txt,tTimeAdd.txt,"~",2
|
spstr strCommand.txt,tTimeAdd.txt,"~",2
|
||||||
ref tIcon1
|
ref tIcon1
|
||||||
|
|||||||
@@ -19,6 +19,19 @@ Page screensaver2
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
dim=dimValueNormal
|
||||||
recmod=1
|
recmod=1
|
||||||
baud=115200
|
baud=115200
|
||||||
vis tInstruction,0
|
vis tInstruction,0
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page cardAlarm
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
53
HMI/n2t-out/cardBurnRec.txt
Normal file
53
HMI/n2t-out/cardBurnRec.txt
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
Page cardBurnRec
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Locked : no
|
||||||
|
Swide up page ID : disabled
|
||||||
|
Swide down page ID : disabled
|
||||||
|
Swide left page ID : disabled
|
||||||
|
Swide right page ID: disabled
|
||||||
|
|
||||||
|
Timer tm0
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 1001
|
||||||
|
Enabled : yes
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
dim=100
|
||||||
|
sys0=0
|
||||||
|
sys1=0
|
||||||
|
if(sys2==WHITE)
|
||||||
|
{
|
||||||
|
sys2=BLACK
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
sys2=WHITE
|
||||||
|
}
|
||||||
|
sya1=sys2
|
||||||
|
while(sys0<8)
|
||||||
|
{
|
||||||
|
sya0=sys0%2
|
||||||
|
if(sya1==WHITE)
|
||||||
|
{
|
||||||
|
sya1=BLACK
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
sya1=WHITE
|
||||||
|
}
|
||||||
|
fill 0,40*sys0,480,40,sya1
|
||||||
|
sys0++
|
||||||
|
}
|
||||||
|
|
||||||
|
TouchCap tc0
|
||||||
|
Attributes
|
||||||
|
Scope: local
|
||||||
|
Value: 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
page pageStartup
|
||||||
|
|
||||||
@@ -11,6 +11,18 @@ Page cardChart
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -11,6 +11,19 @@ Page cardEntities
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
dim=dimValueNormal
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
//wup=cardEntities
|
//wup=cardEntities
|
||||||
//remove background & activate reparse mode
|
//remove background & activate reparse mode
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page cardGrid
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
//remove background & activate reparse mode
|
//remove background & activate reparse mode
|
||||||
vis p0,0
|
vis p0,0
|
||||||
@@ -719,6 +731,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity1.txt,"~",16
|
spstr strCommand.txt,bEntity1.txt,"~",16
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity1.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity1.font=sys1
|
||||||
|
substr bEntity1.txt,bEntity1.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity1,1
|
vis bEntity1,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",17
|
spstr strCommand.txt,tTmp.txt,"~",17
|
||||||
@@ -740,6 +763,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity2.txt,"~",22
|
spstr strCommand.txt,bEntity2.txt,"~",22
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity2.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity2.font=sys1
|
||||||
|
substr bEntity2.txt,bEntity2.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity2,1
|
vis bEntity2,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",23
|
spstr strCommand.txt,tTmp.txt,"~",23
|
||||||
@@ -761,6 +795,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity3.txt,"~",28
|
spstr strCommand.txt,bEntity3.txt,"~",28
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity3.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity3.font=sys1
|
||||||
|
substr bEntity3.txt,bEntity3.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity3,1
|
vis bEntity3,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",29
|
spstr strCommand.txt,tTmp.txt,"~",29
|
||||||
@@ -782,6 +827,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity4.txt,"~",34
|
spstr strCommand.txt,bEntity4.txt,"~",34
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity4.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity4.font=sys1
|
||||||
|
substr bEntity4.txt,bEntity4.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity4,1
|
vis bEntity4,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",35
|
spstr strCommand.txt,tTmp.txt,"~",35
|
||||||
@@ -803,6 +859,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity5.txt,"~",40
|
spstr strCommand.txt,bEntity5.txt,"~",40
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity5.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity5.font=sys1
|
||||||
|
substr bEntity5.txt,bEntity5.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity5,1
|
vis bEntity5,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",41
|
spstr strCommand.txt,tTmp.txt,"~",41
|
||||||
@@ -824,6 +891,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity6.txt,"~",46
|
spstr strCommand.txt,bEntity6.txt,"~",46
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity6.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity6.font=sys1
|
||||||
|
substr bEntity6.txt,bEntity6.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity6,1
|
vis bEntity6,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",47
|
spstr strCommand.txt,tTmp.txt,"~",47
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page cardGrid2
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
//remove background & activate reparse mode
|
//remove background & activate reparse mode
|
||||||
vis p0,0
|
vis p0,0
|
||||||
@@ -853,6 +865,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity1.txt,"~",16
|
spstr strCommand.txt,bEntity1.txt,"~",16
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity1.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity1.font=sys1
|
||||||
|
substr bEntity1.txt,bEntity1.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity1,1
|
vis bEntity1,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",17
|
spstr strCommand.txt,tTmp.txt,"~",17
|
||||||
@@ -874,6 +897,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity2.txt,"~",22
|
spstr strCommand.txt,bEntity2.txt,"~",22
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity2.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity2.font=sys1
|
||||||
|
substr bEntity2.txt,bEntity2.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity2,1
|
vis bEntity2,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",23
|
spstr strCommand.txt,tTmp.txt,"~",23
|
||||||
@@ -895,6 +929,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity3.txt,"~",28
|
spstr strCommand.txt,bEntity3.txt,"~",28
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity3.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity3.font=sys1
|
||||||
|
substr bEntity3.txt,bEntity3.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity3,1
|
vis bEntity3,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",29
|
spstr strCommand.txt,tTmp.txt,"~",29
|
||||||
@@ -916,6 +961,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity4.txt,"~",34
|
spstr strCommand.txt,bEntity4.txt,"~",34
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity4.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity4.font=sys1
|
||||||
|
substr bEntity4.txt,bEntity4.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity4,1
|
vis bEntity4,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",35
|
spstr strCommand.txt,tTmp.txt,"~",35
|
||||||
@@ -937,6 +993,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity5.txt,"~",40
|
spstr strCommand.txt,bEntity5.txt,"~",40
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity5.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity5.font=sys1
|
||||||
|
substr bEntity5.txt,bEntity5.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity5,1
|
vis bEntity5,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",41
|
spstr strCommand.txt,tTmp.txt,"~",41
|
||||||
@@ -958,6 +1025,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity6.txt,"~",46
|
spstr strCommand.txt,bEntity6.txt,"~",46
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity6.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity6.font=sys1
|
||||||
|
substr bEntity6.txt,bEntity6.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity6,1
|
vis bEntity6,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",47
|
spstr strCommand.txt,tTmp.txt,"~",47
|
||||||
@@ -979,6 +1057,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity7.txt,"~",52
|
spstr strCommand.txt,bEntity7.txt,"~",52
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity7.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity7.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity7.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity7.font=sys1
|
||||||
|
substr bEntity7.txt,bEntity7.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity7,1
|
vis bEntity7,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",53
|
spstr strCommand.txt,tTmp.txt,"~",53
|
||||||
@@ -1000,6 +1089,17 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity8.txt,"~",58
|
spstr strCommand.txt,bEntity8.txt,"~",58
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity8.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity8.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity8.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity8.font=sys1
|
||||||
|
substr bEntity8.txt,bEntity8.txt,0,sys0-2
|
||||||
|
}
|
||||||
vis bEntity8,1
|
vis bEntity8,1
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",59
|
spstr strCommand.txt,tTmp.txt,"~",59
|
||||||
@@ -1086,6 +1186,10 @@ Timer tmSerial
|
|||||||
{
|
{
|
||||||
page cardChart
|
page cardChart
|
||||||
}
|
}
|
||||||
|
if(tId.txt=="cardLChart")
|
||||||
|
{
|
||||||
|
page cardLChart
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page cardLChart
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page cardMedia
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
@@ -997,6 +1009,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity1.txt,"~",25
|
spstr strCommand.txt,bEntity1.txt,"~",25
|
||||||
vis bEntity1,1
|
vis bEntity1,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity1.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity1.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity1.font=sys1
|
||||||
|
substr bEntity1.txt,bEntity1.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",26
|
spstr strCommand.txt,tTmp.txt,"~",26
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1018,6 +1041,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity2.txt,"~",31
|
spstr strCommand.txt,bEntity2.txt,"~",31
|
||||||
vis bEntity2,1
|
vis bEntity2,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity2.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity2.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity2.font=sys1
|
||||||
|
substr bEntity2.txt,bEntity2.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",32
|
spstr strCommand.txt,tTmp.txt,"~",32
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1039,6 +1073,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity3.txt,"~",37
|
spstr strCommand.txt,bEntity3.txt,"~",37
|
||||||
vis bEntity3,1
|
vis bEntity3,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity3.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity3.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity3.font=sys1
|
||||||
|
substr bEntity3.txt,bEntity3.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",38
|
spstr strCommand.txt,tTmp.txt,"~",38
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1060,6 +1105,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity4.txt,"~",43
|
spstr strCommand.txt,bEntity4.txt,"~",43
|
||||||
vis bEntity4,1
|
vis bEntity4,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity4.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity4.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity4.font=sys1
|
||||||
|
substr bEntity4.txt,bEntity4.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",44
|
spstr strCommand.txt,tTmp.txt,"~",44
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1081,6 +1137,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity5.txt,"~",49
|
spstr strCommand.txt,bEntity5.txt,"~",49
|
||||||
vis bEntity5,1
|
vis bEntity5,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity5.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity5.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity5.font=sys1
|
||||||
|
substr bEntity5.txt,bEntity5.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",50
|
spstr strCommand.txt,tTmp.txt,"~",50
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
@@ -1102,6 +1169,17 @@ Timer tmSerial
|
|||||||
// change icon
|
// change icon
|
||||||
spstr strCommand.txt,bEntity6.txt,"~",55
|
spstr strCommand.txt,bEntity6.txt,"~",55
|
||||||
vis bEntity6,1
|
vis bEntity6,1
|
||||||
|
// way to get force font adjustment
|
||||||
|
strlen bEntity6.txt,sys0
|
||||||
|
//check 2nd last char for ¬
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-2,1
|
||||||
|
if(tTmp.txt=="¬")
|
||||||
|
{
|
||||||
|
substr bEntity6.txt,tTmp.txt,sys0-1,1
|
||||||
|
covx tTmp.txt,sys1,0,0
|
||||||
|
bEntity6.font=sys1
|
||||||
|
substr bEntity6.txt,bEntity6.txt,0,sys0-2
|
||||||
|
}
|
||||||
// change icon color
|
// change icon color
|
||||||
spstr strCommand.txt,tTmp.txt,"~",56
|
spstr strCommand.txt,tTmp.txt,"~",56
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page cardPower
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page cardQR
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ Page cardThermo
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ Text tVersion
|
|||||||
Dragging : 0
|
Dragging : 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Associated Keyboard: none
|
Associated Keyboard: none
|
||||||
Text : 52
|
Text : 53
|
||||||
Max. Text Size : 10
|
Max. Text Size : 10
|
||||||
|
|
||||||
Picture p0
|
Picture p0
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ Text tTmp
|
|||||||
Dragging : 0
|
Dragging : 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Associated Keyboard: none
|
Associated Keyboard: none
|
||||||
Text : test123test123
|
Text : x
|
||||||
Max. Text Size : 30
|
Max. Text Size : 30
|
||||||
|
|
||||||
Picture p0
|
Picture p0
|
||||||
@@ -147,9 +147,13 @@ Button b14
|
|||||||
Dragging : 0
|
Dragging : 0
|
||||||
Send Component ID: disabled
|
Send Component ID: disabled
|
||||||
State : unpressed
|
State : unpressed
|
||||||
Text : newtxt
|
Text : burntest
|
||||||
Max. Text Size : 10
|
Max. Text Size : 10
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
page cardBurnRec
|
||||||
|
|
||||||
Button b15
|
Button b15
|
||||||
Attributes
|
Attributes
|
||||||
Scope : local
|
Scope : local
|
||||||
@@ -281,12 +285,6 @@ Button b9
|
|||||||
Touch Press Event
|
Touch Press Event
|
||||||
page popupNotify
|
page popupNotify
|
||||||
|
|
||||||
Hotspot m0
|
|
||||||
Attributes
|
|
||||||
Scope : local
|
|
||||||
Dragging : 0
|
|
||||||
Send Component ID: disabled
|
|
||||||
|
|
||||||
Timer tmSerial
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
Scope : local
|
Scope : local
|
||||||
|
|||||||
@@ -11,6 +11,19 @@ Page screensaver
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
dim=dimValueNormal
|
||||||
recmod=1
|
recmod=1
|
||||||
baud=115200
|
baud=115200
|
||||||
vis tInstruction,0
|
vis tInstruction,0
|
||||||
@@ -476,6 +489,9 @@ Timer tmSerial
|
|||||||
if(tAMPM.txt=="")
|
if(tAMPM.txt=="")
|
||||||
{
|
{
|
||||||
vis tAMPM,0
|
vis tAMPM,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
vis tAMPM,1
|
||||||
}
|
}
|
||||||
spstr strCommand.txt,tTimeAdd.txt,"~",2
|
spstr strCommand.txt,tTimeAdd.txt,"~",2
|
||||||
ref tIcon1
|
ref tIcon1
|
||||||
|
|||||||
@@ -11,6 +11,19 @@ Page screensaver2
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
tSend.txt="event,renderCurrentPage"
|
||||||
|
//send calc crc
|
||||||
|
btlen tSend.txt,sys0
|
||||||
|
crcrest 1,0xffff // reset CRC
|
||||||
|
crcputh 55 bb
|
||||||
|
crcputs sys0,2
|
||||||
|
crcputs tSend.txt,0
|
||||||
|
//send cmd
|
||||||
|
printh 55 bb
|
||||||
|
prints sys0,2
|
||||||
|
prints tSend.txt,0
|
||||||
|
prints crcval,2
|
||||||
|
dim=dimValueNormal
|
||||||
recmod=1
|
recmod=1
|
||||||
baud=115200
|
baud=115200
|
||||||
vis tInstruction,0
|
vis tInstruction,0
|
||||||
|
|||||||
BIN
HMI/nspanel.HMI
BIN
HMI/nspanel.HMI
Binary file not shown.
BIN
HMI/nspanel.tft
BIN
HMI/nspanel.tft
Binary file not shown.
674
LICENSE
Normal file
674
LICENSE
Normal file
@@ -0,0 +1,674 @@
|
|||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The GNU General Public License is a free, copyleft license for
|
||||||
|
software and other kinds of works.
|
||||||
|
|
||||||
|
The licenses for most software and other practical works are designed
|
||||||
|
to take away your freedom to share and change the works. By contrast,
|
||||||
|
the GNU General Public License is intended to guarantee your freedom to
|
||||||
|
share and change all versions of a program--to make sure it remains free
|
||||||
|
software for all its users. We, the Free Software Foundation, use the
|
||||||
|
GNU General Public License for most of our software; it applies also to
|
||||||
|
any other work released this way by its authors. You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
them if you wish), that you receive source code or can get it if you
|
||||||
|
want it, that you can change the software or use pieces of it in new
|
||||||
|
free programs, and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to prevent others from denying you
|
||||||
|
these rights or asking you to surrender the rights. Therefore, you have
|
||||||
|
certain responsibilities if you distribute copies of the software, or if
|
||||||
|
you modify it: responsibilities to respect the freedom of others.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must pass on to the recipients the same
|
||||||
|
freedoms that you received. You must make sure that they, too, receive
|
||||||
|
or can get the source code. And you must show them these terms so they
|
||||||
|
know their rights.
|
||||||
|
|
||||||
|
Developers that use the GNU GPL protect your rights with two steps:
|
||||||
|
(1) assert copyright on the software, and (2) offer you this License
|
||||||
|
giving you legal permission to copy, distribute and/or modify it.
|
||||||
|
|
||||||
|
For the developers' and authors' protection, the GPL clearly explains
|
||||||
|
that there is no warranty for this free software. For both users' and
|
||||||
|
authors' sake, the GPL requires that modified versions be marked as
|
||||||
|
changed, so that their problems will not be attributed erroneously to
|
||||||
|
authors of previous versions.
|
||||||
|
|
||||||
|
Some devices are designed to deny users access to install or run
|
||||||
|
modified versions of the software inside them, although the manufacturer
|
||||||
|
can do so. This is fundamentally incompatible with the aim of
|
||||||
|
protecting users' freedom to change the software. The systematic
|
||||||
|
pattern of such abuse occurs in the area of products for individuals to
|
||||||
|
use, which is precisely where it is most unacceptable. Therefore, we
|
||||||
|
have designed this version of the GPL to prohibit the practice for those
|
||||||
|
products. If such problems arise substantially in other domains, we
|
||||||
|
stand ready to extend this provision to those domains in future versions
|
||||||
|
of the GPL, as needed to protect the freedom of users.
|
||||||
|
|
||||||
|
Finally, every program is threatened constantly by software patents.
|
||||||
|
States should not allow patents to restrict development and use of
|
||||||
|
software on general-purpose computers, but in those that do, we wish to
|
||||||
|
avoid the special danger that patents applied to a free program could
|
||||||
|
make it effectively proprietary. To prevent this, the GPL assures that
|
||||||
|
patents cannot be used to render the program non-free.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
0. Definitions.
|
||||||
|
|
||||||
|
"This License" refers to version 3 of the GNU General Public License.
|
||||||
|
|
||||||
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||||
|
works, such as semiconductor masks.
|
||||||
|
|
||||||
|
"The Program" refers to any copyrightable work licensed under this
|
||||||
|
License. Each licensee is addressed as "you". "Licensees" and
|
||||||
|
"recipients" may be individuals or organizations.
|
||||||
|
|
||||||
|
To "modify" a work means to copy from or adapt all or part of the work
|
||||||
|
in a fashion requiring copyright permission, other than the making of an
|
||||||
|
exact copy. The resulting work is called a "modified version" of the
|
||||||
|
earlier work or a work "based on" the earlier work.
|
||||||
|
|
||||||
|
A "covered work" means either the unmodified Program or a work based
|
||||||
|
on the Program.
|
||||||
|
|
||||||
|
To "propagate" a work means to do anything with it that, without
|
||||||
|
permission, would make you directly or secondarily liable for
|
||||||
|
infringement under applicable copyright law, except executing it on a
|
||||||
|
computer or modifying a private copy. Propagation includes copying,
|
||||||
|
distribution (with or without modification), making available to the
|
||||||
|
public, and in some countries other activities as well.
|
||||||
|
|
||||||
|
To "convey" a work means any kind of propagation that enables other
|
||||||
|
parties to make or receive copies. Mere interaction with a user through
|
||||||
|
a computer network, with no transfer of a copy, is not conveying.
|
||||||
|
|
||||||
|
An interactive user interface displays "Appropriate Legal Notices"
|
||||||
|
to the extent that it includes a convenient and prominently visible
|
||||||
|
feature that (1) displays an appropriate copyright notice, and (2)
|
||||||
|
tells the user that there is no warranty for the work (except to the
|
||||||
|
extent that warranties are provided), that licensees may convey the
|
||||||
|
work under this License, and how to view a copy of this License. If
|
||||||
|
the interface presents a list of user commands or options, such as a
|
||||||
|
menu, a prominent item in the list meets this criterion.
|
||||||
|
|
||||||
|
1. Source Code.
|
||||||
|
|
||||||
|
The "source code" for a work means the preferred form of the work
|
||||||
|
for making modifications to it. "Object code" means any non-source
|
||||||
|
form of a work.
|
||||||
|
|
||||||
|
A "Standard Interface" means an interface that either is an official
|
||||||
|
standard defined by a recognized standards body, or, in the case of
|
||||||
|
interfaces specified for a particular programming language, one that
|
||||||
|
is widely used among developers working in that language.
|
||||||
|
|
||||||
|
The "System Libraries" of an executable work include anything, other
|
||||||
|
than the work as a whole, that (a) is included in the normal form of
|
||||||
|
packaging a Major Component, but which is not part of that Major
|
||||||
|
Component, and (b) serves only to enable use of the work with that
|
||||||
|
Major Component, or to implement a Standard Interface for which an
|
||||||
|
implementation is available to the public in source code form. A
|
||||||
|
"Major Component", in this context, means a major essential component
|
||||||
|
(kernel, window system, and so on) of the specific operating system
|
||||||
|
(if any) on which the executable work runs, or a compiler used to
|
||||||
|
produce the work, or an object code interpreter used to run it.
|
||||||
|
|
||||||
|
The "Corresponding Source" for a work in object code form means all
|
||||||
|
the source code needed to generate, install, and (for an executable
|
||||||
|
work) run the object code and to modify the work, including scripts to
|
||||||
|
control those activities. However, it does not include the work's
|
||||||
|
System Libraries, or general-purpose tools or generally available free
|
||||||
|
programs which are used unmodified in performing those activities but
|
||||||
|
which are not part of the work. For example, Corresponding Source
|
||||||
|
includes interface definition files associated with source files for
|
||||||
|
the work, and the source code for shared libraries and dynamically
|
||||||
|
linked subprograms that the work is specifically designed to require,
|
||||||
|
such as by intimate data communication or control flow between those
|
||||||
|
subprograms and other parts of the work.
|
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users
|
||||||
|
can regenerate automatically from other parts of the Corresponding
|
||||||
|
Source.
|
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that
|
||||||
|
same work.
|
||||||
|
|
||||||
|
2. Basic Permissions.
|
||||||
|
|
||||||
|
All rights granted under this License are granted for the term of
|
||||||
|
copyright on the Program, and are irrevocable provided the stated
|
||||||
|
conditions are met. This License explicitly affirms your unlimited
|
||||||
|
permission to run the unmodified Program. The output from running a
|
||||||
|
covered work is covered by this License only if the output, given its
|
||||||
|
content, constitutes a covered work. This License acknowledges your
|
||||||
|
rights of fair use or other equivalent, as provided by copyright law.
|
||||||
|
|
||||||
|
You may make, run and propagate covered works that you do not
|
||||||
|
convey, without conditions so long as your license otherwise remains
|
||||||
|
in force. You may convey covered works to others for the sole purpose
|
||||||
|
of having them make modifications exclusively for you, or provide you
|
||||||
|
with facilities for running those works, provided that you comply with
|
||||||
|
the terms of this License in conveying all material for which you do
|
||||||
|
not control copyright. Those thus making or running the covered works
|
||||||
|
for you must do so exclusively on your behalf, under your direction
|
||||||
|
and control, on terms that prohibit them from making any copies of
|
||||||
|
your copyrighted material outside their relationship with you.
|
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under
|
||||||
|
the conditions stated below. Sublicensing is not allowed; section 10
|
||||||
|
makes it unnecessary.
|
||||||
|
|
||||||
|
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||||
|
|
||||||
|
No covered work shall be deemed part of an effective technological
|
||||||
|
measure under any applicable law fulfilling obligations under article
|
||||||
|
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||||
|
similar laws prohibiting or restricting circumvention of such
|
||||||
|
measures.
|
||||||
|
|
||||||
|
When you convey a covered work, you waive any legal power to forbid
|
||||||
|
circumvention of technological measures to the extent such circumvention
|
||||||
|
is effected by exercising rights under this License with respect to
|
||||||
|
the covered work, and you disclaim any intention to limit operation or
|
||||||
|
modification of the work as a means of enforcing, against the work's
|
||||||
|
users, your or third parties' legal rights to forbid circumvention of
|
||||||
|
technological measures.
|
||||||
|
|
||||||
|
4. Conveying Verbatim Copies.
|
||||||
|
|
||||||
|
You may convey verbatim copies of the Program's source code as you
|
||||||
|
receive it, in any medium, provided that you conspicuously and
|
||||||
|
appropriately publish on each copy an appropriate copyright notice;
|
||||||
|
keep intact all notices stating that this License and any
|
||||||
|
non-permissive terms added in accord with section 7 apply to the code;
|
||||||
|
keep intact all notices of the absence of any warranty; and give all
|
||||||
|
recipients a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge any price or no price for each copy that you convey,
|
||||||
|
and you may offer support or warranty protection for a fee.
|
||||||
|
|
||||||
|
5. Conveying Modified Source Versions.
|
||||||
|
|
||||||
|
You may convey a work based on the Program, or the modifications to
|
||||||
|
produce it from the Program, in the form of source code under the
|
||||||
|
terms of section 4, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The work must carry prominent notices stating that you modified
|
||||||
|
it, and giving a relevant date.
|
||||||
|
|
||||||
|
b) The work must carry prominent notices stating that it is
|
||||||
|
released under this License and any conditions added under section
|
||||||
|
7. This requirement modifies the requirement in section 4 to
|
||||||
|
"keep intact all notices".
|
||||||
|
|
||||||
|
c) You must license the entire work, as a whole, under this
|
||||||
|
License to anyone who comes into possession of a copy. This
|
||||||
|
License will therefore apply, along with any applicable section 7
|
||||||
|
additional terms, to the whole of the work, and all its parts,
|
||||||
|
regardless of how they are packaged. This License gives no
|
||||||
|
permission to license the work in any other way, but it does not
|
||||||
|
invalidate such permission if you have separately received it.
|
||||||
|
|
||||||
|
d) If the work has interactive user interfaces, each must display
|
||||||
|
Appropriate Legal Notices; however, if the Program has interactive
|
||||||
|
interfaces that do not display Appropriate Legal Notices, your
|
||||||
|
work need not make them do so.
|
||||||
|
|
||||||
|
A compilation of a covered work with other separate and independent
|
||||||
|
works, which are not by their nature extensions of the covered work,
|
||||||
|
and which are not combined with it such as to form a larger program,
|
||||||
|
in or on a volume of a storage or distribution medium, is called an
|
||||||
|
"aggregate" if the compilation and its resulting copyright are not
|
||||||
|
used to limit the access or legal rights of the compilation's users
|
||||||
|
beyond what the individual works permit. Inclusion of a covered work
|
||||||
|
in an aggregate does not cause this License to apply to the other
|
||||||
|
parts of the aggregate.
|
||||||
|
|
||||||
|
6. Conveying Non-Source Forms.
|
||||||
|
|
||||||
|
You may convey a covered work in object code form under the terms
|
||||||
|
of sections 4 and 5, provided that you also convey the
|
||||||
|
machine-readable Corresponding Source under the terms of this License,
|
||||||
|
in one of these ways:
|
||||||
|
|
||||||
|
a) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by the
|
||||||
|
Corresponding Source fixed on a durable physical medium
|
||||||
|
customarily used for software interchange.
|
||||||
|
|
||||||
|
b) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by a
|
||||||
|
written offer, valid for at least three years and valid for as
|
||||||
|
long as you offer spare parts or customer support for that product
|
||||||
|
model, to give anyone who possesses the object code either (1) a
|
||||||
|
copy of the Corresponding Source for all the software in the
|
||||||
|
product that is covered by this License, on a durable physical
|
||||||
|
medium customarily used for software interchange, for a price no
|
||||||
|
more than your reasonable cost of physically performing this
|
||||||
|
conveying of source, or (2) access to copy the
|
||||||
|
Corresponding Source from a network server at no charge.
|
||||||
|
|
||||||
|
c) Convey individual copies of the object code with a copy of the
|
||||||
|
written offer to provide the Corresponding Source. This
|
||||||
|
alternative is allowed only occasionally and noncommercially, and
|
||||||
|
only if you received the object code with such an offer, in accord
|
||||||
|
with subsection 6b.
|
||||||
|
|
||||||
|
d) Convey the object code by offering access from a designated
|
||||||
|
place (gratis or for a charge), and offer equivalent access to the
|
||||||
|
Corresponding Source in the same way through the same place at no
|
||||||
|
further charge. You need not require recipients to copy the
|
||||||
|
Corresponding Source along with the object code. If the place to
|
||||||
|
copy the object code is a network server, the Corresponding Source
|
||||||
|
may be on a different server (operated by you or a third party)
|
||||||
|
that supports equivalent copying facilities, provided you maintain
|
||||||
|
clear directions next to the object code saying where to find the
|
||||||
|
Corresponding Source. Regardless of what server hosts the
|
||||||
|
Corresponding Source, you remain obligated to ensure that it is
|
||||||
|
available for as long as needed to satisfy these requirements.
|
||||||
|
|
||||||
|
e) Convey the object code using peer-to-peer transmission, provided
|
||||||
|
you inform other peers where the object code and Corresponding
|
||||||
|
Source of the work are being offered to the general public at no
|
||||||
|
charge under subsection 6d.
|
||||||
|
|
||||||
|
A separable portion of the object code, whose source code is excluded
|
||||||
|
from the Corresponding Source as a System Library, need not be
|
||||||
|
included in conveying the object code work.
|
||||||
|
|
||||||
|
A "User Product" is either (1) a "consumer product", which means any
|
||||||
|
tangible personal property which is normally used for personal, family,
|
||||||
|
or household purposes, or (2) anything designed or sold for incorporation
|
||||||
|
into a dwelling. In determining whether a product is a consumer product,
|
||||||
|
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||||
|
product received by a particular user, "normally used" refers to a
|
||||||
|
typical or common use of that class of product, regardless of the status
|
||||||
|
of the particular user or of the way in which the particular user
|
||||||
|
actually uses, or expects or is expected to use, the product. A product
|
||||||
|
is a consumer product regardless of whether the product has substantial
|
||||||
|
commercial, industrial or non-consumer uses, unless such uses represent
|
||||||
|
the only significant mode of use of the product.
|
||||||
|
|
||||||
|
"Installation Information" for a User Product means any methods,
|
||||||
|
procedures, authorization keys, or other information required to install
|
||||||
|
and execute modified versions of a covered work in that User Product from
|
||||||
|
a modified version of its Corresponding Source. The information must
|
||||||
|
suffice to ensure that the continued functioning of the modified object
|
||||||
|
code is in no case prevented or interfered with solely because
|
||||||
|
modification has been made.
|
||||||
|
|
||||||
|
If you convey an object code work under this section in, or with, or
|
||||||
|
specifically for use in, a User Product, and the conveying occurs as
|
||||||
|
part of a transaction in which the right of possession and use of the
|
||||||
|
User Product is transferred to the recipient in perpetuity or for a
|
||||||
|
fixed term (regardless of how the transaction is characterized), the
|
||||||
|
Corresponding Source conveyed under this section must be accompanied
|
||||||
|
by the Installation Information. But this requirement does not apply
|
||||||
|
if neither you nor any third party retains the ability to install
|
||||||
|
modified object code on the User Product (for example, the work has
|
||||||
|
been installed in ROM).
|
||||||
|
|
||||||
|
The requirement to provide Installation Information does not include a
|
||||||
|
requirement to continue to provide support service, warranty, or updates
|
||||||
|
for a work that has been modified or installed by the recipient, or for
|
||||||
|
the User Product in which it has been modified or installed. Access to a
|
||||||
|
network may be denied when the modification itself materially and
|
||||||
|
adversely affects the operation of the network or violates the rules and
|
||||||
|
protocols for communication across the network.
|
||||||
|
|
||||||
|
Corresponding Source conveyed, and Installation Information provided,
|
||||||
|
in accord with this section must be in a format that is publicly
|
||||||
|
documented (and with an implementation available to the public in
|
||||||
|
source code form), and must require no special password or key for
|
||||||
|
unpacking, reading or copying.
|
||||||
|
|
||||||
|
7. Additional Terms.
|
||||||
|
|
||||||
|
"Additional permissions" are terms that supplement the terms of this
|
||||||
|
License by making exceptions from one or more of its conditions.
|
||||||
|
Additional permissions that are applicable to the entire Program shall
|
||||||
|
be treated as though they were included in this License, to the extent
|
||||||
|
that they are valid under applicable law. If additional permissions
|
||||||
|
apply only to part of the Program, that part may be used separately
|
||||||
|
under those permissions, but the entire Program remains governed by
|
||||||
|
this License without regard to the additional permissions.
|
||||||
|
|
||||||
|
When you convey a copy of a covered work, you may at your option
|
||||||
|
remove any additional permissions from that copy, or from any part of
|
||||||
|
it. (Additional permissions may be written to require their own
|
||||||
|
removal in certain cases when you modify the work.) You may place
|
||||||
|
additional permissions on material, added by you to a covered work,
|
||||||
|
for which you have or can give appropriate copyright permission.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, for material you
|
||||||
|
add to a covered work, you may (if authorized by the copyright holders of
|
||||||
|
that material) supplement the terms of this License with terms:
|
||||||
|
|
||||||
|
a) Disclaiming warranty or limiting liability differently from the
|
||||||
|
terms of sections 15 and 16 of this License; or
|
||||||
|
|
||||||
|
b) Requiring preservation of specified reasonable legal notices or
|
||||||
|
author attributions in that material or in the Appropriate Legal
|
||||||
|
Notices displayed by works containing it; or
|
||||||
|
|
||||||
|
c) Prohibiting misrepresentation of the origin of that material, or
|
||||||
|
requiring that modified versions of such material be marked in
|
||||||
|
reasonable ways as different from the original version; or
|
||||||
|
|
||||||
|
d) Limiting the use for publicity purposes of names of licensors or
|
||||||
|
authors of the material; or
|
||||||
|
|
||||||
|
e) Declining to grant rights under trademark law for use of some
|
||||||
|
trade names, trademarks, or service marks; or
|
||||||
|
|
||||||
|
f) Requiring indemnification of licensors and authors of that
|
||||||
|
material by anyone who conveys the material (or modified versions of
|
||||||
|
it) with contractual assumptions of liability to the recipient, for
|
||||||
|
any liability that these contractual assumptions directly impose on
|
||||||
|
those licensors and authors.
|
||||||
|
|
||||||
|
All other non-permissive additional terms are considered "further
|
||||||
|
restrictions" within the meaning of section 10. If the Program as you
|
||||||
|
received it, or any part of it, contains a notice stating that it is
|
||||||
|
governed by this License along with a term that is a further
|
||||||
|
restriction, you may remove that term. If a license document contains
|
||||||
|
a further restriction but permits relicensing or conveying under this
|
||||||
|
License, you may add to a covered work material governed by the terms
|
||||||
|
of that license document, provided that the further restriction does
|
||||||
|
not survive such relicensing or conveying.
|
||||||
|
|
||||||
|
If you add terms to a covered work in accord with this section, you
|
||||||
|
must place, in the relevant source files, a statement of the
|
||||||
|
additional terms that apply to those files, or a notice indicating
|
||||||
|
where to find the applicable terms.
|
||||||
|
|
||||||
|
Additional terms, permissive or non-permissive, may be stated in the
|
||||||
|
form of a separately written license, or stated as exceptions;
|
||||||
|
the above requirements apply either way.
|
||||||
|
|
||||||
|
8. Termination.
|
||||||
|
|
||||||
|
You may not propagate or modify a covered work except as expressly
|
||||||
|
provided under this License. Any attempt otherwise to propagate or
|
||||||
|
modify it is void, and will automatically terminate your rights under
|
||||||
|
this License (including any patent licenses granted under the third
|
||||||
|
paragraph of section 11).
|
||||||
|
|
||||||
|
However, if you cease all violation of this License, then your
|
||||||
|
license from a particular copyright holder is reinstated (a)
|
||||||
|
provisionally, unless and until the copyright holder explicitly and
|
||||||
|
finally terminates your license, and (b) permanently, if the copyright
|
||||||
|
holder fails to notify you of the violation by some reasonable means
|
||||||
|
prior to 60 days after the cessation.
|
||||||
|
|
||||||
|
Moreover, your license from a particular copyright holder is
|
||||||
|
reinstated permanently if the copyright holder notifies you of the
|
||||||
|
violation by some reasonable means, this is the first time you have
|
||||||
|
received notice of violation of this License (for any work) from that
|
||||||
|
copyright holder, and you cure the violation prior to 30 days after
|
||||||
|
your receipt of the notice.
|
||||||
|
|
||||||
|
Termination of your rights under this section does not terminate the
|
||||||
|
licenses of parties who have received copies or rights from you under
|
||||||
|
this License. If your rights have been terminated and not permanently
|
||||||
|
reinstated, you do not qualify to receive new licenses for the same
|
||||||
|
material under section 10.
|
||||||
|
|
||||||
|
9. Acceptance Not Required for Having Copies.
|
||||||
|
|
||||||
|
You are not required to accept this License in order to receive or
|
||||||
|
run a copy of the Program. Ancillary propagation of a covered work
|
||||||
|
occurring solely as a consequence of using peer-to-peer transmission
|
||||||
|
to receive a copy likewise does not require acceptance. However,
|
||||||
|
nothing other than this License grants you permission to propagate or
|
||||||
|
modify any covered work. These actions infringe copyright if you do
|
||||||
|
not accept this License. Therefore, by modifying or propagating a
|
||||||
|
covered work, you indicate your acceptance of this License to do so.
|
||||||
|
|
||||||
|
10. Automatic Licensing of Downstream Recipients.
|
||||||
|
|
||||||
|
Each time you convey a covered work, the recipient automatically
|
||||||
|
receives a license from the original licensors, to run, modify and
|
||||||
|
propagate that work, subject to this License. You are not responsible
|
||||||
|
for enforcing compliance by third parties with this License.
|
||||||
|
|
||||||
|
An "entity transaction" is a transaction transferring control of an
|
||||||
|
organization, or substantially all assets of one, or subdividing an
|
||||||
|
organization, or merging organizations. If propagation of a covered
|
||||||
|
work results from an entity transaction, each party to that
|
||||||
|
transaction who receives a copy of the work also receives whatever
|
||||||
|
licenses to the work the party's predecessor in interest had or could
|
||||||
|
give under the previous paragraph, plus a right to possession of the
|
||||||
|
Corresponding Source of the work from the predecessor in interest, if
|
||||||
|
the predecessor has it or can get it with reasonable efforts.
|
||||||
|
|
||||||
|
You may not impose any further restrictions on the exercise of the
|
||||||
|
rights granted or affirmed under this License. For example, you may
|
||||||
|
not impose a license fee, royalty, or other charge for exercise of
|
||||||
|
rights granted under this License, and you may not initiate litigation
|
||||||
|
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||||
|
any patent claim is infringed by making, using, selling, offering for
|
||||||
|
sale, or importing the Program or any portion of it.
|
||||||
|
|
||||||
|
11. Patents.
|
||||||
|
|
||||||
|
A "contributor" is a copyright holder who authorizes use under this
|
||||||
|
License of the Program or a work on which the Program is based. The
|
||||||
|
work thus licensed is called the contributor's "contributor version".
|
||||||
|
|
||||||
|
A contributor's "essential patent claims" are all patent claims
|
||||||
|
owned or controlled by the contributor, whether already acquired or
|
||||||
|
hereafter acquired, that would be infringed by some manner, permitted
|
||||||
|
by this License, of making, using, or selling its contributor version,
|
||||||
|
but do not include claims that would be infringed only as a
|
||||||
|
consequence of further modification of the contributor version. For
|
||||||
|
purposes of this definition, "control" includes the right to grant
|
||||||
|
patent sublicenses in a manner consistent with the requirements of
|
||||||
|
this License.
|
||||||
|
|
||||||
|
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||||
|
patent license under the contributor's essential patent claims, to
|
||||||
|
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||||
|
propagate the contents of its contributor version.
|
||||||
|
|
||||||
|
In the following three paragraphs, a "patent license" is any express
|
||||||
|
agreement or commitment, however denominated, not to enforce a patent
|
||||||
|
(such as an express permission to practice a patent or covenant not to
|
||||||
|
sue for patent infringement). To "grant" such a patent license to a
|
||||||
|
party means to make such an agreement or commitment not to enforce a
|
||||||
|
patent against the party.
|
||||||
|
|
||||||
|
If you convey a covered work, knowingly relying on a patent license,
|
||||||
|
and the Corresponding Source of the work is not available for anyone
|
||||||
|
to copy, free of charge and under the terms of this License, through a
|
||||||
|
publicly available network server or other readily accessible means,
|
||||||
|
then you must either (1) cause the Corresponding Source to be so
|
||||||
|
available, or (2) arrange to deprive yourself of the benefit of the
|
||||||
|
patent license for this particular work, or (3) arrange, in a manner
|
||||||
|
consistent with the requirements of this License, to extend the patent
|
||||||
|
license to downstream recipients. "Knowingly relying" means you have
|
||||||
|
actual knowledge that, but for the patent license, your conveying the
|
||||||
|
covered work in a country, or your recipient's use of the covered work
|
||||||
|
in a country, would infringe one or more identifiable patents in that
|
||||||
|
country that you have reason to believe are valid.
|
||||||
|
|
||||||
|
If, pursuant to or in connection with a single transaction or
|
||||||
|
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||||
|
covered work, and grant a patent license to some of the parties
|
||||||
|
receiving the covered work authorizing them to use, propagate, modify
|
||||||
|
or convey a specific copy of the covered work, then the patent license
|
||||||
|
you grant is automatically extended to all recipients of the covered
|
||||||
|
work and works based on it.
|
||||||
|
|
||||||
|
A patent license is "discriminatory" if it does not include within
|
||||||
|
the scope of its coverage, prohibits the exercise of, or is
|
||||||
|
conditioned on the non-exercise of one or more of the rights that are
|
||||||
|
specifically granted under this License. You may not convey a covered
|
||||||
|
work if you are a party to an arrangement with a third party that is
|
||||||
|
in the business of distributing software, under which you make payment
|
||||||
|
to the third party based on the extent of your activity of conveying
|
||||||
|
the work, and under which the third party grants, to any of the
|
||||||
|
parties who would receive the covered work from you, a discriminatory
|
||||||
|
patent license (a) in connection with copies of the covered work
|
||||||
|
conveyed by you (or copies made from those copies), or (b) primarily
|
||||||
|
for and in connection with specific products or compilations that
|
||||||
|
contain the covered work, unless you entered into that arrangement,
|
||||||
|
or that patent license was granted, prior to 28 March 2007.
|
||||||
|
|
||||||
|
Nothing in this License shall be construed as excluding or limiting
|
||||||
|
any implied license or other defenses to infringement that may
|
||||||
|
otherwise be available to you under applicable patent law.
|
||||||
|
|
||||||
|
12. No Surrender of Others' Freedom.
|
||||||
|
|
||||||
|
If conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot convey a
|
||||||
|
covered work so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you may
|
||||||
|
not convey it at all. For example, if you agree to terms that obligate you
|
||||||
|
to collect a royalty for further conveying from those to whom you convey
|
||||||
|
the Program, the only way you could satisfy both those terms and this
|
||||||
|
License would be to refrain entirely from conveying the Program.
|
||||||
|
|
||||||
|
13. Use with the GNU Affero General Public License.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, you have
|
||||||
|
permission to link or combine any covered work with a work licensed
|
||||||
|
under version 3 of the GNU Affero General Public License into a single
|
||||||
|
combined work, and to convey the resulting work. The terms of this
|
||||||
|
License will continue to apply to the part which is the covered work,
|
||||||
|
but the special requirements of the GNU Affero General Public License,
|
||||||
|
section 13, concerning interaction through a network will apply to the
|
||||||
|
combination as such.
|
||||||
|
|
||||||
|
14. Revised Versions of this License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of
|
||||||
|
the GNU General Public License from time to time. Such new versions will
|
||||||
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the
|
||||||
|
Program specifies that a certain numbered version of the GNU General
|
||||||
|
Public License "or any later version" applies to it, you have the
|
||||||
|
option of following the terms and conditions either of that numbered
|
||||||
|
version or of any later version published by the Free Software
|
||||||
|
Foundation. If the Program does not specify a version number of the
|
||||||
|
GNU General Public License, you may choose any version ever published
|
||||||
|
by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Program specifies that a proxy can decide which future
|
||||||
|
versions of the GNU General Public License can be used, that proxy's
|
||||||
|
public statement of acceptance of a version permanently authorizes you
|
||||||
|
to choose that version for the Program.
|
||||||
|
|
||||||
|
Later license versions may give you additional or different
|
||||||
|
permissions. However, no additional obligations are imposed on any
|
||||||
|
author or copyright holder as a result of your choosing to follow a
|
||||||
|
later version.
|
||||||
|
|
||||||
|
15. Disclaimer of Warranty.
|
||||||
|
|
||||||
|
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||||
|
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||||
|
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||||
|
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||||
|
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||||
|
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. Limitation of Liability.
|
||||||
|
|
||||||
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||||
|
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||||
|
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||||
|
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||||
|
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||||
|
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||||
|
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||||
|
SUCH DAMAGES.
|
||||||
|
|
||||||
|
17. Interpretation of Sections 15 and 16.
|
||||||
|
|
||||||
|
If the disclaimer of warranty and limitation of liability provided
|
||||||
|
above cannot be given local legal effect according to their terms,
|
||||||
|
reviewing courts shall apply local law that most closely approximates
|
||||||
|
an absolute waiver of all civil liability in connection with the
|
||||||
|
Program, unless a warranty or assumption of liability accompanies a
|
||||||
|
copy of the Program in return for a fee.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest
|
||||||
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest
|
||||||
|
to attach them to the start of each source file to most effectively
|
||||||
|
state the exclusion of warranty; and each file should have at least
|
||||||
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program does terminal interaction, make it output a short
|
||||||
|
notice like this when it starts in an interactive mode:
|
||||||
|
|
||||||
|
<program> Copyright (C) <year> <name of author>
|
||||||
|
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
|
This is free software, and you are welcome to redistribute it
|
||||||
|
under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
|
parts of the General Public License. Of course, your program's commands
|
||||||
|
might be different; for a GUI interface, you would use an "about box".
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or school,
|
||||||
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||||
|
For more information on this, and how to apply and follow the GNU GPL, see
|
||||||
|
<https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
The GNU General Public License does not permit incorporating your program
|
||||||
|
into proprietary programs. If your program is a subroutine library, you
|
||||||
|
may consider it more useful to permit linking proprietary applications with
|
||||||
|
the library. If this is what you want to do, use the GNU Lesser General
|
||||||
|
Public License instead of this License. But first, please read
|
||||||
|
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||||
@@ -64,3 +64,4 @@ SmartHomeNG: https://github.com/sisamiwe/shng-nspanel-plugin
|
|||||||
|
|
||||||
OpenHAB: https://github.com/donoo/o2n2l
|
OpenHAB: https://github.com/donoo/o2n2l
|
||||||
|
|
||||||
|
NodeRed: https://github.com/laluz742/node-red-contrib-nspanel-lui
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ class Entity(object):
|
|||||||
self.assumedState = entity_input_config.get("assumed_state", False)
|
self.assumedState = entity_input_config.get("assumed_state", False)
|
||||||
self.stype = entity_input_config.get("type")
|
self.stype = entity_input_config.get("type")
|
||||||
self.value = entity_input_config.get("value")
|
self.value = entity_input_config.get("value")
|
||||||
|
self.font = entity_input_config.get("font")
|
||||||
self.data = entity_input_config.get("data", {})
|
self.data = entity_input_config.get("data", {})
|
||||||
self.entity_input_config = entity_input_config
|
self.entity_input_config = entity_input_config
|
||||||
|
|
||||||
|
|||||||
@@ -324,7 +324,7 @@ class LuiController(object):
|
|||||||
apis.ha_api.get_entity(entity_id).call_service("lock")
|
apis.ha_api.get_entity(entity_id).call_service("lock")
|
||||||
elif entity_id.startswith('button') or entity_id.startswith('input_button'):
|
elif entity_id.startswith('button') or entity_id.startswith('input_button'):
|
||||||
apis.ha_api.get_entity(entity_id).call_service("press")
|
apis.ha_api.get_entity(entity_id).call_service("press")
|
||||||
elif entity_id.startswith('input_select'):
|
elif entity_id.startswith('input_select') or entity_id.startswith('select'):
|
||||||
apis.ha_api.get_entity(entity_id).call_service("select_next")
|
apis.ha_api.get_entity(entity_id).call_service("select_next")
|
||||||
elif entity_id.startswith('vacuum'):
|
elif entity_id.startswith('vacuum'):
|
||||||
if apis.ha_api.get_entity(entity_id).state == "docked":
|
if apis.ha_api.get_entity(entity_id).state == "docked":
|
||||||
@@ -424,7 +424,7 @@ class LuiController(object):
|
|||||||
fan_mode = entity.attributes.fan_modes[int(value)]
|
fan_mode = entity.attributes.fan_modes[int(value)]
|
||||||
entity.call_service("set_fan_mode", fan_mode=fan_mode)
|
entity.call_service("set_fan_mode", fan_mode=fan_mode)
|
||||||
|
|
||||||
if button_type == "mode-input_select":
|
if button_type in ["mode-input_select", "mode-select"]:
|
||||||
entity = apis.ha_api.get_entity(entity_id)
|
entity = apis.ha_api.get_entity(entity_id)
|
||||||
option = entity.attributes.options[int(value)]
|
option = entity.attributes.options[int(value)]
|
||||||
entity.call_service("select_option", option=option)
|
entity.call_service("select_option", option=option)
|
||||||
|
|||||||
@@ -3,19 +3,37 @@ import apis
|
|||||||
|
|
||||||
class LuiMqttListener(object):
|
class LuiMqttListener(object):
|
||||||
|
|
||||||
def __init__(self, topic, controller, updater):
|
def __init__(self, use_api, topic, api_panel_name, api_device_id, controller, updater):
|
||||||
self._controller = controller
|
self._controller = controller
|
||||||
self._updater = updater
|
self._updater = updater
|
||||||
|
self._api_device_id = api_device_id
|
||||||
|
|
||||||
# Setup, mqtt subscription and callback
|
# Setup, mqtt subscription and callback
|
||||||
|
if use_api:
|
||||||
|
apis.ha_api.listen_event(self.api_event_callback, "esphome.nspanel.data")
|
||||||
|
else:
|
||||||
apis.mqtt_api.mqtt_subscribe(topic=topic)
|
apis.mqtt_api.mqtt_subscribe(topic=topic)
|
||||||
apis.mqtt_api.listen_event(self.mqtt_event_callback, "MQTT_MESSAGE", topic=topic, namespace='mqtt')
|
apis.mqtt_api.listen_event(self.mqtt_event_callback, "MQTT_MESSAGE", topic=topic, namespace='mqtt')
|
||||||
|
|
||||||
|
def api_event_callback(self, event_name, data, kwargs):
|
||||||
|
if not "device_id" in data:
|
||||||
|
return
|
||||||
|
if not data["device_id"] == self._api_device_id:
|
||||||
|
return
|
||||||
|
|
||||||
|
apis.ha_api.log(f'API callback for: {data}')
|
||||||
|
|
||||||
|
self.customrecv_event_callback(event_name, data, kwargs)
|
||||||
|
|
||||||
def mqtt_event_callback(self, event_name, data, kwargs):
|
def mqtt_event_callback(self, event_name, data, kwargs):
|
||||||
apis.mqtt_api.log(f'MQTT callback for: {data}')
|
apis.ha_api.log(f'MQTT callback for: {data}')
|
||||||
|
|
||||||
# Parse Json Message from Tasmota and strip out message from nextion display
|
# Parse Json Message from Tasmota and strip out message from nextion display
|
||||||
data = json.loads(data["payload"])
|
data = json.loads(data["payload"])
|
||||||
|
|
||||||
|
self.customrecv_event_callback(event_name, data, kwargs)
|
||||||
|
|
||||||
|
def customrecv_event_callback(self, event_name, data, kwargs):
|
||||||
if("nlui_driver_version" in data):
|
if("nlui_driver_version" in data):
|
||||||
msg = data["nlui_driver_version"]
|
msg = data["nlui_driver_version"]
|
||||||
self._updater.set_tasmota_driver_version(int(msg))
|
self._updater.set_tasmota_driver_version(int(msg))
|
||||||
@@ -23,7 +41,7 @@ class LuiMqttListener(object):
|
|||||||
if("CustomRecv" not in data):
|
if("CustomRecv" not in data):
|
||||||
return
|
return
|
||||||
msg = data["CustomRecv"]
|
msg = data["CustomRecv"]
|
||||||
apis.mqtt_api.log(f"Received Message from Screen: {msg}")
|
apis.ha_api.log(f"Received Message from Screen: {msg}")
|
||||||
# Split message into parts seperated by ","
|
# Split message into parts seperated by ","
|
||||||
msg = msg.split(",")
|
msg = msg.split(",")
|
||||||
# run action based on received command
|
# run action based on received command
|
||||||
@@ -59,17 +77,35 @@ class LuiMqttListener(object):
|
|||||||
self._controller.detail_open(msg[2], msg[3])
|
self._controller.detail_open(msg[2], msg[3])
|
||||||
|
|
||||||
class LuiMqttSender(object):
|
class LuiMqttSender(object):
|
||||||
def __init__(self, api, topic_send):
|
def __init__(self, api, use_api, topic_send, api_panel_name):
|
||||||
self._ha_api = api
|
self._ha_api = api
|
||||||
|
self._use_api = use_api
|
||||||
self._topic_send = topic_send
|
self._topic_send = topic_send
|
||||||
|
self._api_panel_name = api_panel_name
|
||||||
self._prev_msg = ""
|
self._prev_msg = ""
|
||||||
|
|
||||||
def send_mqtt_msg(self, msg, topic=None, force=False):
|
def send_mqtt_msg(self, msg, topic=None, force=False):
|
||||||
if not force and self._prev_msg == msg:
|
if not force and self._prev_msg == msg:
|
||||||
self._ha_api.log(f"Dropping identical consecutive message: {msg}")
|
apis.ha_api.log(f"Dropping identical consecutive message: {msg}")
|
||||||
return
|
return
|
||||||
self._prev_msg = msg
|
self._prev_msg = msg
|
||||||
|
|
||||||
|
apis.ha_api.log(f"Sending Message: {msg}")
|
||||||
|
if self._use_api:
|
||||||
|
apis.ha_api.call_service(service="esphome/" + self._api_panel_name + "_nspanelui_api_call", command=2, data=msg)
|
||||||
|
else:
|
||||||
if topic is None:
|
if topic is None:
|
||||||
topic = self._topic_send
|
topic = self._topic_send
|
||||||
self._ha_api.log(f"Sending MQTT Message: {msg}")
|
|
||||||
apis.mqtt_api.mqtt_publish(topic, msg)
|
apis.mqtt_api.mqtt_publish(topic, msg)
|
||||||
|
|
||||||
|
def request_berry_driver_version(self):
|
||||||
|
if self._use_api:
|
||||||
|
apis.ha_api.call_service(service="esphome/" + self._api_panel_name + "_nspanelui_api_call", command=1, data="x")
|
||||||
|
else:
|
||||||
|
apis.mqtt_api.mqtt_publish(self._topic_send.replace("CustomSend", "GetDriverVersion"), "x")
|
||||||
|
|
||||||
|
def flash_nextion(self, url):
|
||||||
|
if self._use_api:
|
||||||
|
apis.ha_api.call_service(service="esphome/" + self._api_panel_name + "_nspanelui_api_call", command=255, data=url)
|
||||||
|
else:
|
||||||
|
apis.mqtt_api.mqtt_publish(self._topic_send.replace("CustomSend", "FlashNextion"), url)
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import datetime
|
import datetime
|
||||||
|
from dateutil import tz
|
||||||
import dateutil.parser as dp
|
import dateutil.parser as dp
|
||||||
import time
|
import time
|
||||||
|
|
||||||
@@ -96,21 +97,29 @@ class LuiPagesGen(object):
|
|||||||
if state == "sunny":
|
if state == "sunny":
|
||||||
icon_color = 65504 #bright-yellow
|
icon_color = 65504 #bright-yellow
|
||||||
|
|
||||||
if "rgb_color" in attr:
|
if "rgb_color" in attr and attr.rgb_color:
|
||||||
color = attr.rgb_color
|
color = attr.rgb_color
|
||||||
if "brightness" in attr:
|
if "brightness" in attr and attr.brightness:
|
||||||
color = rgb_brightness(color, attr.brightness)
|
color = rgb_brightness(color, attr.brightness)
|
||||||
icon_color = rgb_dec565(color)
|
icon_color = rgb_dec565(color)
|
||||||
elif "brightness" in attr:
|
elif "brightness" in attr and attr.brightness:
|
||||||
color = rgb_brightness([253, 216, 53], attr.brightness)
|
color = rgb_brightness([253, 216, 53], attr.brightness)
|
||||||
icon_color = rgb_dec565(color)
|
icon_color = rgb_dec565(color)
|
||||||
return icon_color
|
return icon_color
|
||||||
|
|
||||||
|
|
||||||
def update_time(self, kwargs):
|
def update_time(self, kwargs):
|
||||||
time = datetime.datetime.now().strftime(self._config.get("timeFormat"))
|
time = None
|
||||||
|
# get current time, with timezone if set
|
||||||
|
if self._config.get("timezone"):
|
||||||
|
timezone = tz.gettz(self._config.get("timezone"))
|
||||||
|
time = datetime.datetime.now(tz=timezone)
|
||||||
|
else:
|
||||||
|
time = datetime.datetime.now()
|
||||||
|
nice_time = time.strftime(self._config.get("timeFormat"))
|
||||||
addTemplate = self._config.get("timeAdditionalTemplate")
|
addTemplate = self._config.get("timeAdditionalTemplate")
|
||||||
addTimeText = apis.ha_api.render_template(addTemplate)
|
addTimeText = apis.ha_api.render_template(addTemplate)
|
||||||
self._send_mqtt_msg(f"time~{time}~{addTimeText}")
|
self._send_mqtt_msg(f"time~{nice_time}~{addTimeText}")
|
||||||
|
|
||||||
def update_date(self, kwargs):
|
def update_date(self, kwargs):
|
||||||
global babel_spec
|
global babel_spec
|
||||||
@@ -405,6 +414,20 @@ class LuiPagesGen(object):
|
|||||||
entityTypePanel = ""
|
entityTypePanel = ""
|
||||||
if "entityId" in mask:
|
if "entityId" in mask:
|
||||||
entityId = ""
|
entityId = ""
|
||||||
|
# change font on cardgrid
|
||||||
|
if item.font:
|
||||||
|
font = 0
|
||||||
|
if item.font == "small":
|
||||||
|
font = 0
|
||||||
|
elif item.font == "medium-icon":
|
||||||
|
font = 1
|
||||||
|
elif item.font == "medium":
|
||||||
|
font = 2
|
||||||
|
elif item.font == "large":
|
||||||
|
font = 3
|
||||||
|
elif isinstance(item.font, int):
|
||||||
|
font = item.font
|
||||||
|
icon_id = f'{icon_id}¬{font}'
|
||||||
return f"~{entityTypePanel}~{entityId}~{icon_id}~{color}~{name}~{value}"
|
return f"~{entityTypePanel}~{entityId}~{icon_id}~{color}~{name}~{value}"
|
||||||
|
|
||||||
def generate_entities_page(self, navigation, heading, items, cardType, tempUnit):
|
def generate_entities_page(self, navigation, heading, items, cardType, tempUnit):
|
||||||
@@ -505,6 +528,50 @@ class LuiPagesGen(object):
|
|||||||
command = f"entityUpd~{heading}~{navigation}~{item}~{current_temp} {temperature_unit}~{dest_temp}~{state_value}~{min_temp}~{max_temp}~{step_temp}{icon_res}~{currently_translation}~{state_translation}~{action_translation}~{temperature_unit_icon}~{dest_temp2}~{detailPage}"
|
command = f"entityUpd~{heading}~{navigation}~{item}~{current_temp} {temperature_unit}~{dest_temp}~{state_value}~{min_temp}~{max_temp}~{step_temp}{icon_res}~{currently_translation}~{state_translation}~{action_translation}~{temperature_unit_icon}~{dest_temp2}~{detailPage}"
|
||||||
self._send_mqtt_msg(command)
|
self._send_mqtt_msg(command)
|
||||||
|
|
||||||
|
def generate_chart_page(self, navigation, title, entity):
|
||||||
|
item = entity.entityId
|
||||||
|
if not apis.ha_api.entity_exists(item):
|
||||||
|
command = f"entityUpd~Not found~{navigation}"
|
||||||
|
else:
|
||||||
|
entity = apis.ha_api.get_entity(item)
|
||||||
|
heading = title if title != "unknown" else entity.attributes.friendly_name
|
||||||
|
|
||||||
|
# get data from homeassistant
|
||||||
|
data_raw = apis.ha_api.get_history(entity_id = item, days = 7)
|
||||||
|
data = [(d.get('last_updated', None),d.get('state', None)) for d in data_raw[0]]
|
||||||
|
data = dict(data)
|
||||||
|
|
||||||
|
# Parse timestamps and convert to datetime objects, excluding 'unavailable' values
|
||||||
|
time_temp_pairs = [(datetime.datetime.fromisoformat(timestamp), int(val)) for timestamp, val in data.items() if val != 'unavailable']
|
||||||
|
# Sort the data based on timestamps
|
||||||
|
time_temp_pairs.sort(key=lambda x: x[0])
|
||||||
|
# Calculate the time span
|
||||||
|
start_time = time_temp_pairs[0][0]
|
||||||
|
end_time = time_temp_pairs[-1][0]
|
||||||
|
time_span = end_time - start_time
|
||||||
|
# Calculate time intervals for evenly spaced data points
|
||||||
|
num_data_points = 24
|
||||||
|
time_intervals = [start_time + i * time_span / (num_data_points - 1) for i in range(num_data_points)]
|
||||||
|
# Find the closest data points for these time intervals
|
||||||
|
evenly_spaced_data = []
|
||||||
|
for interval in time_intervals:
|
||||||
|
closest_pair = min(time_temp_pairs, key=lambda x: abs(x[0] - interval))
|
||||||
|
time, val = closest_pair
|
||||||
|
val = int(val)
|
||||||
|
evenly_spaced_data.append((time, val))
|
||||||
|
|
||||||
|
datapoints = ""
|
||||||
|
for idx, (time, val) in enumerate(evenly_spaced_data):
|
||||||
|
datapoints += f"{val}~"
|
||||||
|
|
||||||
|
color = 65504
|
||||||
|
ydesc = "Akku [%]"
|
||||||
|
yscale = "25:50:75:100"
|
||||||
|
#datapoints = "19^22:00~17~12~8~7^2:00~6~6~5~5^6:00~5~15~19~12^10:00~17~24~18~12^14:00~13~13~13~15^18:00~25~28~26"
|
||||||
|
|
||||||
|
command = f"entityUpd~{heading}~{navigation}~{color}~{ydesc}~{yscale}~{datapoints}"
|
||||||
|
self._send_mqtt_msg(command)
|
||||||
|
|
||||||
def generate_media_page(self, navigation, title, entity, entities, mediaBtn):
|
def generate_media_page(self, navigation, title, entity, entities, mediaBtn):
|
||||||
entityId = entity.entityId
|
entityId = entity.entityId
|
||||||
if entity.status is not None:
|
if entity.status is not None:
|
||||||
@@ -756,6 +823,10 @@ class LuiPagesGen(object):
|
|||||||
if card.cardType == "cardPower":
|
if card.cardType == "cardPower":
|
||||||
self.generate_power_page(navigation, card.title, card.entities)
|
self.generate_power_page(navigation, card.title, card.entities)
|
||||||
return
|
return
|
||||||
|
if card.cardType == "cardChart":
|
||||||
|
self.generate_chart_page(navigation, card.title, card.entity)
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
def generate_light_detail_page(self, entity_id, is_open_detail=False):
|
def generate_light_detail_page(self, entity_id, is_open_detail=False):
|
||||||
if entity_id.startswith('uuid'):
|
if entity_id.startswith('uuid'):
|
||||||
@@ -773,13 +844,13 @@ class LuiPagesGen(object):
|
|||||||
if "onoff" not in entity.attributes.supported_color_modes:
|
if "onoff" not in entity.attributes.supported_color_modes:
|
||||||
brightness = 0
|
brightness = 0
|
||||||
if entity.state == "on":
|
if entity.state == "on":
|
||||||
if "brightness" in entity.attributes:
|
if "brightness" in entity.attributes and entity.attributes.brightness:
|
||||||
# scale 0-255 brightness from ha to 0-100
|
# scale 0-255 brightness from ha to 0-100
|
||||||
brightness = int(scale(entity.attributes.brightness,(0,255),(0,100)))
|
brightness = int(scale(entity.attributes.brightness,(0,255),(0,100)))
|
||||||
else:
|
else:
|
||||||
brightness = "disable"
|
brightness = "disable"
|
||||||
if "color_temp" in entity.attributes.supported_color_modes:
|
if "color_temp" in entity.attributes.supported_color_modes and entity.attributes.supported_color_modes:
|
||||||
if "color_temp" in entity.attributes:
|
if "color_temp" in entity.attributes and entity.attributes.color_temp:
|
||||||
# scale ha color temp range to 0-100
|
# scale ha color temp range to 0-100
|
||||||
color_temp = int(scale(entity.attributes.color_temp,(entity.attributes.min_mireds, entity.attributes.max_mireds),(0,100)))
|
color_temp = int(scale(entity.attributes.color_temp,(entity.attributes.min_mireds, entity.attributes.max_mireds),(0,100)))
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -57,8 +57,8 @@
|
|||||||
"comfort": "Komfort",
|
"comfort": "Komfort",
|
||||||
"eco": "Eko",
|
"eco": "Eko",
|
||||||
"home": "Doma",
|
"home": "Doma",
|
||||||
"none": "Žiadny",
|
"none": "Žiadna",
|
||||||
"sleep": "Pohotovostný režim"
|
"sleep": "Spánok"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"humidifier": {
|
"humidifier": {
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
class Updater:
|
class Updater:
|
||||||
def __init__(self, log, send_mqtt_msg, topic_send, mode, desired_display_firmware_version, desired_display_firmware_model, desired_display_firmware_url, desired_tasmota_driver_version, desired_tasmota_driver_url):
|
def __init__(self, log, mqttsend, topic_send, mode, desired_display_firmware_version, desired_display_firmware_model, desired_display_firmware_url, desired_tasmota_driver_version, desired_tasmota_driver_url):
|
||||||
|
|
||||||
self._log = log
|
self._log = log
|
||||||
|
|
||||||
self.desired_display_firmware_version = desired_display_firmware_version
|
self.desired_display_firmware_version = desired_display_firmware_version
|
||||||
@@ -10,7 +9,7 @@ class Updater:
|
|||||||
self.desired_tasmota_driver_url = desired_tasmota_driver_url
|
self.desired_tasmota_driver_url = desired_tasmota_driver_url
|
||||||
|
|
||||||
self.mode = mode
|
self.mode = mode
|
||||||
self._send_mqtt_msg = send_mqtt_msg
|
self.mqttsend = mqttsend
|
||||||
self.topic_send = topic_send
|
self.topic_send = topic_send
|
||||||
self.current_tasmota_driver_version = None
|
self.current_tasmota_driver_version = None
|
||||||
self.current_display_firmware_version = None
|
self.current_display_firmware_version = None
|
||||||
@@ -18,6 +17,7 @@ class Updater:
|
|||||||
|
|
||||||
def set_tasmota_driver_version(self, driver_version):
|
def set_tasmota_driver_version(self, driver_version):
|
||||||
self.current_tasmota_driver_version = driver_version
|
self.current_tasmota_driver_version = driver_version
|
||||||
|
|
||||||
def set_current_display_firmware_version(self, panel_version, panel_model=None):
|
def set_current_display_firmware_version(self, panel_version, panel_model=None):
|
||||||
self.current_display_firmware_version = panel_version
|
self.current_display_firmware_version = panel_version
|
||||||
self.current_display_model = panel_model
|
self.current_display_model = panel_model
|
||||||
@@ -33,8 +33,8 @@ class Updater:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def send_message_page(self, id, heading, msg, b1, b2):
|
def send_message_page(self, id, heading, msg, b1, b2):
|
||||||
self._send_mqtt_msg(f"pageType~popupNotify")
|
self.mqttsend.send_mqtt_msg(f"pageType~popupNotify")
|
||||||
self._send_mqtt_msg(f"entityUpdateDetail~{id}~{heading}~65535~{b1}~65535~{b2}~65535~{msg}~65535~0")
|
self.mqttsend.send_mqtt_msg(f"entityUpdateDetail~{id}~{heading}~65535~{b1}~65535~{b2}~65535~{msg}~65535~0")
|
||||||
|
|
||||||
def check_updates(self):
|
def check_updates(self):
|
||||||
# return's true if a notification was send to the panel
|
# return's true if a notification was send to the panel
|
||||||
@@ -80,12 +80,11 @@ class Updater:
|
|||||||
|
|
||||||
def request_berry_driver_version(self):
|
def request_berry_driver_version(self):
|
||||||
self.current_tasmota_driver_version = None
|
self.current_tasmota_driver_version = None
|
||||||
topic = self.topic_send.replace("CustomSend", "GetDriverVersion")
|
self.mqttsend.request_berry_driver_version()
|
||||||
self._send_mqtt_msg("X", topic=topic)
|
|
||||||
|
|
||||||
def update_berry_driver(self):
|
def update_berry_driver(self):
|
||||||
topic = self.topic_send.replace("CustomSend", "Backlog")
|
topic = self.topic_send.replace("CustomSend", "Backlog")
|
||||||
self._send_mqtt_msg(f"UpdateDriverVersion {self.desired_tasmota_driver_url}; Restart 1", topic=topic)
|
self.mqttsend.send_mqtt_msg(f"UpdateDriverVersion {self.desired_tasmota_driver_url}; Restart 1", topic=topic)
|
||||||
|
|
||||||
def update_panel_driver(self):
|
def update_panel_driver(self):
|
||||||
topic = self.topic_send.replace("CustomSend", "FlashNextion")
|
self.mqttsend.flash_nextion(self.desired_display_firmware_url)
|
||||||
self._send_mqtt_msg(self.desired_display_firmware_url, topic=topic)
|
|
||||||
|
|||||||
@@ -16,19 +16,20 @@ class NsPanelLovelaceUIManager(hass.Hass):
|
|||||||
|
|
||||||
cfg = self._cfg = LuiBackendConfig(self, self.args["config"])
|
cfg = self._cfg = LuiBackendConfig(self, self.args["config"])
|
||||||
|
|
||||||
|
use_api = cfg.get("use_api") == True
|
||||||
|
|
||||||
topic_send = cfg.get("panelSendTopic")
|
topic_send = cfg.get("panelSendTopic")
|
||||||
topic_recv = cfg.get("panelRecvTopic")
|
topic_recv = cfg.get("panelRecvTopic")
|
||||||
|
api_panel_name = cfg.get("panelName")
|
||||||
|
api_device_id = cfg.get("panelDeviceId")
|
||||||
|
|
||||||
mqttsend = LuiMqttSender(self, topic_send)
|
mqttsend = LuiMqttSender(self, use_api, topic_send, api_panel_name)
|
||||||
|
|
||||||
# Request Tasmota Driver Version
|
|
||||||
apis.mqtt_api.mqtt_publish(topic_send.replace("CustomSend", "GetDriverVersion"), "x")
|
|
||||||
|
|
||||||
controller = LuiController(cfg, mqttsend.send_mqtt_msg)
|
controller = LuiController(cfg, mqttsend.send_mqtt_msg)
|
||||||
|
|
||||||
desired_tasmota_driver_version = 8
|
desired_tasmota_driver_version = 8
|
||||||
desired_display_firmware_version = 52
|
desired_display_firmware_version = 53
|
||||||
version = "v4.2.0"
|
version = "v4.3.3"
|
||||||
|
|
||||||
model = cfg.get("model")
|
model = cfg.get("model")
|
||||||
if model == "us-l":
|
if model == "us-l":
|
||||||
@@ -39,11 +40,12 @@ class NsPanelLovelaceUIManager(hass.Hass):
|
|||||||
desired_display_firmware_url = cfg._config.get("displayURL-EU", f"http://nspanel.pky.eu/lovelace-ui/github/nspanel-{version}.tft")
|
desired_display_firmware_url = cfg._config.get("displayURL-EU", f"http://nspanel.pky.eu/lovelace-ui/github/nspanel-{version}.tft")
|
||||||
desired_tasmota_driver_url = cfg._config.get("berryURL", "https://raw.githubusercontent.com/joBr99/nspanel-lovelace-ui/main/tasmota/autoexec.be")
|
desired_tasmota_driver_url = cfg._config.get("berryURL", "https://raw.githubusercontent.com/joBr99/nspanel-lovelace-ui/main/tasmota/autoexec.be")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
mode = cfg.get("updateMode")
|
mode = cfg.get("updateMode")
|
||||||
updater = Updater(self.log, mqttsend.send_mqtt_msg, topic_send, mode, desired_display_firmware_version, model, desired_display_firmware_url, desired_tasmota_driver_version, desired_tasmota_driver_url)
|
updater = Updater(self.log, mqttsend, topic_send, mode, desired_display_firmware_version, model, desired_display_firmware_url, desired_tasmota_driver_version, desired_tasmota_driver_url)
|
||||||
|
|
||||||
LuiMqttListener(topic_recv, controller, updater)
|
# Request Tasmota Driver Version
|
||||||
|
updater.request_berry_driver_version()
|
||||||
|
|
||||||
|
LuiMqttListener(use_api, topic_recv, api_panel_name, api_device_id, controller, updater)
|
||||||
|
|
||||||
self.log(f'Started ({version})')
|
self.log(f'Started ({version})')
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ key | optional | type | default | description
|
|||||||
`dateAdditionalTemplate` | True | string | `""` | Addional Text dispayed after Date, can contain a Homeassistant Template Example `" - {{ states('sun.sun') }}"`
|
`dateAdditionalTemplate` | True | string | `""` | Addional Text dispayed after Date, can contain a Homeassistant Template Example `" - {{ states('sun.sun') }}"`
|
||||||
`timeAdditionalTemplate` | True | string | `""` | Addional Text dispayed below Time, can contain a Homeassistant Template
|
`timeAdditionalTemplate` | True | string | `""` | Addional Text dispayed below Time, can contain a Homeassistant Template
|
||||||
`dateFormat` | True | string | `%A, %d. %B %Y` | date format used if babel is not installed
|
`dateFormat` | True | string | `%A, %d. %B %Y` | date format used if babel is not installed
|
||||||
|
`timezone` | True | string | "" | Timezone for the time on the panel: `Europe/Berlin` - See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for a list of TZ Identifiers (supported from upcoming version v4.4)
|
||||||
`defaultBackgroundColor` | True | string | ha-dark | backgroud color of all cards, valid values: `black`, `ha-dark`
|
`defaultBackgroundColor` | True | string | ha-dark | backgroud color of all cards, valid values: `black`, `ha-dark`
|
||||||
`cards` | False | complex | | configuration for cards that are displayed on panel; see docs for cards
|
`cards` | False | complex | | configuration for cards that are displayed on panel; see docs for cards
|
||||||
`screensaver` | True | complex | | configuration for screensaver; see docs for screensaver
|
`screensaver` | True | complex | | configuration for screensaver; see docs for screensaver
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user