频率修改
This commit is contained in:
parent
d083d913b7
commit
d3423d07e2
|
@ -797,11 +797,11 @@ MonoBehaviour:
|
||||||
m_Value: 0
|
m_Value: 0
|
||||||
m_Options:
|
m_Options:
|
||||||
m_Options:
|
m_Options:
|
||||||
- m_Text: 1227.60 MHz
|
- m_Text: 1227.60MHz
|
||||||
m_Image: {fileID: 21300000, guid: ab029b3f9356df54eb7dfe16e97c79ea, type: 3}
|
m_Image: {fileID: 21300000, guid: ab029b3f9356df54eb7dfe16e97c79ea, type: 3}
|
||||||
- m_Text: 1381.05 MHz
|
- m_Text: 1381.05MHz
|
||||||
m_Image: {fileID: 21300000, guid: ab029b3f9356df54eb7dfe16e97c79ea, type: 3}
|
m_Image: {fileID: 21300000, guid: ab029b3f9356df54eb7dfe16e97c79ea, type: 3}
|
||||||
- m_Text: 1575.42 MHz
|
- m_Text: 1575.42MHz
|
||||||
m_Image: {fileID: 21300000, guid: ab029b3f9356df54eb7dfe16e97c79ea, type: 3}
|
m_Image: {fileID: 21300000, guid: ab029b3f9356df54eb7dfe16e97c79ea, type: 3}
|
||||||
- m_Text: 2GHz
|
- m_Text: 2GHz
|
||||||
m_Image: {fileID: 21300000, guid: ab029b3f9356df54eb7dfe16e97c79ea, type: 3}
|
m_Image: {fileID: 21300000, guid: ab029b3f9356df54eb7dfe16e97c79ea, type: 3}
|
||||||
|
@ -890,7 +890,7 @@ MonoBehaviour:
|
||||||
m_HorizontalOverflow: 0
|
m_HorizontalOverflow: 0
|
||||||
m_VerticalOverflow: 0
|
m_VerticalOverflow: 0
|
||||||
m_LineSpacing: 1
|
m_LineSpacing: 1
|
||||||
m_Text: 1227.60 MHz
|
m_Text: 1227.60MHz
|
||||||
--- !u!1 &1649737330324479757
|
--- !u!1 &1649737330324479757
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
@ -47,6 +47,7 @@ public class Conversionfrequency : MonoBehaviour
|
||||||
{
|
{
|
||||||
//Smallfrequency = dropdown.value;
|
//Smallfrequency = dropdown.value;
|
||||||
terrestrialRadioInterferenceManger.InterferingFrequency= dropdown.options[dropdown.value].text;
|
terrestrialRadioInterferenceManger.InterferingFrequency= dropdown.options[dropdown.value].text;
|
||||||
|
Debug.LogError(terrestrialRadioInterferenceManger.InterferingFrequency);
|
||||||
//terrestrialRadioInterferenceManger.Interference(Smallfrequency);
|
//terrestrialRadioInterferenceManger.Interference(Smallfrequency);
|
||||||
transform.gameObject.SetActive(false);
|
transform.gameObject.SetActive(false);
|
||||||
string msg = $"send2room EditorDevice,{terrestrialRadioInterferenceManger.equipmentCommon.deviceID},{terrestrialRadioInterferenceManger.InterferingFrequency}";
|
string msg = $"send2room EditorDevice,{terrestrialRadioInterferenceManger.equipmentCommon.deviceID},{terrestrialRadioInterferenceManger.InterferingFrequency}";
|
||||||
|
|
|
@ -1494,13 +1494,13 @@ public class Scenariopage : MonoBehaviour
|
||||||
switch (value)
|
switch (value)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
frequency_text.text = "1227.60 MHz";
|
frequency_text.text = "1227.60MHz";
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
frequency_text.text = "1381.05 MHz";
|
frequency_text.text = "1381.05MHz";
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
frequency_text.text = "1575.42 MHz";
|
frequency_text.text = "1575.42MHz";
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
frequency_text.text = "2GHz";
|
frequency_text.text = "2GHz";
|
||||||
|
|
|
@ -38,7 +38,7 @@ RenderSettings:
|
||||||
m_ReflectionIntensity: 1
|
m_ReflectionIntensity: 1
|
||||||
m_CustomReflection: {fileID: 0}
|
m_CustomReflection: {fileID: 0}
|
||||||
m_Sun: {fileID: 1113159741}
|
m_Sun: {fileID: 1113159741}
|
||||||
m_IndirectSpecularColor: {r: 0.16234905, g: 0.3061682, b: 0.669197, a: 1}
|
m_IndirectSpecularColor: {r: 0.165218, g: 0.3075422, b: 0.6572481, a: 1}
|
||||||
m_UseRadianceAmbientProbe: 0
|
m_UseRadianceAmbientProbe: 0
|
||||||
--- !u!157 &3
|
--- !u!157 &3
|
||||||
LightmapSettings:
|
LightmapSettings:
|
||||||
|
@ -63100,7 +63100,7 @@ MonoBehaviour:
|
||||||
m_PreInfinity: 2
|
m_PreInfinity: 2
|
||||||
m_PostInfinity: 2
|
m_PostInfinity: 2
|
||||||
m_RotationOrder: 4
|
m_RotationOrder: 4
|
||||||
randSeed: 1793377296
|
randSeed: 1859322953
|
||||||
isDoingTransition: 0
|
isDoingTransition: 0
|
||||||
minimumHeight: 0
|
minimumHeight: 0
|
||||||
--- !u!114 &1820978574
|
--- !u!114 &1820978574
|
||||||
|
|
|
@ -38,7 +38,7 @@ RenderSettings:
|
||||||
m_ReflectionIntensity: 1
|
m_ReflectionIntensity: 1
|
||||||
m_CustomReflection: {fileID: 0}
|
m_CustomReflection: {fileID: 0}
|
||||||
m_Sun: {fileID: 0}
|
m_Sun: {fileID: 0}
|
||||||
m_IndirectSpecularColor: {r: 0.16521391, g: 0.30764452, b: 0.6578343, a: 1}
|
m_IndirectSpecularColor: {r: 0.165218, g: 0.3075422, b: 0.6572481, a: 1}
|
||||||
m_UseRadianceAmbientProbe: 0
|
m_UseRadianceAmbientProbe: 0
|
||||||
--- !u!157 &3
|
--- !u!157 &3
|
||||||
LightmapSettings:
|
LightmapSettings:
|
||||||
|
@ -49818,11 +49818,11 @@ MonoBehaviour:
|
||||||
m_Value: 0
|
m_Value: 0
|
||||||
m_Options:
|
m_Options:
|
||||||
m_Options:
|
m_Options:
|
||||||
- m_Text: 1227.60 MHz
|
- m_Text: 1227.60MHz
|
||||||
m_Image: {fileID: 21300000, guid: ab029b3f9356df54eb7dfe16e97c79ea, type: 3}
|
m_Image: {fileID: 21300000, guid: ab029b3f9356df54eb7dfe16e97c79ea, type: 3}
|
||||||
- m_Text: 1381.05 MHz
|
- m_Text: 1381.05MHz
|
||||||
m_Image: {fileID: 21300000, guid: ab029b3f9356df54eb7dfe16e97c79ea, type: 3}
|
m_Image: {fileID: 21300000, guid: ab029b3f9356df54eb7dfe16e97c79ea, type: 3}
|
||||||
- m_Text: 1575.42 MHz
|
- m_Text: 1575.42MHz
|
||||||
m_Image: {fileID: 21300000, guid: ab029b3f9356df54eb7dfe16e97c79ea, type: 3}
|
m_Image: {fileID: 21300000, guid: ab029b3f9356df54eb7dfe16e97c79ea, type: 3}
|
||||||
- m_Text: 2GHz
|
- m_Text: 2GHz
|
||||||
m_Image: {fileID: 21300000, guid: ab029b3f9356df54eb7dfe16e97c79ea, type: 3}
|
m_Image: {fileID: 21300000, guid: ab029b3f9356df54eb7dfe16e97c79ea, type: 3}
|
||||||
|
@ -51166,7 +51166,7 @@ MonoBehaviour:
|
||||||
m_HorizontalOverflow: 0
|
m_HorizontalOverflow: 0
|
||||||
m_VerticalOverflow: 0
|
m_VerticalOverflow: 0
|
||||||
m_LineSpacing: 1
|
m_LineSpacing: 1
|
||||||
m_Text: 1227.60 MHz
|
m_Text: 1227.60MHz
|
||||||
--- !u!222 &638510552
|
--- !u!222 &638510552
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -106459,7 +106459,7 @@ MonoBehaviour:
|
||||||
m_PreInfinity: 2
|
m_PreInfinity: 2
|
||||||
m_PostInfinity: 2
|
m_PostInfinity: 2
|
||||||
m_RotationOrder: 4
|
m_RotationOrder: 4
|
||||||
randSeed: 678732734
|
randSeed: 1859044734
|
||||||
isDoingTransition: 0
|
isDoingTransition: 0
|
||||||
minimumHeight: 0
|
minimumHeight: 0
|
||||||
--- !u!114 &1820978574
|
--- !u!114 &1820978574
|
||||||
|
|
|
@ -32,7 +32,7 @@ public class DeviceManager : MonoSingleton<DeviceManager>
|
||||||
public event System.Action<bool> OnActivationChanged;
|
public event System.Action<bool> OnActivationChanged;
|
||||||
|
|
||||||
|
|
||||||
// Start is called before the first frame update
|
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
SyncCreateRoom.send2roomRequset += GetSend2roomMsg;
|
SyncCreateRoom.send2roomRequset += GetSend2roomMsg;
|
||||||
|
@ -98,6 +98,7 @@ public class DeviceManager : MonoSingleton<DeviceManager>
|
||||||
if (equipmentCommon)
|
if (equipmentCommon)
|
||||||
{
|
{
|
||||||
equipmentCommon.ReceivingPositionAngle(info);
|
equipmentCommon.ReceivingPositionAngle(info);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@ using Newtonsoft.Json.Linq;
|
||||||
public static class InterfaceManager
|
public static class InterfaceManager
|
||||||
{
|
{
|
||||||
|
|
||||||
private static string _IP = "192.168.138.15";
|
private static string _IP = "172.16.1.41";
|
||||||
public static string IP
|
public static string IP
|
||||||
{
|
{
|
||||||
get { return _IP; }
|
get { return _IP; }
|
||||||
|
|
|
@ -441,7 +441,7 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
|
||||||
/// <exception cref="NotImplementedException"></exception>
|
/// <exception cref="NotImplementedException"></exception>
|
||||||
private void Angularrange()
|
private void Angularrange()
|
||||||
{
|
{
|
||||||
Collider[] collider = Physics.OverlapSphere(transform.position, 300);
|
Collider[] collider = Physics.OverlapSphere(transform.position,300);
|
||||||
for (int i = 0; i < collider.Length; i++)
|
for (int i = 0; i < collider.Length; i++)
|
||||||
{
|
{
|
||||||
if (collider[i].transform.tag == "WRJ")
|
if (collider[i].transform.tag == "WRJ")
|
||||||
|
|
Loading…
Reference in New Issue