Click or drag to resize

SimplSharpDeviceHelperUshortToSeconds Method

Method to convert a raw integer value that represents seconds to a double.

Namespace: Crestron.SimplSharpPro.DeviceSupport
Assembly: Crestron.SimplSharpPro.DeviceSupport (in Crestron.SimplSharpPro.DeviceSupport.dll) Version: 2.21.121
Syntax
C#
public static float UshortToSeconds(
	ushort ushortToConvert
)

Parameters

ushortToConvert  UInt16
Device Integer value to convert.

Return Value

Single
Integer value that can be passed to the user as seconds.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also