示例#1
0
        private static void subWIFI() //Pkt. 3 - Wi-Fi & datapriser
        {
            string WiFiQuery;

            Console.WriteLine("Med tak til teleselskabet 3 har vi fået opsat master på festivalpladsen samt område G og N.");
            Console.WriteLine();
            Console.WriteLine("Du kan gratis bruge Wi-Fi indenfor 100 meter af masterne. \n" +
                              "Tilslut dit device til netværket \"3-RF\" og acceptere betingelserne, så er du på!");
            Console.WriteLine();
            Console.WriteLine("Det kan hænde at masterne bliver overbelastede. \n" +
                              "I dette tilfælde kan du tilkøbe data til din personlige telefon på følgende måde: ");
            Console.WriteLine();
            Console.WriteLine("Send en SMS til 1247 med teksten DATA efterfulgt af det ønskede antal GB. Eksempel: Data 50");
            Console.WriteLine();
            Console.ForegroundColor = ConsoleColor.Green;
            Console.WriteLine("\"Data 15\" for 15GB [DKK 75]");
            Console.WriteLine("\"DATA 25\" for 25GB [DKK 100]");
            Console.WriteLine("\"Data 50\" for 50GB [DKK 175]");
            Console.ForegroundColor = ConsoleColor.DarkGreen;
            Console.WriteLine();
            Console.WriteLine("Du accepterer 3s brugs- og persondatapolitik ved køb af ekstra data.\nFor at læse disse politikker, send INFO til 1247.");
            Console.WriteLine();
            Console.WriteLine("Udenfor masternes rækkevidde kan du bruge egen data på egen beregning.");

            Console.CursorVisible = false;
            System.Threading.Thread.Sleep(1000);
            Console.WriteLine("____________________________________________________________");
            System.Threading.Thread.Sleep(1600);
            Console.WriteLine();
            Console.CursorVisible = true;
            do
            {
                Console.WriteLine("Ønsker du at gå direkte til kortet for at se Wi-Fi tårnene?");
                Console.WriteLine("Tast [Y] for at gå til kort, tast [N] for hovedmenu.");
                Console.ForegroundColor = ConsoleColor.White;
                WiFiQuery = Console.ReadLine();
                WiFiQuery = WiFiQuery.ToUpper();
                Console.ForegroundColor = ConsoleColor.DarkGreen;
            } while (WiFiQuery != "Y" && WiFiQuery != "N" && WiFiQuery != "y" && WiFiQuery != "n");


            if (WiFiQuery == "Y" || WiFiQuery == "y")
            {
                Console.Clear();
                WiFiQuery = "";
                subMAP();
            }

            else if (WiFiQuery == "N" || WiFiQuery == "n")
            {
                Console.Clear();
                Console.WriteLine("Du vil nu blive sendt tilbage til hovedmenuen.");
                Console.CursorVisible = false;
                System.Threading.Thread.Sleep(2200);
                WiFiQuery = "";
                menuQuery = "";
                Console.Clear();
                Console.ForegroundColor = ConsoleColor.DarkGreen;
                Console.CursorVisible   = true;
                Menu();
            }
        }
示例#2
0
        private static void subWIFI() //Pkt. 3 - Wi-Fi & datapriser
        {
            string WiFiQuery;

            Console.WriteLine("Thanks to the telecompany 3, Roskilde Festival 2017 has free Wi-Fi by the main area, and camps G & N");
            Console.WriteLine();
            Console.WriteLine("The Wi-Fi is accesible within 300 feet of the masts. \n" +
                              "Connect your device to the network \"3-RF\", accept the conditions and you're on!");
            Console.WriteLine();
            Console.WriteLine("The network might get overloaded.\n" +
                              "In this case you can purchase additional data on your phone for personal use: ");
            Console.WriteLine();
            Console.WriteLine("Send a text to 1247 with the text DATA followed by the desired amount of GB. Example: Data 50");
            Console.WriteLine();
            Console.ForegroundColor = ConsoleColor.Cyan;
            Console.WriteLine("\"Data 15\" for 15GB [DKK 75]");
            Console.WriteLine("\"DATA 25\" for 25GB [DKK 100]");
            Console.WriteLine("\"Data 50\" for 50GB [DKK 175]");
            Console.ForegroundColor = ConsoleColor.DarkCyan;
            Console.WriteLine();
            Console.WriteLine("You accept 3s fair use- and personaldata politics by using their services.\n" +
                              "To read their politics, text INFO to 1247.");
            Console.WriteLine();
            Console.WriteLine("Outside the free Wi-Fi zones, you can use your own data at your own expense.");

            Console.CursorVisible = false;
            System.Threading.Thread.Sleep(1000);
            Console.WriteLine("____________________________________________________________");
            System.Threading.Thread.Sleep(1600);
            Console.WriteLine();
            Console.CursorVisible = true;
            do
            {
                Console.WriteLine("Do you wish to go to the map, to see the Wi-FI masts?");
                Console.WriteLine("Type [Y] to head to the map, type [N] to return to the main menu.");
                Console.ForegroundColor = ConsoleColor.White;
                WiFiQuery = Console.ReadLine();
                WiFiQuery = WiFiQuery.ToUpper();
                Console.ForegroundColor = ConsoleColor.DarkCyan;
            } while (WiFiQuery != "Y" && WiFiQuery != "N" && WiFiQuery != "y" && WiFiQuery != "n");


            if (WiFiQuery == "Y" || WiFiQuery == "y")
            {
                Console.Clear();
                WiFiQuery = "";
                subMAP();
            }

            else if (WiFiQuery == "N" || WiFiQuery == "n")
            {
                Console.Clear();
                Console.WriteLine("You will now return to the main menu.");
                Console.CursorVisible = false;
                System.Threading.Thread.Sleep(2200);
                WiFiQuery = "";
                menuQuery = "";
                Console.Clear();
                Console.ForegroundColor = ConsoleColor.DarkCyan;
                Console.CursorVisible   = true;
                Menu();
            }
        }