using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace UniversalEditor.ObjectModels.Designer { public class ComponentInstance { public class ComponentInstanceCollection : System.Collections.ObjectModel.Collection { } private Guid mvarID = Guid.Empty; public Guid ID { get { return mvarID; } set { mvarID = value; } } private Component mvarComponent = null; public Component Component { get { return mvarComponent; } set { mvarComponent = value; } } private ConnectionValue.ConnectionValueCollection mvarConnectionValues = new ConnectionValue.ConnectionValueCollection(); public ConnectionValue.ConnectionValueCollection ConnectionValues { get { return mvarConnectionValues; } } private PropertyValue.PropertyValueCollection mvarPropertyValues = new PropertyValue.PropertyValueCollection(); public PropertyValue.PropertyValueCollection PropertyValues { get { return mvarPropertyValues; } } private Measurement mvarX = new Measurement(0, MeasurementUnit.Pixel); /// /// The distance between the left edge of the design and the left edge of the component. /// public Measurement X { get { return mvarX; } set { mvarX = value; } } private Measurement mvarY = new Measurement(0, MeasurementUnit.Pixel); /// /// The distance between the top edge of the design and the top edge of the component. /// public Measurement Y { get { return mvarY; } set { mvarY = value; } } private Measurement mvarZ = new Measurement(0, MeasurementUnit.Pixel); /// /// The distance between the left edge of the design and the left edge of the component. /// public Measurement Z { get { return mvarZ; } set { mvarZ = value; } } private Measurement mvarWidth = new Measurement(0, MeasurementUnit.Pixel); /// /// The width of the component. /// public Measurement Width { get { return mvarWidth; } set { mvarWidth = value; } } private Measurement mvarHeight = new Measurement(0, MeasurementUnit.Pixel); /// /// The height of the component. /// public Measurement Height { get { return mvarHeight; } set { mvarHeight = value; } } private Measurement mvarDepth = new Measurement(0, MeasurementUnit.Pixel); /// /// The depth of the component. /// public Measurement Depth { get { return mvarDepth; } set { mvarDepth = value; } } } }