Skip to content

Commit

Permalink
Revert "remove viewtech touchscreen options"
Browse files Browse the repository at this point in the history
This reverts commit be3473f.
  • Loading branch information
paradajz committed Feb 20, 2024
1 parent 53ef9e9 commit 7efd589
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/definitions/block/touchscreen/touchscreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ const sections: Dictionary<ISectionDefinition> = {
value: 0,
text: "Nextion",
},
{
value: 1,
text: "Viewtech/Stone HMI",
},
],
label: "Touchscreen manufacturer",
helpText: ``,
Expand Down Expand Up @@ -117,7 +121,8 @@ const sections: Dictionary<ISectionDefinition> = {
component: FormInputComponent.Input,
label: "X position of this icon",
helpText: `Specifies X coordinate on touchscreen where this icon is located. Touchscreen resolution
needs to be taken into account here.`,
needs to be taken into account here. On Viewtech/Stone touchscreens, this parameter is actually icon
address.`,
},
YPosition: {
block: Block.Touchscreen,
Expand All @@ -129,7 +134,7 @@ const sections: Dictionary<ISectionDefinition> = {
component: FormInputComponent.Input,
label: "Y position of this icon",
helpText: `Specifies Y coordinate on touchscreen where this icon is located. Touchscreen resolution
needs to be taken into account here.`,
needs to be taken into account here. On Viewtech/Stone touchscreens, this parameter is ignored.`,
},
Width: {
block: Block.Touchscreen,
Expand All @@ -141,7 +146,7 @@ const sections: Dictionary<ISectionDefinition> = {
component: FormInputComponent.Input,
label: "Width of this icon",
helpText: `Specifies width of this icon. Touchscreen resolution
needs to be taken into account here.`,
needs to be taken into account here. On Viewtech/Stone touchscreens, this parameter is ignored.`,
},
Height: {
block: Block.Touchscreen,
Expand All @@ -153,7 +158,7 @@ const sections: Dictionary<ISectionDefinition> = {
component: FormInputComponent.Input,
label: "Height of this icon",
helpText: `Specifies height of this icon. Touchscreen resolution
needs to be taken into account here.`,
needs to be taken into account here. On Viewtech/Stone touchscreens, this parameter is ignored.`,
},
ScreenOn: {
block: Block.Touchscreen,
Expand Down

0 comments on commit 7efd589

Please sign in to comment.