| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- using Prism.Mvvm;
- using System;
- using System.Collections.Generic;
- using System.Collections.ObjectModel;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using TeamAAS_VP.Core.Robots;
- using TeamAAS_VP.Enums;
- namespace TeamAAS_VP.Models
- {
- public class PlcInfo : BindableBase
- {
- private Guid _Id;
- public Guid Id
- {
- get { return _Id; }
- set { SetProperty(ref _Id, value); }
- }
- private int _Index;
- public int Index
- {
- get { return _Index; }
- set { SetProperty(ref _Index, value); }
- }
- private int _PlcNo;
- /// <summary>
- /// 编号
- /// </summary>
- public int PlcNo
- {
- get { return _PlcNo; }
- set { SetProperty(ref _PlcNo, value); }
- }
- private string _Name;
- public string Name
- {
- get { return _Name; }
- set { SetProperty(ref _Name, value); }
- }
- private CommunicationType _CommunicationType;
- public CommunicationType CommunicationType
- {
- get { return _CommunicationType; }
- set { SetProperty(ref _CommunicationType, value); }
- }
- private string _EndpointUrl;
- public string EndpointUrl
- {
- get { return _EndpointUrl; }
- set { SetProperty(ref _EndpointUrl, value); }
- }
- private string _NodeHeader= "ns=4;s=";
- public string NodeHeader
- {
- get { return _NodeHeader; }
- set { SetProperty(ref _NodeHeader, value); }
- }
- }
- }
|