public static string GetStatusText(ELinkStatus status)
        {
            switch (status)
            {
            case ELinkStatus.Stopped:
            case ELinkStatus.Waiting:
            case ELinkStatus.Starting:
                return(status.ToString());

            case ELinkStatus.Started:
            case ELinkStatus.StartedWithWarnings:
                return(ELinkStatus.Started.ToString());

            default:
                throw new Exception(string.Format(Resources.HostViewModel_StatusNotSupported, status));
            }
        }
        public static Color GetStatusColor(ELinkStatus status)
        {
            switch (status)
            {
            case ELinkStatus.Stopped:
                return(Color.FromArgb(165, 0, 0));

            case ELinkStatus.Starting:
            case ELinkStatus.StartedWithWarnings:
            case ELinkStatus.Waiting:
                return(Color.FromArgb(181, 166, 16));

            case ELinkStatus.Started:
                return(Color.FromArgb(10, 126, 24));

            default:
                throw new Exception(string.Format(Resources.HostViewModel_StatusNotSupported, status));
            }
        }
        public static Bitmap GetStatusIcon(ELinkStatus status)
        {
            switch (status)
            {
            case ELinkStatus.Stopped:
                return(Resources.redCircle);

            case ELinkStatus.Starting:
            case ELinkStatus.StartedWithWarnings:
            case ELinkStatus.Waiting:
                return(Resources.yellowCircle);

            case ELinkStatus.Started:
                return(Resources.greenCircle);

            default:
                throw new Exception(string.Format(Resources.HostViewModel_StatusNotSupported, status));
            }
        }