using ICD.Common.Properties; namespace ICD.Common.Utils { /// /// Static class containing useful utilities for use in S+ programs /// [PublicAPI("S+")] public static class SPlusUtils { /// /// Convert two ushort's to an int /// /// ushort for the least significant 16 bits /// ushort for the most significant 1 bits /// [PublicAPI("S+")] public static int ConvertToInt(ushort lowWord, ushort highWord) { return (highWord << 16) + lowWord; } } }