You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using EWS.ComputerMonitor.Common;
|
|
|
|
|
|
|
|
|
|
namespace EWS.ComputerMonitor.Model
|
|
|
|
|
{
|
|
|
|
|
public class LoginModel : NotifyPropertyBase
|
|
|
|
|
{
|
|
|
|
|
private string _userName;
|
|
|
|
|
|
|
|
|
|
public string UserName
|
|
|
|
|
{
|
|
|
|
|
get { return _userName; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_userName = value;
|
|
|
|
|
this.Notify();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _password;
|
|
|
|
|
|
|
|
|
|
public string Password
|
|
|
|
|
{
|
|
|
|
|
get { return _password; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_password = value;
|
|
|
|
|
this.Notify();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _validCode;
|
|
|
|
|
|
|
|
|
|
public string ValidCode
|
|
|
|
|
{
|
|
|
|
|
get { return _validCode; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_validCode = value;
|
|
|
|
|
this.Notify();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|