sda
|
@ -0,0 +1,33 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c50aba51dea5b4f4393c5a298d635fbd
|
||||||
|
PluginImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
iconMap: {}
|
||||||
|
executionOrder: {}
|
||||||
|
defineConstraints: []
|
||||||
|
isPreloaded: 0
|
||||||
|
isOverridable: 0
|
||||||
|
isExplicitlyReferenced: 0
|
||||||
|
validateReferences: 1
|
||||||
|
platformData:
|
||||||
|
- first:
|
||||||
|
Any:
|
||||||
|
second:
|
||||||
|
enabled: 1
|
||||||
|
settings: {}
|
||||||
|
- first:
|
||||||
|
Editor: Editor
|
||||||
|
second:
|
||||||
|
enabled: 0
|
||||||
|
settings:
|
||||||
|
DefaultValueInitialized: true
|
||||||
|
- first:
|
||||||
|
Windows Store Apps: WindowsStoreApps
|
||||||
|
second:
|
||||||
|
enabled: 0
|
||||||
|
settings:
|
||||||
|
CPU: AnyCPU
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -68,12 +68,12 @@ public class FinishPanel : XUIPanel
|
||||||
//改用新的上传数据,结束考试
|
//改用新的上传数据,结束考试
|
||||||
if (MyManage.instance.playModeEnum == PlayModeEnum.练习)
|
if (MyManage.instance.playModeEnum == PlayModeEnum.练习)
|
||||||
{
|
{
|
||||||
//MyManage.instance.GetUploadPracticeAnswer();
|
MyManage.instance.GetUploadPracticeAnswer();
|
||||||
MyManage.instance.GetEndPractise();
|
MyManage.instance.GetEndPractise();
|
||||||
}
|
}
|
||||||
else if (MyManage.instance.playModeEnum == PlayModeEnum.考试)
|
else if (MyManage.instance.playModeEnum == PlayModeEnum.考试)
|
||||||
{
|
{
|
||||||
//MyManage.instance.GetUploadExamAnswer();
|
MyManage.instance.GetUploadExamAnswer();
|
||||||
MyManage.instance.GetEndExam();
|
MyManage.instance.GetEndExam();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -107,12 +107,12 @@ public class FinishPanel : XUIPanel
|
||||||
//改用新的上传数据,结束考试
|
//改用新的上传数据,结束考试
|
||||||
if (MyManage.instance.playModeEnum == PlayModeEnum.练习)
|
if (MyManage.instance.playModeEnum == PlayModeEnum.练习)
|
||||||
{
|
{
|
||||||
//MyManage.instance.GetUploadPracticeAnswer();
|
MyManage.instance.GetUploadPracticeAnswer();
|
||||||
MyManage.instance.GetEndPractise();
|
MyManage.instance.GetEndPractise();
|
||||||
}
|
}
|
||||||
else if (MyManage.instance.playModeEnum == PlayModeEnum.考试)
|
else if (MyManage.instance.playModeEnum == PlayModeEnum.考试)
|
||||||
{
|
{
|
||||||
//MyManage.instance.GetUploadExamAnswer();
|
MyManage.instance.GetUploadExamAnswer();
|
||||||
MyManage.instance.GetEndExam();
|
MyManage.instance.GetEndExam();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: be6e332496d8cf64180791be968e3867
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 32dcce36fee35dc4494b8cfaa7f28d0c
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,192 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"TowerId": "6b8da25e0c0d11ed844e7cd30a92bb1c",
|
||||||
|
"Tower": "配电箱",
|
||||||
|
"Data": [
|
||||||
|
{
|
||||||
|
"PowerDistributionBoxId": "9d8da9360c0f11ed844e7cd30a92bb1c",
|
||||||
|
"PowerDistributionBox": "411",
|
||||||
|
"Data": [
|
||||||
|
{
|
||||||
|
"LineId": "f3a279fc50e14420a0be0098843d849f",
|
||||||
|
"Line": "断路器"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerDistributionBoxId": "a238da230c0f11ed844e7cd30a92bb1c",
|
||||||
|
"PowerDistributionBox": "412",
|
||||||
|
"Data": [
|
||||||
|
{
|
||||||
|
"LineId": "57c3833121cd4e28bc6bffd4f4bd4a4f",
|
||||||
|
"Line": "断路器"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerDistributionBoxId": "a7285dcf0c0f11ed844e7cd30a92bb1c",
|
||||||
|
"PowerDistributionBox": "备用线",
|
||||||
|
"Data": [
|
||||||
|
{
|
||||||
|
"LineId": "4844c8d053ae4d4cbf29605ffc7f7774",
|
||||||
|
"Line": "备用断路器"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TowerId": "db2097df0c0c11ed844e7cd30a92bb1c",
|
||||||
|
"Tower": "杆塔1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TowerId": "e8fc27440c0c11ed844e7cd30a92bb1c",
|
||||||
|
"Tower": "杆塔2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TowerId": "04c4be780c0d11ed844e7cd30a92bb1c",
|
||||||
|
"Tower": "杆塔3",
|
||||||
|
"Data": [
|
||||||
|
{
|
||||||
|
"PowerDistributionBoxId": "7bb8fde20c0d11ed844e7cd30a92bb1c",
|
||||||
|
"PowerDistributionBox": "横担",
|
||||||
|
"Data": [
|
||||||
|
{
|
||||||
|
"LineId": "c9b79e400c0f11ed844e7cd30a92bb1c",
|
||||||
|
"Line": "瓷瓶A"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"LineId": "d0687c0c0c0f11ed844e7cd30a92bb1c",
|
||||||
|
"Line": "瓷瓶B"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"LineId": "d5494cc10c0f11ed844e7cd30a92bb1c",
|
||||||
|
"Line": "瓷瓶C"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"LineId": "d9cadd130c0f11ed844e7cd30a92bb1c",
|
||||||
|
"Line": "瓷瓶N"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TowerId": "0903073e0c0d11ed844e7cd30a92bb1c",
|
||||||
|
"Tower": "杆塔4",
|
||||||
|
"Data": [
|
||||||
|
{
|
||||||
|
"PowerDistributionBoxId": "817c6f230c0d11ed844e7cd30a92bb1c",
|
||||||
|
"PowerDistributionBox": "横担",
|
||||||
|
"Data": [
|
||||||
|
{
|
||||||
|
"LineId": "df6b9d320c0f11ed844e7cd30a92bb1c",
|
||||||
|
"Line": "瓷瓶A"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"LineId": "e56da64d0c0f11ed844e7cd30a92bb1c",
|
||||||
|
"Line": "瓷瓶B"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"LineId": "ea0123d20c0f11ed844e7cd30a92bb1c",
|
||||||
|
"Line": "瓷瓶C"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"LineId": "ef55ab240c0f11ed844e7cd30a92bb1c",
|
||||||
|
"Line": "瓷瓶N"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TowerId": "0eb9ec5f0c0d11ed844e7cd30a92bb1c",
|
||||||
|
"Tower": "杆塔5",
|
||||||
|
"Data": [
|
||||||
|
{
|
||||||
|
"PowerDistributionBoxId": "86e67ebf0c0d11ed844e7cd30a92bb1c",
|
||||||
|
"PowerDistributionBox": "横担",
|
||||||
|
"Data": [
|
||||||
|
{
|
||||||
|
"LineId": "f51d13cf0c0f11ed844e7cd30a92bb1c",
|
||||||
|
"Line": "瓷瓶A"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"LineId": "f9b8f7f00c0f11ed844e7cd30a92bb1c",
|
||||||
|
"Line": "瓷瓶B"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"LineId": "fe40f6390c0f11ed844e7cd30a92bb1c",
|
||||||
|
"Line": "瓷瓶C"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"LineId": "0391dca50c1011ed844e7cd30a92bb1c",
|
||||||
|
"Line": "瓷瓶N"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TowerId": "15b709dc0c0d11ed844e7cd30a92bb1c",
|
||||||
|
"Tower": "杆塔6",
|
||||||
|
"Data": [
|
||||||
|
{
|
||||||
|
"PowerDistributionBoxId": "8cd1dc640c0d11ed844e7cd30a92bb1c",
|
||||||
|
"PowerDistributionBox": "横担",
|
||||||
|
"Data": [
|
||||||
|
{
|
||||||
|
"LineId": "0a2a2dea0c1011ed844e7cd30a92bb1c",
|
||||||
|
"Line": "瓷瓶A"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"LineId": "0fbda5970c1011ed844e7cd30a92bb1c",
|
||||||
|
"Line": "瓷瓶B"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"LineId": "14bd5b9c0c1011ed844e7cd30a92bb1c",
|
||||||
|
"Line": "瓷瓶C"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"LineId": "1aaa94170c1011ed844e7cd30a92bb1c",
|
||||||
|
"Line": "瓷瓶N"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TowerId": "20c4d6b40c0d11ed844e7cd30a92bb1c",
|
||||||
|
"Tower": "杆塔7"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TowerId": "269657410c0d11ed844e7cd30a92bb1c",
|
||||||
|
"Tower": "线档",
|
||||||
|
"Data": [
|
||||||
|
{
|
||||||
|
"PowerDistributionBoxId": "988ee8a80c0d11ed844e7cd30a92bb1c",
|
||||||
|
"PowerDistributionBox": "1~2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerDistributionBoxId": "9dff00380c0d11ed844e7cd30a92bb1c",
|
||||||
|
"PowerDistributionBox": "2~3"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerDistributionBoxId": "a2c582520c0d11ed844e7cd30a92bb1c",
|
||||||
|
"PowerDistributionBox": "3~4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerDistributionBoxId": "a81618f70c0d11ed844e7cd30a92bb1c",
|
||||||
|
"PowerDistributionBox": "4~5"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerDistributionBoxId": "adae7d710c0d11ed844e7cd30a92bb1c",
|
||||||
|
"PowerDistributionBox": "5~6"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerDistributionBoxId": "b284c3000c0d11ed844e7cd30a92bb1c",
|
||||||
|
"PowerDistributionBox": "6~7"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 80bf7d7a750ccb04a9c77bc3232f3287
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 30cc55c2a8cc15f4d9f2ae758fb6dd43
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b61f920a3ff33964f9a4594c52659386
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ae081bc38b839da4b8aea8477b585b2f
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: efb2fa9fa5208fc489ab597e21e89914
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 968c98f1767d8b34fb1a9651292d2561
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4f73b09e3d301e346bb6c6f707864105
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 18a05412a5407ef438808aa3be23c239
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1 @@
|
||||||
|
[{"LineId":"777662530ee911eda2ff7cd30a92bb1c","PlatformAreaId":"31cf36ed09b111ed844e7cd30a92bb1c","LineName":"0.4kV敏行1#配变411东线"},{"LineId":"8466e3860ee911eda2ff7cd30a92bb1c","PlatformAreaId":"3702dd8609b111ed844e7cd30a92bb1c","LineName":"0.4kV敏学1#配变411东线"},{"LineId":"9387895109b111ed844e7cd30a92bb1c","PlatformAreaId":"28f0723409b111ed844e7cd30a92bb1c","LineName":"0.4kV敏知1#配变411东线"},{"LineId":"94717c490ee911eda2ff7cd30a92bb1c","PlatformAreaId":"61dcc1b309b111ed844e7cd30a92bb1c","LineName":"0.4kV毓秀1#配变411东线"},{"LineId":"9c88de9f09b111ed844e7cd30a92bb1c","PlatformAreaId":"2e43dd2d09b111ed844e7cd30a92bb1c","LineName":"0.4kV敏慧1#配变411东线"}]
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8e8860b3e4541bc46a7a1194185be0eb
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1 @@
|
||||||
|
[{"PlatformAreaId":"28f0723409b111ed844e7cd30a92bb1c","SceneId":"eab5920509b011ed844e7cd30a92bb1c","PlatformAreaName":"敏知"},{"PlatformAreaId":"2e43dd2d09b111ed844e7cd30a92bb1c","SceneId":"eab5920509b011ed844e7cd30a92bb1c","PlatformAreaName":"敏慧"},{"PlatformAreaId":"31cf36ed09b111ed844e7cd30a92bb1c","SceneId":"eab5920509b011ed844e7cd30a92bb1c","PlatformAreaName":"敏行"},{"PlatformAreaId":"3702dd8609b111ed844e7cd30a92bb1c","SceneId":"eab5920509b011ed844e7cd30a92bb1c","PlatformAreaName":"敏学"},{"PlatformAreaId":"61dcc1b309b111ed844e7cd30a92bb1c","SceneId":"eab5920509b011ed844e7cd30a92bb1c","PlatformAreaName":"毓秀"}]
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b684781cf7fcff44eb929b57b0775116
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1 @@
|
||||||
|
[{"SceneId":"eab5920509b011ed844e7cd30a92bb1c","SceneName":"场景1"}]
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 948f8b09a3b2fc64885dfcc1e5b361f1
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2038a8ee1a0d80a4ab2e74f13419189b
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: deaab75476ffb5a46911d03aedd25b53
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4ceb612a216ce57409ba5fbf3a4dd0ad
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
After Width: | Height: | Size: 113 KiB |
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b71ecb16d01a2b843bd5bcd0daeb8d84
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
After Width: | Height: | Size: 113 KiB |
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e7e33036123b40147ac4b951843d0e47
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
After Width: | Height: | Size: 113 KiB |
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4d7d69d758d50684f968c4b369083312
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
After Width: | Height: | Size: 113 KiB |
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a8ef93494e4b33f4e964294701937d59
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
After Width: | Height: | Size: 113 KiB |
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4d8a7a460d1e86541aec7f0d3ff9e39f
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
After Width: | Height: | Size: 112 KiB |
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 260001189a65a6843b25be0b95879aff
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
After Width: | Height: | Size: 112 KiB |
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 757404047e8d40049b5ab17f77fc0e5c
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
After Width: | Height: | Size: 112 KiB |
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: cb23d2218dc5f234bb09dc7b9b7c50b2
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
After Width: | Height: | Size: 112 KiB |
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 518c62561fd15fe4e98ef237782aae91
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
After Width: | Height: | Size: 112 KiB |
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f193f042c859da344a6003811e971279
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
After Width: | Height: | Size: 112 KiB |
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d0e15b2a4aaa97841ad93b74b58c2ff7
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
After Width: | Height: | Size: 113 KiB |
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8494b680762917648860e3e164e55a04
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
After Width: | Height: | Size: 112 KiB |
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 73567c9764b6ef4468c6bde29774b4c6
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
After Width: | Height: | Size: 112 KiB |
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: fe4dc01ff68e0704090556f11717caa3
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
After Width: | Height: | Size: 112 KiB |
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b79a98b9214d10846a9e5cf476919d4a
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -9,6 +9,7 @@ using Newtonsoft.Json;
|
||||||
using SGUnitySDK.Services.HTTP;
|
using SGUnitySDK.Services.HTTP;
|
||||||
using SGUnitySDK.Utils;
|
using SGUnitySDK.Utils;
|
||||||
using System;
|
using System;
|
||||||
|
using RuralPower;
|
||||||
|
|
||||||
public class MyManage : MonoBehaviour
|
public class MyManage : MonoBehaviour
|
||||||
{
|
{
|
||||||
|
@ -29,6 +30,8 @@ public class MyManage : MonoBehaviour
|
||||||
{
|
{
|
||||||
instance = this;
|
instance = this;
|
||||||
//初始化
|
//初始化
|
||||||
|
SGStartParamsService.GetInstance().setMode("eyJtb2RlIjo1LCJwbGFuTG9jYWxQYXRoIjoiRDpcXFVzZXJGaWxlc1xc5Yac55S156ue6LWb5a+55o6lXFzmoYjkvoszLnppcCIsInByYWN0aXNlSWQiOiIxIiwic3R1VXNlcklkIjoiMzk4IiwiYXBwSWQiOiI2OCIsImV4YW1JZCI6Ii0xIiwidGVhY2hwbGFuSWQiOiIzIiwiY291cnNlSWQiOiItMSJ9");
|
||||||
|
SGStartParamsService.GetInstance().setToken("b745dbae-7744-4bd3-ac52-c22ae974f7e5");
|
||||||
SGUConfig config = new SGUConfig();
|
SGUConfig config = new SGUConfig();
|
||||||
SGUSdk.GetInstance().InitSDK(config);
|
SGUSdk.GetInstance().InitSDK(config);
|
||||||
startMode = SGUSdk.GetInstance().GetAppStartMode();
|
startMode = SGUSdk.GetInstance().GetAppStartMode();
|
||||||
|
@ -36,7 +39,7 @@ public class MyManage : MonoBehaviour
|
||||||
//获取用户信息
|
//获取用户信息
|
||||||
HttpAuthService getUserInfo = new HttpAuthService();
|
HttpAuthService getUserInfo = new HttpAuthService();
|
||||||
ResponObject responObject1 = getUserInfo.GetUserInfo();
|
ResponObject responObject1 = getUserInfo.GetUserInfo();
|
||||||
if(responObject1.code=="200")
|
if(responObject1.code=="0")
|
||||||
{
|
{
|
||||||
string data1 = responObject1.data.ToString();
|
string data1 = responObject1.data.ToString();
|
||||||
Debug.Log("GetUserInfo:" + data1);
|
Debug.Log("GetUserInfo:" + data1);
|
||||||
|
@ -49,7 +52,7 @@ public class MyManage : MonoBehaviour
|
||||||
playModeEnum = PlayModeEnum.考试;
|
playModeEnum = PlayModeEnum.考试;
|
||||||
HttpExamService getPractiseInfo = new HttpExamService();
|
HttpExamService getPractiseInfo = new HttpExamService();
|
||||||
ResponObject responObject = getPractiseInfo.PrepareExam(startMode.examId, userData.id);
|
ResponObject responObject = getPractiseInfo.PrepareExam(startMode.examId, userData.id);
|
||||||
if(responObject.code=="200")
|
if(responObject.code=="0")
|
||||||
{
|
{
|
||||||
string data = responObject.data.ToString();
|
string data = responObject.data.ToString();
|
||||||
Debug.Log("考生获取考试题目" + data);
|
Debug.Log("考生获取考试题目" + data);
|
||||||
|
@ -65,7 +68,7 @@ public class MyManage : MonoBehaviour
|
||||||
playModeEnum = PlayModeEnum.练习;
|
playModeEnum = PlayModeEnum.练习;
|
||||||
HttpPractiseService getPractiseInfo = new HttpPractiseService();
|
HttpPractiseService getPractiseInfo = new HttpPractiseService();
|
||||||
ResponObject responObject = getPractiseInfo.GetPractiseInfo(startMode.practiseId);
|
ResponObject responObject = getPractiseInfo.GetPractiseInfo(startMode.practiseId);
|
||||||
if(responObject.code=="200")
|
if(responObject.code=="0")
|
||||||
{
|
{
|
||||||
string data = responObject.data.ToString();
|
string data = responObject.data.ToString();
|
||||||
Debug.Log("GetPractiseInfo:" + data);
|
Debug.Log("GetPractiseInfo:" + data);
|
||||||
|
@ -83,6 +86,20 @@ public class MyManage : MonoBehaviour
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void Update()
|
||||||
|
{
|
||||||
|
if(Input.GetKeyDown(KeyCode.O))
|
||||||
|
{
|
||||||
|
RuralPowerAPI ruralPowerAPI = new RuralPowerAPI();
|
||||||
|
var tmps=ruralPowerAPI.GetAnswer(ScenesRecorder.user.ExamId, ScenesRecorder.user.user_id, startMode.teachplanId);
|
||||||
|
Debug.Log("当前答案=====================");
|
||||||
|
foreach (var tmp in tmps)
|
||||||
|
{
|
||||||
|
Debug.Log(JsonConvert.SerializeObject(tmp));
|
||||||
|
}
|
||||||
|
Debug.Log("当前答案显示结束=====================");
|
||||||
|
}
|
||||||
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 开始练习
|
/// 开始练习
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -95,10 +112,10 @@ public class MyManage : MonoBehaviour
|
||||||
{
|
{
|
||||||
HttpPractiseService getPractiseInfo = new HttpPractiseService();
|
HttpPractiseService getPractiseInfo = new HttpPractiseService();
|
||||||
ResponObject responObject = getPractiseInfo.StartPractise(startMode.practiseId, userData.id, DateTime.Now.ToString());
|
ResponObject responObject = getPractiseInfo.StartPractise(startMode.practiseId, userData.id, DateTime.Now.ToString());
|
||||||
if(responObject.code=="200")
|
if(responObject.code=="0")
|
||||||
{
|
{
|
||||||
string data = responObject.data.ToString();
|
string data = responObject.data.ToString();
|
||||||
Debug.Log("返回" + data);
|
Debug.Log("开始练习:" + data);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -117,11 +134,22 @@ public class MyManage : MonoBehaviour
|
||||||
/// <param name="practiseId"></param>
|
/// <param name="practiseId"></param>
|
||||||
/// <param name="userId"></param>
|
/// <param name="userId"></param>
|
||||||
/// <param name="answerList"></param>
|
/// <param name="answerList"></param>
|
||||||
public void GetUploadPracticeAnswer(List<SGAnswer> answerList)
|
public void GetUploadPracticeAnswer()
|
||||||
{
|
{
|
||||||
|
RuralPowerAPI ruralPowerAPI=new RuralPowerAPI();
|
||||||
|
var answers=ruralPowerAPI.GetAnswer(ScenesRecorder.user.ExamId, ScenesRecorder.user.user_id, startMode.teachplanId);
|
||||||
|
|
||||||
HttpPractiseService getPractiseInfo = new HttpPractiseService();
|
HttpPractiseService getPractiseInfo = new HttpPractiseService();
|
||||||
ResponObject responObject = getPractiseInfo.UploadAnswer(startMode.practiseId, userData.id, answerList);
|
ResponObject responObject = getPractiseInfo.UploadAnswer(startMode.practiseId, userData.id, answers);
|
||||||
|
if (responObject.code == "0")
|
||||||
|
{
|
||||||
string data = responObject.data.ToString();
|
string data = responObject.data.ToString();
|
||||||
|
Debug.Log("提交练习" + data);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.LogError(responObject.msg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -134,7 +162,15 @@ public class MyManage : MonoBehaviour
|
||||||
{
|
{
|
||||||
HttpPractiseService getPractiseInfo = new HttpPractiseService();
|
HttpPractiseService getPractiseInfo = new HttpPractiseService();
|
||||||
ResponObject responObject = getPractiseInfo.EndPractise(startMode.practiseId, userData.id, DateTime.Now.ToString());
|
ResponObject responObject = getPractiseInfo.EndPractise(startMode.practiseId, userData.id, DateTime.Now.ToString());
|
||||||
|
if (responObject.code == "0")
|
||||||
|
{
|
||||||
|
string data = responObject.data.ToString();
|
||||||
|
Debug.Log("结束练习:" + data);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.LogError(responObject.msg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -146,8 +182,15 @@ public class MyManage : MonoBehaviour
|
||||||
{
|
{
|
||||||
HttpExamService getPractiseInfo = new HttpExamService();
|
HttpExamService getPractiseInfo = new HttpExamService();
|
||||||
ResponObject responObject = getPractiseInfo.StartExam(startMode.examId, userData.id);
|
ResponObject responObject = getPractiseInfo.StartExam(startMode.examId, userData.id);
|
||||||
|
if (responObject.code == "0")
|
||||||
|
{
|
||||||
string data = responObject.data.ToString();
|
string data = responObject.data.ToString();
|
||||||
Debug.Log("开始考试" + data);
|
Debug.Log("开始考试:" + data);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.LogError(responObject.msg);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -157,12 +200,22 @@ public class MyManage : MonoBehaviour
|
||||||
/// <param name="examInfoId"></param>
|
/// <param name="examInfoId"></param>
|
||||||
/// <param name="userId"></param>
|
/// <param name="userId"></param>
|
||||||
/// <param name="answerList"></param>
|
/// <param name="answerList"></param>
|
||||||
public void GetUploadExamAnswer(List<SGAnswer> answerList)
|
public void GetUploadExamAnswer()
|
||||||
{
|
{
|
||||||
|
RuralPowerAPI ruralPowerAPI = new RuralPowerAPI();
|
||||||
|
var answers = ruralPowerAPI.GetAnswer(ScenesRecorder.user.ExamId, ScenesRecorder.user.user_id, startMode.teachplanId);
|
||||||
|
|
||||||
HttpExamService getPractiseInfo = new HttpExamService();
|
HttpExamService getPractiseInfo = new HttpExamService();
|
||||||
ResponObject responObject = getPractiseInfo.UploadAnswer(startMode.examId, userData.id, answerList);
|
ResponObject responObject = getPractiseInfo.UploadAnswer(startMode.examId, userData.id, answers);
|
||||||
|
if (responObject.code == "0")
|
||||||
|
{
|
||||||
string data = responObject.data.ToString();
|
string data = responObject.data.ToString();
|
||||||
Debug.Log("提交答题数据" + data);
|
Debug.Log("提交考试:" + data);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.LogError(responObject.msg);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -175,8 +228,15 @@ public class MyManage : MonoBehaviour
|
||||||
{
|
{
|
||||||
HttpExamService getPractiseInfo = new HttpExamService();
|
HttpExamService getPractiseInfo = new HttpExamService();
|
||||||
ResponObject responObject = getPractiseInfo.EndExam(startMode.examId, userData.id);
|
ResponObject responObject = getPractiseInfo.EndExam(startMode.examId, userData.id);
|
||||||
|
if (responObject.code == "0")
|
||||||
|
{
|
||||||
string data = responObject.data.ToString();
|
string data = responObject.data.ToString();
|
||||||
Debug.Log("结束考试" + data);
|
Debug.Log("结束考试:" + data);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.LogError(responObject.msg);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,7 +66,7 @@ public class DataHandler : MonoBehaviour
|
||||||
{
|
{
|
||||||
Debug.Log("Load online data!");
|
Debug.Log("Load online data!");
|
||||||
RuralPowerAPI rpa = new RuralPowerAPI();
|
RuralPowerAPI rpa = new RuralPowerAPI();
|
||||||
var result = rpa.GetExam(_ip,ScenesRecorder.user.user_id);
|
var result = rpa.GetExam(_ip,ScenesRecorder.user.user_id,MyManage.instance.startMode.teachplanId.ToString(),Application.streamingAssetsPath+ "/zy");
|
||||||
InitData(result);
|
InitData(result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -137,7 +137,43 @@ public class Request
|
||||||
string result = api.EndFaultOperation(url, ExamId, UserId);
|
string result = api.EndFaultOperation(url, ExamId, UserId);
|
||||||
Debug.Log("结束故障记录:" + result);
|
Debug.Log("结束故障记录:" + result);
|
||||||
}
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 发送选择了什么工器具
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="toolDict"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static bool SendToolsData(List<api_tool_data_request> toolDict)
|
||||||
|
{
|
||||||
|
//foreach (var item in toolDict)
|
||||||
|
//{
|
||||||
|
// //Debug.Log("上传工具数据:" + item.ToolName + " " + item.Quantity);
|
||||||
|
//}
|
||||||
|
add_user_tool_request data = new add_user_tool_request();
|
||||||
|
data.UserId = ScenesRecorder.user.user_id;
|
||||||
|
data.ExamId = ScenesRecorder.user.ExamId;
|
||||||
|
if (ScenesRecorder.OperationPhase.Equals(OperationPhase.On_SiteInspection))
|
||||||
|
{
|
||||||
|
data.Purpose = "巡线";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
data.Purpose = "排故";
|
||||||
|
}
|
||||||
|
data.Tool = toolDict;
|
||||||
|
// 发送
|
||||||
|
string url = ScenesRecorder._Ip;
|
||||||
|
string content = JsonConvert.SerializeObject(data);
|
||||||
|
Debug.Log(content);
|
||||||
|
string result = api.AddUserTool(url, content);
|
||||||
|
if (string.IsNullOrEmpty(result))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 上传操作票选择结果
|
/// 上传操作票选择结果
|
||||||
|
|
|
@ -189,9 +189,14 @@ public class ScenesRecorder : MonoBehaviour
|
||||||
{
|
{
|
||||||
Debug.Log("Load offline data!");
|
Debug.Log("Load offline data!");
|
||||||
IsInit = true;
|
IsInit = true;
|
||||||
//RuralPowerAPI rpa = new RuralPowerAPI();
|
RuralPowerAPI rpa = new RuralPowerAPI();
|
||||||
//// »ñÈ¡¿¼ÊÔ
|
// »ñÈ¡¿¼ÊÔ
|
||||||
//var result = rpa.GetExam(_ip, ScenesRecorder.user.user_id);
|
var resultstart = rpa.GetExam(_ip, ScenesRecorder.user.user_id,MyManage.instance.startMode.teachplanId.ToString(), Application.streamingAssetsPath + "/zy");
|
||||||
|
if (JObject.Parse(resultstart)["code"].ToObject<int>()!=0)
|
||||||
|
{
|
||||||
|
Debug.LogError("GetExamʧ°Ü");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
string contentPath = "yz/exam"; //Application.streamingAssetsPath + "/yz/exam";//1_user.txt";
|
string contentPath = "yz/exam"; //Application.streamingAssetsPath + "/yz/exam";//1_user.txt";
|
||||||
//string contentPath = //Application.streamingAssetsPath + "/yz/exam";//1_user.txt";
|
//string contentPath = //Application.streamingAssetsPath + "/yz/exam";//1_user.txt";
|
||||||
|
@ -289,6 +294,10 @@ public class ScenesRecorder : MonoBehaviour
|
||||||
|
|
||||||
|
|
||||||
//改用新开始训练
|
//改用新开始训练
|
||||||
|
|
||||||
|
string startExamMsg = rpa.StartExam(_Ip, user.ExamId, user.user_id);
|
||||||
|
if (JObject.Parse(startExamMsg)["code"].ToObject<int>()==0)
|
||||||
|
{
|
||||||
if (MyManage.instance.playModeEnum == PlayModeEnum.练习)
|
if (MyManage.instance.playModeEnum == PlayModeEnum.练习)
|
||||||
{
|
{
|
||||||
MyManage.instance.GetStartPractise();
|
MyManage.instance.GetStartPractise();
|
||||||
|
@ -297,9 +306,12 @@ public class ScenesRecorder : MonoBehaviour
|
||||||
{
|
{
|
||||||
MyManage.instance.GetStartExam();
|
MyManage.instance.GetStartExam();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.LogError("StartExamʧ°Ü");
|
||||||
|
}
|
||||||
|
|
||||||
//string startExamMsg = rpa.StartExam(_Ip, user.ExamId, user.user_id);
|
|
||||||
//Debug.Log(startExamMsg);
|
|
||||||
//if (string.IsNullOrEmpty(startExamMsg))
|
//if (string.IsNullOrEmpty(startExamMsg))
|
||||||
//{
|
//{
|
||||||
// XFrame.Core.UI.XUIPanel.ShowPanel<TipPanel>("连接服务器失败");
|
// XFrame.Core.UI.XUIPanel.ShowPanel<TipPanel>("连接服务器失败");
|
||||||
|
|
|
@ -65,7 +65,7 @@ public class UIScore : MonoBehaviour
|
||||||
{
|
{
|
||||||
toolDict = PackagePanel.instacne.GetToolsInPackage();
|
toolDict = PackagePanel.instacne.GetToolsInPackage();
|
||||||
}
|
}
|
||||||
//bool result = Request.SendToolsData(toolDict);
|
bool result = Request.SendToolsData(toolDict);
|
||||||
if (ScenesRecorder.OperationPhase.Equals(OperationPhase.On_SiteInspection))
|
if (ScenesRecorder.OperationPhase.Equals(OperationPhase.On_SiteInspection))
|
||||||
{
|
{
|
||||||
ExamDataPanel.instance.SetExamProcess("µÍѹÏß·ѲÊÓ");
|
ExamDataPanel.instance.SetExamProcess("µÍѹÏß·ѲÊÓ");
|
||||||
|
|