| File was renamed from WPFProject/Models/Variable.cs |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Security.Policy; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using HMI.Core.Entity; |
| | | using System; |
| | | using System.Xml.Serialization; |
| | | |
| | | namespace WPFProject.Models |
| | | namespace Plugin.TestBuilder.Model |
| | | { |
| | | public class Variable : NotifyBase |
| | | { |
| | |
| | | public string Name |
| | | { |
| | | get { return _Name; } |
| | | set => RaiseAndSetIfChanged(ref _Name, value); |
| | | set => Set(ref _Name, value); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | get { return _TypeName; } |
| | | set |
| | | { |
| | | RaiseAndSetIfChanged(ref _TypeName, value); |
| | | Set(ref _TypeName, value); |
| | | Type = value == null ? null : Type.GetType(value); |
| | | } |
| | | } |
| | |
| | | public string ValueStr |
| | | { |
| | | get { return _ValueStr; } |
| | | set => RaiseAndSetIfChanged(ref _ValueStr, value); |
| | | set => Set(ref _ValueStr, value); |
| | | } |
| | | |
| | | /// <summary> |