using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tango.CodeGeneration { /// /// Represents the Tango DAO Java code file. /// /// public class TangoDAOJavaFile : CodeFile { /// /// Gets or sets the class name. /// public String Name { get; set; } /// /// Gets or sets the entities. /// public List Entities { get; set; } /// /// Initializes a new instance of the class. /// public TangoDAOJavaFile() { Entities = new List(); } /// /// Represents a Tango DAO Java entity. /// public class TangoDAOEntity { /// /// Gets or sets the entity name. /// public String Name { get; set; } /// /// Gets or sets the name of the table. public String TableName { get; set; } } } }
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Logging;
using Tango.SharedUI;

namespace Tango.MachineStudio.Synchronization.ViewModels
{
    /// <summary>
    /// Represents the synchronization module main view, view model.
    /// </summary>
    /// <seealso cref="Tango.SharedUI.ViewModel" />
    public class MainViewVM : ViewModel
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="MainViewVM"/> class.
        /// </summary>
        public MainViewVM()
        {
            Log = "Synchronization module started...";
        }

        private String _log;
        /// <summary>
        /// Gets or sets the current application log text.
        /// </summary>
        public String Log
        {
            get { return _log; }
            set { _log = value; RaisePropertyChanged(nameof(Log)); }
        }
    }
}