This commit is contained in:
parent
e5b693125a
commit
7625f60c91
|
@ -75,8 +75,7 @@ public class Scenariopage : MonoBehaviour
|
|||
public Text shi_text;
|
||||
public Slider xuslider;
|
||||
public Text xusshi_text;
|
||||
public Slider Rcs;
|
||||
public Text Rcs_text;
|
||||
|
||||
public Image contingency_list_panl;//想定列表面板
|
||||
public Button off_btnn5;//关闭按钮
|
||||
public Button queren_btnn3;//确认按钮
|
||||
|
@ -615,6 +614,15 @@ public class Scenariopage : MonoBehaviour
|
|||
}
|
||||
else
|
||||
{
|
||||
toggle1.isOn = false;
|
||||
toggle2.isOn = false;
|
||||
toggle3.isOn = false;
|
||||
toggle4.isOn = false;
|
||||
toggle5.isOn = false;
|
||||
toggle6.isOn = false;
|
||||
toggle7.isOn = false;
|
||||
toggle8.isOn = false;
|
||||
toggle9.isOn = false;
|
||||
Slider_endurance.value = 0;
|
||||
Dropdown_wind.value = 0;
|
||||
Slider_speed.value = 0;
|
||||
|
@ -667,7 +675,7 @@ public class Scenariopage : MonoBehaviour
|
|||
aircraft.think_device_id = strlist[2];
|
||||
aircraft.para_name = uavnamelist[i].text;
|
||||
//aircraft.para_type = "";
|
||||
aircraft.para_value = uavnamelist2[i].ToString("0");
|
||||
aircraft.para_value = uavnamelist2[i].ToString();
|
||||
aircraft.para_unit = Droneunitlist2[i];
|
||||
aircraft.r1 = Droneunitlist[i].text;
|
||||
//aircraft.r2 = "";
|
||||
|
@ -1417,7 +1425,7 @@ public class Scenariopage : MonoBehaviour
|
|||
|
||||
shi_text.text = shijian.value.ToString("0") + "分钟";
|
||||
xusshi_text.text = xuslider.value.ToString("f1") + "m/s";
|
||||
Rcs_text.text = Rcs.value.ToString("f2");
|
||||
|
||||
yangguang_text.text = yangguang.value.ToString("0");
|
||||
angle = Slider_angle.value;
|
||||
distance = Slider_distance.value;
|
||||
|
@ -1465,12 +1473,12 @@ public class Scenariopage : MonoBehaviour
|
|||
quantity1 = Slider_endurance.value;
|
||||
quantity2 = Dropdown_wind.value;
|
||||
quantity3 = Slider_speed.value;
|
||||
quantity4 = Slider_rcs.value;
|
||||
quantity4 = Mathf.Round(Slider_rcs.value*100)/100;
|
||||
quantity5 = Dropdown_orientation.value;
|
||||
quantity6 = Dropdown_communication.value;
|
||||
endurance_text.text = Slider_endurance.value.ToString("0") + "分钟";
|
||||
speed_text.text = Slider_speed.value.ToString("f1") + "km";
|
||||
rcs_text.text = Rcs.value.ToString("f2");
|
||||
rcs_text.text = Slider_rcs.value.ToString("f2");
|
||||
}
|
||||
|
||||
private void Disturb()
|
||||
|
@ -2120,7 +2128,7 @@ public class Scenariopage : MonoBehaviour
|
|||
{
|
||||
Aircraft aircraft = new Aircraft();
|
||||
aircraft.para_name = uavnamelist[i].text;
|
||||
aircraft.para_value = uavnamelist2[i].ToString("0");
|
||||
aircraft.para_value = uavnamelist2[i].ToString();
|
||||
aircraft.para_unit = Droneunitlist2[i];
|
||||
aircraft.r1 = Droneunitlist[i].text;
|
||||
aircrafts.Add(aircraft);
|
||||
|
|
|
@ -106459,7 +106459,7 @@ MonoBehaviour:
|
|||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
randSeed: 588249187
|
||||
randSeed: 678075843
|
||||
isDoingTransition: 0
|
||||
minimumHeight: 0
|
||||
--- !u!114 &1820978574
|
||||
|
@ -108036,8 +108036,6 @@ MonoBehaviour:
|
|||
shi_text: {fileID: 1589301385}
|
||||
xuslider: {fileID: 1758289219}
|
||||
xusshi_text: {fileID: 1952455709}
|
||||
Rcs: {fileID: 121940627}
|
||||
Rcs_text: {fileID: 2088260056}
|
||||
contingency_list_panl: {fileID: 1449492560}
|
||||
off_btnn5: {fileID: 1824993617}
|
||||
queren_btnn3: {fileID: 914987364}
|
||||
|
|
|
@ -9,7 +9,7 @@ using Newtonsoft.Json.Linq;
|
|||
public static class InterfaceManager
|
||||
{
|
||||
|
||||
private static string _IP = "192.168.46.15";
|
||||
private static string _IP = "172.16.1.41";
|
||||
public static string IP
|
||||
{
|
||||
get { return _IP; }
|
||||
|
|
Loading…
Reference in New Issue