Example #1
0
        public SetPositionParameters(SensorOrDeviceOrGroupOrProbe obj, int position) : base(ValidateObject(obj))
        {
            var newPos = PositionConverter.SerializePosition(position) + (position > obj.Position ? 1 : -1);

            Position = newPos;
        }