Commit 7179fe90 authored by 杨泽宇's avatar 杨泽宇

更新

parent e9c2d92a
...@@ -14,7 +14,7 @@ public class AGVDemoV2 : MonoBehaviour ...@@ -14,7 +14,7 @@ public class AGVDemoV2 : MonoBehaviour
public void Update() public void Update()
{ {
UpdatePosition(); UpdatePosition();
//UpdateErrorReporting(); UpdateErrorReporting();
} }
private void UpdatePosition() private void UpdatePosition()
...@@ -23,6 +23,8 @@ public class AGVDemoV2 : MonoBehaviour ...@@ -23,6 +23,8 @@ public class AGVDemoV2 : MonoBehaviour
} }
private void UpdateErrorReporting() private void UpdateErrorReporting()
{
if (manager.Failure.code == 200)
{ {
foreach (var faultData in manager.Failure.data) foreach (var faultData in manager.Failure.data)
{ {
...@@ -35,4 +37,5 @@ public class AGVDemoV2 : MonoBehaviour ...@@ -35,4 +37,5 @@ public class AGVDemoV2 : MonoBehaviour
} }
} }
} }
}
} }
...@@ -75,7 +75,7 @@ public class LoginManager : MonoBehaviour ...@@ -75,7 +75,7 @@ public class LoginManager : MonoBehaviour
while (true) while (true)
{ {
using (UnityWebRequest request = UnityWebRequest.Get(productionlineID.text)) using (UnityWebRequest request = UnityWebRequest.Get(ProductionlineID))
{ {
// 设置请求头 // 设置请求头
request.SetRequestHeader("Content-Type", "application/json"); request.SetRequestHeader("Content-Type", "application/json");
...@@ -105,11 +105,11 @@ public class LoginManager : MonoBehaviour ...@@ -105,11 +105,11 @@ public class LoginManager : MonoBehaviour
private IEnumerator FaultInformation() private IEnumerator FaultInformation()
{ {
string jsonData = "{\"lineId\":\"" + lineID.text + "\"}"; string jsonData = "{\"lineId\":\"" + LineID + "\"}";
while (true) while (true)
{ {
using (UnityWebRequest request = UnityWebRequest.PostWwwForm(faultInterface.text, jsonData)) using (UnityWebRequest request = UnityWebRequest.PostWwwForm(FaultInterface, jsonData))
{ {
// 设置请求头 // 设置请求头
request.SetRequestHeader("Content-Type", "application/json"); request.SetRequestHeader("Content-Type", "application/json");
......
...@@ -90,7 +90,7 @@ MonoBehaviour: ...@@ -90,7 +90,7 @@ MonoBehaviour:
m_PrefilteringModeDeferredRendering: 2 m_PrefilteringModeDeferredRendering: 2
m_PrefilteringModeScreenSpaceOcclusion: 2 m_PrefilteringModeScreenSpaceOcclusion: 2
m_PrefilterDebugKeywords: 1 m_PrefilterDebugKeywords: 1
m_PrefilterWriteRenderingLayers: 1 m_PrefilterWriteRenderingLayers: 0
m_PrefilterHDROutput: 1 m_PrefilterHDROutput: 1
m_PrefilterSSAODepthNormals: 0 m_PrefilterSSAODepthNormals: 0
m_PrefilterSSAOSourceDepthLow: 1 m_PrefilterSSAOSourceDepthLow: 1
......
This diff is collapsed.
...@@ -83,7 +83,7 @@ MonoBehaviour: ...@@ -83,7 +83,7 @@ MonoBehaviour:
outlineVisibility: 0 outlineVisibility: 0
outlineIndependent: 0 outlineIndependent: 0
outlineMaskMode: 0 outlineMaskMode: 0
glow: 1 glow: 0
glowWidth: 0.5 glowWidth: 0.5
glowQuality: 1 glowQuality: 1
glowBlurMethod: 0 glowBlurMethod: 0
......
...@@ -435,7 +435,7 @@ Transform: ...@@ -435,7 +435,7 @@ Transform:
m_GameObject: {fileID: 1965839620980476416} m_GameObject: {fileID: 1965839620980476416}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.00011085486, y: 0.16374023, z: -0.27135146} m_LocalPosition: {x: 0, y: 0.625, z: -0.344}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
...@@ -589,7 +589,7 @@ Transform: ...@@ -589,7 +589,7 @@ Transform:
m_GameObject: {fileID: 2831112200708131673} m_GameObject: {fileID: 2831112200708131673}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0.99691737, z: -0.078459114, w: 0} m_LocalRotation: {x: 0, y: 0.99691737, z: -0.078459114, w: 0}
m_LocalPosition: {x: -0, y: 2.5, z: 2.5} m_LocalPosition: {x: -0, y: 2.961, z: 2.427}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
...@@ -696,7 +696,7 @@ Transform: ...@@ -696,7 +696,7 @@ Transform:
m_GameObject: {fileID: 3166591749672883522} m_GameObject: {fileID: 3166591749672883522}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.0032726298, y: 0.6673716, z: -0.20095396} m_LocalPosition: {x: 0.003, y: 1.129, z: -0.274}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
...@@ -1419,7 +1419,7 @@ GameObject: ...@@ -1419,7 +1419,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 0 m_IsActive: 1
--- !u!4 &5676559366613536494 --- !u!4 &5676559366613536494
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment