Example #1
0
// ReSharper disable UnusedParameter.Local
        public DisplayUnitConfiguration(bool t)
// ReSharper restore UnusedParameter.Local
        {
            ButtonConfigurations = new ButtonConfiguration
            {
                ButtonFunctions = new List <string>
                {
                    "None",
                    "None",
                    "None",
                    "None",
                    "None",
                    "None",
                    "None",
                    "None"
                },
                ButtonOptions = new List <string> {
                    "", "", "", "", "", "", "", ""
                },
                ButtonOptionsScreens = new List <int> {
                    -1, -1, -1, -1, -1, -1, -1, -1
                }
            };
            Inverted           = false;
            IsTM1640           = false;
            SwitchLEDs         = false;
            ShowDC             = false;
            DCDisplayTime      = 0;
            LapStyle           = "Lap Time (12.34) and Personal Delta (-0.12)"; //LapDisplayStylesEnum.LapTimeDeltaPersonal;
            NumScreens         = 0;
            LEDsConfigurations = new LEDsConfiguration
            {
                PitLights        = false,
                PitLimiterSpeed  = "Full Speed",
                PitLimiterStyle  = "Green & Red Alternate Switch",
                RevLimiterLights = false,
                RevLimiterStyle  = "Stay Red",
                ShiftLightStyle  = "Green and Red Progressive with Red Shift",
                ShiftClumps      = false
            };
            ShowLap = false;
            LEDsConfigurations.ShowShiftLights   = false;
            LEDsConfigurations.FFBClippingLights = false;
            LEDsConfigurations.FFBClippingScreen = 0;

            var temp = new Screen
            {
                Example   = "148 3 43",
                Variables = new List <string> {
                    "Speed", "Space", "Gear", "Space", "Laps2"
                }
            };

            Screens = new List <Screen> {
                temp
            };
        }
Example #2
0
        // ReSharper restore UnusedParameter.Local
        // ReSharper disable UnusedParameter.Local
        public DisplayUnitConfiguration(bool t)
        {
            ButtonConfigurations = new ButtonConfiguration
                {
                    ButtonFunctions = new List<string>
                        {
                            "None",
                            "None",
                            "None",
                            "None",
                            "None",
                            "None",
                            "None",
                            "None"
                        },
                    ButtonOptions = new List<string> {"", "", "", "", "", "", "", ""},
                    ButtonOptionsScreens = new List<int> {-1, -1, -1, -1, -1, -1, -1, -1}
                };
            Inverted = false;
            IsTM1640 = false;
            SwitchLEDs = false;
            ShowDC = false;
            DCDisplayTime = 0;
            LapStyle = "Lap Time (12.34) and Personal Delta (-0.12)"; //LapDisplayStylesEnum.LapTimeDeltaPersonal;
            NumScreens = 0;
            LEDsConfigurations = new LEDsConfiguration
                {
                    PitLights = false,
                    PitLimiterSpeed = "Full Speed",
                    PitLimiterStyle = "Green & Red Alternate Switch",
                    RevLimiterLights = false,
                    RevLimiterStyle = "Stay Red",
                    ShiftLightStyle = "Green and Red Progressive with Red Shift",
                    ShiftClumps = false
                };
            ShowLap = false;
            LEDsConfigurations.ShowShiftLights = false;
            LEDsConfigurations.FFBClippingLights = false;
            LEDsConfigurations.FFBClippingScreen = 0;

            var temp = new Screen
                {
                    Example = "148 3 43",
                    Variables = new List<string> {"Speed", "Space", "Gear", "Space", "Laps2"}
                };
            Screens = new List<Screen> {temp};
        }