EventMedtronicDeviceStatusChange fix

This commit is contained in:
Milos Kozak 2019-08-08 18:48:16 +02:00
parent 6802c0ea85
commit 2b3dc396fe

View file

@ -14,16 +14,16 @@ class EventMedtronicDeviceStatusChange : Event {
private var errorDescription: String? = null private var errorDescription: String? = null
constructor(rileyLinkServiceState: RileyLinkServiceState, rileyLinkError: RileyLinkError?) { constructor(rileyLinkServiceState: RileyLinkServiceState?, rileyLinkError: RileyLinkError?) {
this.rileyLinkServiceState = rileyLinkServiceState this.rileyLinkServiceState = rileyLinkServiceState
this.rileyLinkError = rileyLinkError this.rileyLinkError = rileyLinkError
} }
constructor(pumpDeviceState: PumpDeviceState) { constructor(pumpDeviceState: PumpDeviceState?) {
this.pumpDeviceState = pumpDeviceState this.pumpDeviceState = pumpDeviceState
} }
constructor(pumpDeviceState: PumpDeviceState, errorDescription: String) { constructor(pumpDeviceState: PumpDeviceState?, errorDescription: String?) {
this.pumpDeviceState = pumpDeviceState this.pumpDeviceState = pumpDeviceState
this.errorDescription = errorDescription this.errorDescription = errorDescription
} }