using System; using System.Collections.Generic; using System.Linq; using System.Text; using Prism.Mvvm; using System.Threading.Tasks; using static CommonUtils.Enums.Enums; using CommonUtils.内部存储; namespace TcpClientModule.Model { public class TcpRcvModel:BindableBase { private Encoding rcvEncoding= System.Text.Encoding.Default; private TcpClientModel _TcpClientModel=new TcpClientModel(); private YesNO hasrn= YesNO.否; private YesNO isHex= YesNO.否; private string passStr="OK"; private string storageType="无"; private string storageIndex="无"; public Encoding RcvEncoding { get => rcvEncoding; set { SetProperty(ref rcvEncoding, value); } } public TcpClientModel Tcp_ClientModel { get => _TcpClientModel; set { SetProperty(ref _TcpClientModel, value); } } public YesNO Hasrn { get => hasrn; set { SetProperty(ref hasrn, value); } } public YesNO IsHex { get => isHex; set { SetProperty(ref isHex, value); } } public string PassStr { get => passStr; set { SetProperty(ref passStr, value); } } public string StorageType { get => storageType; set { SetProperty(ref storageType, value); } } public string StorageIndex { get => storageIndex; set { SetProperty(ref storageIndex, value); } } public TcpRcvModel() { } } }