123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace DotNettyFrom.model
- {
- public class WvBean
- {
- public int id;
- public int index;
- public string myId = "";
- public string idInfo = "";
- public string len = "";
- public string mode = "";
- public string desp = "";
- public string remark = "";
- public string defalutValue = "";
- public string userValue = "";
- public int protocolNo;
-
- public override string ToString()
- {
- return "IssuedCmdDataTest{" +
- "id=" + id +
- ", index=" + index +
- ", myId='" + myId + '\'' +
- ", idInfo='" + idInfo + '\'' +
- ", len='" + len + '\'' +
- ", mode='" + mode + '\'' +
- ", desp='" + desp + '\'' +
- ", remark='" + remark + '\'' +
- ", defalutValue='" + defalutValue + '\'' +
- ", userValue='" + userValue + '\'' +
- ", protocolNo=" + protocolNo +
- '}';
- }
- }
-
- class WvBeanComparer : IComparer<WvBean>
- {
- public int Compare(WvBean x, WvBean y)
- {
- return x.index.CompareTo(y.index);
- }
- }
- }
|