protected uint GetStatePropertyByIds(ushort propertyId, ushort propertyTypeId) { // propertyId and propertyTypId should be joined up. So propertyId should be move left 16 positions for propertyTypeID. return (uint)((propertyId << 16) | propertyTypeId); }