Click or drag to resize

SimplSharpDeviceHelperSecondsToUshort Method

Method to convert seconds to a valid integer value the device can understand.

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

Parameters

secondsToConvert  Single
Time, in seconds, to convert to a integer value.

Return Value

UInt16
Integer value that can be passed to a device as a valid time.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also