123456789101112131415161718192021222324 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Shaker.Models
- {
- public class DeviceInfoModel : BaseModel
- {
- public string DeviceName = string.Empty;
- public string SN = string.Empty;
- public string IP = "127.0.0.1";
- public int Port = 5555;
- public override string ToString()
- {
- return $"{DeviceName}[{IP}:{Port}]-{SN}";
- }
- public override object Clone()
- {
- return this.CloneBase();
- }
- }
- }
|