Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tx-techno-num
impactometre
Commits
5ad29c7c
Commit
5ad29c7c
authored
Dec 29, 2020
by
Matt Glorion
Browse files
[CLN] 🧹 typos & doc
parent
9a5dc88d
Changes
1
Show whitespace changes
Inline
Side-by-side
model/classes/meeting/Hardware.js
View file @
5ad29c7c
...
...
@@ -125,7 +125,7 @@ class Hardware extends Component {
* Get the size dependence property of the hardware.
* E.g. tv screen damage computing depends on the
* screen size.
* @returns {Boolean} The size depend
a
nce boolean.
* @returns {Boolean} The size depend
e
nce boolean.
*/
get
isSizeDependent
()
{
return
this
.
_isSizeDependent
;
...
...
@@ -276,6 +276,7 @@ class Hardware extends Component {
* If equals to 'UPPER', we will use the upper values
* of the damages if available, and the contrary if
* bound equals to 'LOWER'.
* @param {number} meetingDuration - the duration of the meeting
*/
async
computeDamage
({
meetingDuration
,
bound
=
null
})
{
let
damage
=
new
Damage
();
...
...
@@ -314,9 +315,9 @@ class Hardware extends Component {
/**
* Compute a damage of a given type for a given duration.
* @param {String} - The damage type.
* @param {Number} - The meeting duration (in minutes).
* @param {String} - The optional bound.
* @param {String}
damageType
- The damage type.
* @param {Number}
meetingDuration
- The meeting duration (in minutes).
* @param {String}
bound
- The optional bound.
* @returns {Damage} The hardware operating damage.
*/
async
computeTypedDamage
(
damageType
,
meetingDuration
,
bound
=
null
)
{
...
...
@@ -476,7 +477,7 @@ class Hardware extends Component {
/**
* Compute how long the hardware is used for visio
* or is on standby over its lifetime.
* @param {String} - The damage type for which we want to compute the hardware time.
* @param {String}
damageType
- The damage type for which we want to compute the hardware time.
* @returns {Number} The required time (in hours).
*/
async
computeVisioOrStandbyTimeOverLife
(
damageType
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment