| 123456789101112131415161718192021222324252627282930313233343536373839404142 | using System;using System.Collections.Generic;using System.ComponentModel;using System.Linq;using System.Text;using System.Threading.Tasks;namespace MECF.Framework.Common.Net{    public enum NetErrorCode    {        [Description("Invalid Ip Address")]        InvalidIpAddress=1,        [Description("Inner Exception")]        InnerException=2,        [Description("Connect Timeout")]        ConnectTimeout=3,        [Description("Send Timeout")]        SendTimeout=4,        [Description("Receive Timeout")]        ReceiveTimeout=5,        [Description("Invalid Data,not match protocol")]        InvalidData=6,        [Description("Invalid Header,not match protocol")]        InvalidHeader=7,        [Description("index overflow")]        IndexOverFlow=8,        [Description("locker already occupy by other")]        LockerOccupied=9,        [Description("connect offline")]        NetOffline=10,        [Description("GetLockTimeout")]        GetLockTimeout=11,        [Description("Socket is null object")]        NullSocketObject=12,        [Description("CRC Check Error")]        CRCCheckError=13,        [Description("Device Error")]        DeviceError=14    }}
 |