private int GetNumberOfInstalledSections(SpatialValue spatialValue)
{
var value = (uint)spatialValue.Value;
const uint notInstalledValue = 0x03;
for (int i = 1; i < 17; i++)
{
if (GetSectionValue(value, i) == notInstalledValue)
return i - 1;
}
return 16;
}