Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to end StaticSession from Kiosk #34

Open
bayssmekanique opened this issue Sep 22, 2020 · 0 comments
Open

Add ability to end StaticSession from Kiosk #34

bayssmekanique opened this issue Sep 22, 2020 · 0 comments

Comments

@bayssmekanique
Copy link
Contributor

bayssmekanique commented Sep 22, 2020

export class StaticSession {
private _sessionData: SessionData
constructor (sessionData: SessionData) {
this._sessionData = sessionData
}
get id () {
return this._sessionData.id
}
get echipId () {
return this._sessionData.echipId
}
get hash () {
return this._sessionData.hash
}
get startedAt () {
return new Date(this._sessionData.startedAt)
}
get endedAt () {
return this._sessionData.endedAt ? new Date(this._sessionData.endedAt) : null
}
get user () {
return this._sessionData.user
}
get facility () {
return this._sessionData.facility
}
get heartRateDataSets () {
return this._sessionData.heartRateDataSets
}
get mSeriesDataSets () {
return this._sessionData.mSeriesDataSets
}
get strengthMachineDataSets () {
return this._sessionData.strengthMachineDataSets
}
get heightMeasurement () {
return this._sessionData.heightMeasurement
}
get weightMeasurement () {
return this._sessionData.weightMeasurement
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant