Пример #1
0
        public static string ToDescription(this PointsSources pointSource)
        {
            switch (pointSource)
            {
            case PointsSources.Alienware17: return(Resources.ALIENWARE_17);

            case PointsSources.GazeTracker: return(Resources.GAZE_TRACKER);

            case PointsSources.MousePosition: return(Resources.MOUSE_POSITION);

            case PointsSources.SteelseriesSentry: return(Resources.STEELSERIES_SENTRY);

            case PointsSources.TheEyeTribe: return(Resources.THE_EYE_TRIBE);

            case PointsSources.TobiiEyeTracker4C: return(Resources.TOBII_EYE_TRACKER_4C);

            case PointsSources.TobiiEyeX: return(Resources.TOBII_EYEX);

            case PointsSources.TobiiRex: return(Resources.TOBII_REX);

            case PointsSources.TobiiPcEyeGo: return(Resources.TOBII_PCEYE_GO);

            case PointsSources.TobiiPcEyeMini: return(Resources.TOBII_PCEYE_MINI);

            case PointsSources.TobiiX2_30: return(Resources.TOBII_X2_30);

            case PointsSources.TobiiX2_60: return(Resources.TOBII_X2_60);

            case PointsSources.VisualInteractionMyGaze: return(Resources.VI_MYGAZE);
            }

            return(pointSource.ToString());
        }
Пример #2
0
        private static string GetPointsSourceDetails(PointsSources pointSource, CultureInfo culture)
        {
            switch (pointSource)
            {
            // TODO check for culture not in dict, default empty?
            case PointsSources.Alienware17: return(InstallerStrings.ALIENWARE_17_INFO[culture]);

            case PointsSources.GazeTracker: return(InstallerStrings.GAZE_TRACKER_INFO[culture]);

            case PointsSources.IrisbondDuo: return(InstallerStrings.IRISBOND_DUO_INFO[culture]);

            case PointsSources.MousePosition: return(InstallerStrings.MOUSE_POSITION_INFO[culture]);

            case PointsSources.TobiiEyeX: return(InstallerStrings.TOBII_EYEX_INFO[culture]);

            case PointsSources.TobiiRex: return(InstallerStrings.TOBII_ASSISTIVE_INFO[culture]);

            case PointsSources.TobiiPcEyeGo: return(InstallerStrings.TOBII_ASSISTIVE_INFO[culture]);

            case PointsSources.TobiiPcEyeGoPlus: return(InstallerStrings.TOBII_ASSISTIVE_INFO[culture]);

            case PointsSources.TobiiPcEyeMini: return(InstallerStrings.TOBII_ASSISTIVE_INFO[culture]);

            case PointsSources.TobiiX2_30: return(InstallerStrings.TOBII_ASSISTIVE_INFO[culture]);

            case PointsSources.TobiiX2_60: return(InstallerStrings.TOBII_ASSISTIVE_INFO[culture]);

            case PointsSources.VisualInteractionMyGaze: return(InstallerStrings.VI_MYGAZE_INFO[culture]);

            default: return("");
            }
        }
Пример #3
0
        public static string ToDescription(this PointsSources pointSource)
        {
            switch (pointSource)
            {
            case PointsSources.GazeTracker: return("Gaze Tracker");

            case PointsSources.TheEyeTribe: return("The Eye Tribe");

            case PointsSources.MousePosition: return("Mouse position");

            case PointsSources.TobiiEyeX: return("Tobii EyeX");

            case PointsSources.TobiiRex: return("Tobii REX");

            case PointsSources.TobiiPcEyeGo: return("Tobii PCEye Go");
            }

            return(pointSource.ToString());
        }
Пример #4
0
        public static string ToDescription(this PointsSources pointSource)
        {
            switch (pointSource)
            {
            case PointsSources.GazeTracker: return(Resources.GAZE_TRACKER);

            case PointsSources.TheEyeTribe: return(Resources.THE_EYE_TRIBE);

            case PointsSources.MousePosition: return(Resources.MOUSE_POSITION);

            case PointsSources.TobiiEyeX: return(Resources.TOBII_EYEX);

            case PointsSources.TobiiRex: return(Resources.TOBII_REX);

            case PointsSources.TobiiPcEyeGo: return(Resources.TOBII_PCEYE_GO);
            }

            return(pointSource.ToString());
        }
Пример #5
0
        public static string ToExtendedDescription(this PointsSources pointSource)
        {
            switch (pointSource)
            {
            case PointsSources.Alienware17: return(Resources.ALIENWARE_17_INFO);

            case PointsSources.GazeTracker: return(Resources.GAZE_TRACKER_INFO);

            case PointsSources.IrisbondDuo: return(Resources.IRISBOND_DUO_INFO);

            case PointsSources.MousePosition: return(Resources.MOUSE_POSITION_INFO);

            case PointsSources.SteelseriesSentry: return(Resources.TOBII_EYEX_INFO);

            case PointsSources.TheEyeTribe: return("");

            case PointsSources.TobiiEyeTracker4C: return(Resources.TOBII_EYEX_INFO);

            case PointsSources.TobiiEyeTracker5: return(Resources.TOBII_EYEX_INFO);

            case PointsSources.TobiiEyeX: return(Resources.TOBII_EYEX_INFO);

            case PointsSources.TobiiRex: return(Resources.TOBII_ASSISTIVE_INFO);

            case PointsSources.TobiiPcEyeGo: return(Resources.TOBII_ASSISTIVE_INFO);

            case PointsSources.TobiiPcEyeGoPlus: return(Resources.TOBII_ASSISTIVE_INFO);

            case PointsSources.TobiiPcEye5: return(Resources.TOBII_ASSISTIVE_INFO);

            case PointsSources.TobiiPcEyeMini: return(Resources.TOBII_ASSISTIVE_INFO);

            case PointsSources.TobiiX2_30: return(Resources.TOBII_ASSISTIVE_INFO);

            case PointsSources.TobiiX2_60: return(Resources.TOBII_ASSISTIVE_INFO);

            case PointsSources.VisualInteractionMyGaze: return(Resources.VI_MYGAZE_INFO);
            }

            return(pointSource.ToString());
        }