using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; namespace CtrEditor.ObjetosSim { /// /// Interaction logic for ucBotella.xaml /// /// public class osBotella : osBase { public double diametro { get; set; } // Otros datos y métodos relevantes para la simulación private string _nombre = "Botella"; public override void Update() { // implementation of Update method } } public partial class ucBotella : UserControl, IDataContainer { public osBase? Datos { get; set; } public ucBotella() { InitializeComponent(); } public void Resize(double width, double height) { } public void Move(double Left, double Top) { if (Datos != null) { Datos.Left = Left; Datos.Top = Top; } } public void Rotate(double Angle) { } public void Highlight(bool State) { } } }