Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HUB Terra
SMS
Frontend
Commits
54285767
"README.rst" did not exist on "cc21d16523e53c801596e7297312048a3e5b0a86"
Verified
Commit
54285767
authored
3 years ago
by
Marc Hanisch
Browse files
Options
Downloads
Patches
Plain Diff
removes strange indentation
parent
cb0650c5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!104
Load and save Generic Device Actions
,
!93
Actions UI for devices
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pages/devices/_deviceId/actions.vue
+73
-73
73 additions, 73 deletions
pages/devices/_deviceId/actions.vue
with
73 additions
and
73 deletions
pages/devices/_deviceId/actions.vue
+
73
−
73
View file @
54285767
...
...
@@ -453,91 +453,91 @@ class DeviceCalibrationAction implements IAction {
)
{
this
.
id
=
id
this
.
description
=
description
this
.
currentCalibrationDate
=
currentCalibrationDate
this
.
nextCalibrationDate
=
nextCalibrationDate
this
.
formula
=
formula
this
.
value
=
value
this
.
deviceProperties
=
deviceProperties
this
.
contact
=
contact
}
this
.
currentCalibrationDate
=
currentCalibrationDate
this
.
nextCalibrationDate
=
nextCalibrationDate
this
.
formula
=
formula
this
.
value
=
value
this
.
deviceProperties
=
deviceProperties
this
.
contact
=
contact
}
getId
():
string
{
return
'
calibration-
'
+
this
.
id
}
getId
():
string
{
return
'
calibration-
'
+
this
.
id
}
get
isDeviceCalibrationAction
():
boolean
{
return
true
}
get
isDeviceCalibrationAction
():
boolean
{
return
true
}
}
class
DeviceMountAction
{
public
id
:
string
public
configurationName
:
string
public
parentPlatformName
:
string
public
offsetX
:
number
public
offsetY
:
number
public
offsetZ
:
number
public
beginDate
:
DateTime
public
description
:
string
public
contact
:
Contact
constructor
(
id
:
string
,
configurationName
:
string
,
parentPlatformName
:
string
,
offsetX
:
number
,
offsetY
:
number
,
offsetZ
:
number
,
beginDate
:
DateTime
,
description
:
string
,
contact
:
Contact
)
{
this
.
id
=
id
this
.
configurationName
=
configurationName
this
.
parentPlatformName
=
parentPlatformName
this
.
offsetX
=
offsetX
this
.
offsetY
=
offsetY
this
.
offsetZ
=
offsetZ
this
.
beginDate
=
beginDate
this
.
description
=
description
this
.
contact
=
contact
}
public
id
:
string
public
configurationName
:
string
public
parentPlatformName
:
string
public
offsetX
:
number
public
offsetY
:
number
public
offsetZ
:
number
public
beginDate
:
DateTime
public
description
:
string
public
contact
:
Contact
constructor
(
id
:
string
,
configurationName
:
string
,
parentPlatformName
:
string
,
offsetX
:
number
,
offsetY
:
number
,
offsetZ
:
number
,
beginDate
:
DateTime
,
description
:
string
,
contact
:
Contact
)
{
this
.
id
=
id
this
.
configurationName
=
configurationName
this
.
parentPlatformName
=
parentPlatformName
this
.
offsetX
=
offsetX
this
.
offsetY
=
offsetY
this
.
offsetZ
=
offsetZ
this
.
beginDate
=
beginDate
this
.
description
=
description
this
.
contact
=
contact
}
getId
():
string
{
return
'
mount-
'
+
this
.
id
}
getId
():
string
{
return
'
mount-
'
+
this
.
id
}
get
isDeviceMountAction
():
boolean
{
return
true
}
get
isDeviceMountAction
():
boolean
{
return
true
}
}
class
DeviceUnmountAction
implements
IAction
{
public
id
:
string
public
configurationName
:
string
public
endDate
:
DateTime
public
description
:
string
public
contact
:
Contact
constructor
(
id
:
string
,
configurationName
:
string
,
endDate
:
DateTime
,
description
:
string
,
contact
:
Contact
)
{
this
.
id
=
id
this
.
configurationName
=
configurationName
this
.
endDate
=
endDate
this
.
description
=
description
this
.
contact
=
contact
}
public
id
:
string
public
configurationName
:
string
public
endDate
:
DateTime
public
description
:
string
public
contact
:
Contact
constructor
(
id
:
string
,
configurationName
:
string
,
endDate
:
DateTime
,
description
:
string
,
contact
:
Contact
)
{
this
.
id
=
id
this
.
configurationName
=
configurationName
this
.
endDate
=
endDate
this
.
description
=
description
this
.
contact
=
contact
}
getId
():
string
{
return
'
unmount-
'
+
this
.
id
}
getId
():
string
{
return
'
unmount-
'
+
this
.
id
}
get
isDeviceUnmountAction
():
boolean
{
return
true
}
get
isDeviceUnmountAction
():
boolean
{
return
true
}
}
@
Component
({
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment