2023-10-08 15:59:42 +07:00
|
|
|
package device
|
|
|
|
|
|
|
|
|
|
type DeviceConnectionStatus string
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
Connected DeviceConnectionStatus = "Connected"
|
|
|
|
|
Disconnected DeviceConnectionStatus = "Disconnected"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func (b DeviceConnectionStatus) toString() string {
|
|
|
|
|
return string(b)
|
|
|
|
|
}
|