using Community;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
///
/// 系统参数类
///
public class SystemParameter : NotificationObject
{
public int ID { get; set; }
///
/// 默认生产机种ID
///
public int DefaultMachineID { get; set; }
///
/// 系统密码
///
public string SystemPwd { get; set; }
private string machineName;
///
/// 设备名称
///
public string MachineName
{
get { return machineName; }
set { machineName = value;
this.RaisePropertyChanged("MachineName");
}
}
private string machineNumber;
///
/// 机台编号
///
public string MachineNumber
{
get { return machineNumber; }
set
{
machineNumber = value;
this.RaisePropertyChanged("MachineNumber");
}
}
private string workNumber;
///
/// 员工工号
///
public string WorkNumber
{
get { return workNumber; }
set
{
workNumber = value;
this.RaisePropertyChanged("WorkNumber");
}
}
private string serialProt;
///
/// 光源串口号
///
public string SerialProt
{
get { return serialProt; }
set
{
serialProt = value;
this.RaisePropertyChanged("SerialProt");
}
}
private int systemTheme;
///
/// 系统主题样式编号
///
public int SystemTheme
{
get { return systemTheme; }
set
{
systemTheme = value;
this.RaisePropertyChanged("SystemTheme");
}
}
private string systemBackgroundPath;
///
/// 系统背景图片路径
///
public string SystemBackgroundPath
{
get { return systemBackgroundPath; }
set
{
systemBackgroundPath = value;
this.RaisePropertyChanged("SystemBackgroundPath");
}
}
private bool visionBool;
///
/// 是否有视觉
///
public bool VisionBool
{
get { return visionBool; }
set { visionBool = value;
this.RaisePropertyChanged("VisionBool");
}
}
private bool motionControlBool;
///
/// 是否有运动控制
///
public bool MotionControlBool
{
get { return motionControlBool; }
set { motionControlBool = value;
this.RaisePropertyChanged("MotionControlBool");
}
}
private bool robotBool;
///
/// 是否有机器人
///
public bool RobotBool
{
get { return robotBool; }
set { robotBool = value;
this.RaisePropertyChanged("RobotBool");
}
}
///
/// 机器人品牌 0:EPSON 1:Fanuc 2:QKM(李群)
///
public int RobotBrand { get; set; }
private bool whereOnLine;
///
/// 是否是在线打标机
///
public bool WhereOnLine
{
get { return whereOnLine; }
set { whereOnLine = value;RaisePropertyChanged("WhereOnLine"); }
}
///
/// 系统语言
///
public string SystemLanguage { get; set; }
///
/// 超级密码
///
public string SuperCode { get; set; }
public SystemParameter()
{
//超级密码tang@0797 此密码不存入数据库
SuperCode = "5d9a18f7855b5733ad26484045d936b2";
//默认密码admin
SystemPwd = "21232f297a57a5a743894a0e4a801fc3";
}
}
}