Commit 88706a79 authored by 杨泽宇's avatar 杨泽宇

更新

parent c6f403c4
......@@ -87,18 +87,10 @@ public class SensorDataManger : MonoBehaviour
public IEnumerator GetThreeModelSensorData1()
{
//string jsonData = "{\"lineId\":\"" + lineId1 + "\"}";
//string post_url = "https://apifoxmock.com/m1/3550441-0-default/maintenance/bigScreen/sensor/getThreeModelSensorData";
while (true)
{
using (UnityWebRequest request = UnityWebRequest.Get(post_url + "?lineId=" + lineId1))
{
// 设置请求头
//request.SetRequestHeader("Content-Type", "application/json");
//// 设置请求体
//byte[] bodyRaw = System.Text.Encoding.UTF8.GetBytes(jsonData);
//request.uploadHandler = new UploadHandlerRaw(bodyRaw);
// 发送请求并等待响应
yield return request.SendWebRequest();
......@@ -124,8 +116,6 @@ public class SensorDataManger : MonoBehaviour
public IEnumerator GetThreeModelSensorData2()
{
//string jsonData = "{\"lineId\":\"" + lineId2 + "\"}";
//string post = "https://apifoxmock.com/m1/3550441-0-default/maintenance/bigScreen/sensor/getThreeModelSensorData";
while (true)
{
using (UnityWebRequest request = UnityWebRequest.Get(post_url+ "?lineId="+lineId2))
......
{
"productionlineID1": "",
"productionlineID2": "4",
"productionlineID2": "",
"faultInterface": "",
"lineID1": "",
"lineID2": "0",
"lineID2": "",
"post_url": ""
}
\ No newline at end of file
......@@ -23279,7 +23279,8 @@ MonoBehaviour:
data: []
angle: 0
IsLine1: 0
filePath: Assets\Scripts\Core\URL 1.json
path: URL.json
_parent: {fileID: 1692847786}
--- !u!114 &346303892
MonoBehaviour:
m_ObjectHideFlags: 0
......@@ -32436,7 +32437,8 @@ MonoBehaviour:
data: []
angle: 0
IsLine1: 1
filePath: Assets\Scripts\Core\URL.json
path: URL.json
_parent: {fileID: 396184908}
--- !u!114 &560685329
MonoBehaviour:
m_ObjectHideFlags: 0
......@@ -43559,7 +43561,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!4 &817819954
Transform:
m_ObjectHideFlags: 0
......@@ -43582,7 +43584,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 817819953}
m_Enabled: 1
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 05d56e7ba014d4848bc7a5d4f0ae7d38, type: 3}
m_Name:
......@@ -21580,7 +21580,8 @@ MonoBehaviour:
data: []
angle: 0
IsLine1: 0
filePath:
path:
_parent: {fileID: 0}
--- !u!114 &346303892
MonoBehaviour:
m_ObjectHideFlags: 0
......@@ -34162,7 +34163,8 @@ MonoBehaviour:
data: []
angle: 0
IsLine1: 1
filePath: Assets\Scripts\Core\URL.json
path: URL.json
_parent: {fileID: 1654077245}
--- !u!114 &560685329
MonoBehaviour:
m_ObjectHideFlags: 0
......@@ -40075,7 +40077,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!4 &679944236
Transform:
m_ObjectHideFlags: 0
......@@ -40098,7 +40100,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 679944235}
m_Enabled: 1
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 05d56e7ba014d4848bc7a5d4f0ae7d38, type: 3}
m_Name:
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