Showing
10 changed files
with
18 additions
and
0 deletions
1 | +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="112" height="44" viewBox="0 0 112 44" fill="none"><g opacity="1" transform="translate(0 0) rotate(0)"><rect fill="#8CC152" opacity="1" transform="translate(0 0) rotate(0)" x="0" y="0" width="112" height="44" rx="8" ry="8"/></g></svg> | |
\ No newline at end of file | ... | ... |
1 | +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="112" height="44" viewBox="0 0 112 44" fill="none"><g opacity="1" transform="translate(0 0) rotate(0)"><rect fill="#FC6E51" opacity="1" transform="translate(0 0) rotate(0)" x="0" y="0" width="112" height="44" rx="8" ry="8"/></g></svg> | |
\ No newline at end of file | ... | ... |
1 | +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="112" height="44" viewBox="0 0 112 44" fill="none"><g opacity="1" transform="translate(0 0) rotate(0)"><rect fill="#FFCE54" opacity="1" transform="translate(0 0) rotate(0)" x="0" y="0" width="112" height="44" rx="8" ry="8"/></g></svg> | |
\ No newline at end of file | ... | ... |
1 | +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="112" height="44" viewBox="0 0 112 44" fill="none"><g opacity="1" transform="translate(0 0) rotate(0)"><rect fill="#48CFAD" opacity="1" transform="translate(0 0) rotate(0)" x="0" y="0" width="112" height="44" rx="8" ry="8"/></g></svg> | |
\ No newline at end of file | ... | ... |
1 | +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="112" height="44" viewBox="0 0 112 44" fill="none"><g opacity="1" transform="translate(0 0) rotate(0)"><rect fill="#4FC1E9" opacity="1" transform="translate(0 0) rotate(0)" x="0" y="0" width="112" height="44" rx="8" ry="8"/></g></svg> | |
\ No newline at end of file | ... | ... |
1 | +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="112" height="44" viewBox="0 0 112 44" fill="none"><g opacity="1" transform="translate(0 0) rotate(0)"><rect fill="#EA434B" opacity="1" transform="translate(0 0) rotate(0)" x="0" y="0" width="112" height="44" rx="8" ry="8"/></g></svg> | |
\ No newline at end of file | ... | ... |
1 | +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="112" height="44" viewBox="0 0 112 44" fill="none"><g opacity="1" transform="translate(0 0) rotate(0)"><rect fill="#3B5999" opacity="1" transform="translate(0 0) rotate(0)" x="0" y="0" width="112" height="44" rx="8" ry="8"/></g></svg> | |
\ No newline at end of file | ... | ... |
1 | +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="112" height="44" viewBox="0 0 112 44" fill="none"><g opacity="1" transform="translate(0 0) rotate(0)"><rect fill="#5848D9" opacity="1" transform="translate(0 0) rotate(0)" x="0" y="0" width="112" height="44" rx="8" ry="8"/></g></svg> | |
\ No newline at end of file | ... | ... |
... | ... | @@ -32,6 +32,14 @@ |
32 | 32 | } |
33 | 33 | |
34 | 34 | const graphPathLib = [ |
35 | + { name: 'button01.svg', path: 'button/button01.svg' }, | |
36 | + { name: 'button02.svg', path: 'button/button02.svg' }, | |
37 | + { name: 'button03.svg', path: 'button/button03.svg' }, | |
38 | + { name: 'button04.svg', path: 'button/button04.svg' }, | |
39 | + { name: 'button05.svg', path: 'button/button05.svg' }, | |
40 | + { name: 'button06.svg', path: 'button/button06.svg' }, | |
41 | + { name: 'button07.svg', path: 'button/button07.svg' }, | |
42 | + { name: 'button08.svg', path: 'button/button08.svg' }, | |
35 | 43 | { name: '1.png', path: 'button/1.png' }, |
36 | 44 | { name: '10.png', path: 'button/10.png' }, |
37 | 45 | { name: '11.png', path: 'button/11.png' }, | ... | ... |
... | ... | @@ -9,6 +9,7 @@ import { getAppInstanceId } from '@/utils/draw' |
9 | 9 | import type { RenderComponentExposeType } from '@/core/Library/types' |
10 | 10 | import { useLatestMessageValue } from '@/core/Library/hook/useLatestMessageValue' |
11 | 11 | import type { NodeDataDataSourceJsonType } from '@/api/node/model' |
12 | +import { ControlComponentEnum } from '@/core/Library/packages/Control' | |
12 | 13 | |
13 | 14 | export class MessageHandler { |
14 | 15 | constructor(public service: LightboxModeWebsocketService) { |
... | ... | @@ -52,6 +53,7 @@ export class MessageHandler { |
52 | 53 | |
53 | 54 | defaultHandler(commandSource: CommandSource, message: SubscriptionUpdateMsg) { |
54 | 55 | const { data, node } = commandSource |
56 | + if (this.nodeUtils.getNodeComponentKey(this.nodeUtils.getCellById(node)) === ControlComponentEnum.PARAMETER_SETTINGS) return | |
55 | 57 | const { attr } = data as NodeDataDataSourceJsonType |
56 | 58 | const { latestValue } = useLatestMessageValue(message.data, attr) |
57 | 59 | if (isNull(latestValue)) return | ... | ... |