Example #1
0
        public string GetState()
        {
            if (LOGIN_STATE != 1 || STATE == null)
            {
                return("离线");
            }
            switch (STATE.GetValueOrDefault())
            {
            case 0:
            case 1:
            case 4:
                return("在线");

            case 2:
                return("办理中");

            case 3:
                return("办理完结");

            case 5:
                return("暂停");
            }
            return("离线");
        }