Пример #1
0
        public void SendConfigData(Hashtable teamInfo, string configFile)
        {
            string txt = configFile;//configText.text;

            txt = txt.Replace("\r", "").Replace("\n", "").Replace("\t", "");

            Hashtable table = new Hashtable();

            table.Add("ConfigFile", txt);
            table.Add("IsBlueAlliance", ConfigIsBlueAlliance);
            table.Add("TeamNumber", ConfigTeamNumber);
            table.Add("TeamName", ConfigTeamName);

            ArrayList fieldObjects = new BoxMapping().GetObjects();

            table.Add("FieldObjects", fieldObjects);

            Send("ConfigData", table);
        }
Пример #2
0
        public void SendConfigData(Hashtable teamInfo, string configFile)
        {
            string txt = configFile;//configText.text;
            txt = txt.Replace ("\r", "").Replace ("\n", "").Replace ("\t", "");

            Hashtable table = new Hashtable();
            table.Add ("ConfigFile", txt);
            table.Add("IsBlueAlliance", ConfigIsBlueAlliance);
            table.Add("TeamNumber", ConfigTeamNumber);
            table.Add("TeamName", ConfigTeamName);

            ArrayList fieldObjects = new BoxMapping ().GetObjects ();
            table.Add ("FieldObjects", fieldObjects);

            Send ("ConfigData", table);
        }