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); }
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); }