SimplSharpDeviceHelperSecondsToUshort Method |
Method to convert seconds to a valid integer value the device can understand.
Namespace: Crestron.SimplSharpPro.DeviceSupportAssembly: Crestron.SimplSharpPro.DeviceSupport (in Crestron.SimplSharpPro.DeviceSupport.dll) Version: 2.21.121
Syntaxpublic static ushort SecondsToUshort(
float secondsToConvert
)
Parameters
- secondsToConvert Single
- Time, in seconds, to convert to a integer value.
Return Value
UInt16Integer 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