-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joakim Gustafsson
committed
May 3, 2024
1 parent
ec81a47
commit f9a659c
Showing
7 changed files
with
96 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
OPC_UA_Clients/Release2/IJT_Web_Client/Javascripts/Views/Demo/USDemoSettings.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import BasicScreen from '../GraphicSupport/BasicScreen.mjs' // Basic functionality application code for the screen functionality | ||
|
||
/** | ||
* The purpose of this class is to generate an HTML representation of tightening selection and basic | ||
* display of a result for OPC UA Industrial Joining Technologies communication | ||
*/ | ||
export default class USDemo extends BasicScreen { | ||
constructor () { | ||
super('DemoSettings', 'tighteningsystem') | ||
|
||
this.productId = 'www.atlascopco.com/CABLE-B0000000-' | ||
this.JoiningProcess1 = 'ProgramIndex_1' | ||
this.JoiningProcess2 = 'ProgramIndex_2' | ||
|
||
const displayArea = document.createElement('div') | ||
this.backGround.appendChild(displayArea) | ||
|
||
this.container = displayArea | ||
|
||
// this.container.innerHTML += '<p>ProductId' | ||
const labelElement = document.createElement('label') | ||
labelElement.innerHTML = 'ProductId ' | ||
this.container.appendChild(labelElement) | ||
|
||
this.createInput(this.productId, this.container, (evt) => { | ||
this.productId = evt.srcElement.value | ||
}, '40') | ||
this.container.appendChild(document.createElement('br')) | ||
|
||
const labelElement2 = document.createElement('label') | ||
labelElement2.innerHTML = 'Button 1 selection ' | ||
this.container.appendChild(labelElement2) | ||
|
||
this.createInput(this.JoiningProcess1, this.container, (evt) => { | ||
this.JoiningProcess1 = evt.srcElement.value | ||
console.log(evt.srcElement.value) | ||
}, '40') | ||
this.container.appendChild(document.createElement('br')) | ||
|
||
const labelElement3 = document.createElement('label') | ||
labelElement3.innerHTML = 'Button 2 selection ' | ||
this.container.appendChild(labelElement3) | ||
|
||
this.createInput(this.JoiningProcess2, this.container, (evt) => { | ||
this.JoiningProcess2 = evt.srcElement.value | ||
}, '40') | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -931,4 +931,8 @@ html { | |
.demoMachine { | ||
color: black; | ||
overflow: hidden; | ||
} | ||
|
||
.demoHeading { | ||
font-weight: 600; | ||
} |