Browse Source

修改生成的模型信息表

wangxi 1 year ago
parent
commit
92c3a11956
2 changed files with 210 additions and 210 deletions
  1. 18 18
      Assets/Scripts/UI/OutLineController.cs
  2. 192 192
      Assets/StreamingAssets/model.csv

+ 18 - 18
Assets/Scripts/UI/OutLineController.cs

@@ -57,8 +57,8 @@ public class OutLineController : MonoBehaviour
         }
         foreach (var sw in SwitchSObjs)
         {
-            datas.Add(sw.GetInstanceID().ToString());
-            datas.Add(sw.name);
+            datas.Add(sw.transform.GetInstanceID().ToString());
+            datas.Add(sw.transform.name);
         }
         foreach (var traction in TractionObjs)
         {
@@ -70,8 +70,8 @@ public class OutLineController : MonoBehaviour
                 if (tr.gameObject.GetComponent<Outline>())
                     tr.gameObject.GetComponent<Outline>().eraseRenderer = true;
             }
-            datas.Add(traction.GetInstanceID().ToString());
-            datas.Add(traction.name);
+            datas.Add(traction.transform.GetInstanceID().ToString());
+            datas.Add(traction.transform.name);
         }
 
         foreach (var door in DoorObjs)
@@ -84,8 +84,8 @@ public class OutLineController : MonoBehaviour
                 if (dr.gameObject.GetComponent<Outline>())
                     dr.gameObject.GetComponent<Outline>().eraseRenderer = true;
             }
-            datas.Add(door.GetInstanceID().ToString());
-            datas.Add(door.name);
+            datas.Add(door.transform.GetInstanceID().ToString());
+            datas.Add(door.transform.name);
         }
         foreach (var door in MeteoroObjs)
         {
@@ -97,8 +97,8 @@ public class OutLineController : MonoBehaviour
                 if (dr.gameObject.GetComponent<Outline>())
                     dr.gameObject.GetComponent<Outline>().eraseRenderer = true;
             }
-            datas.Add(door.GetInstanceID().ToString());
-            datas.Add(door.name);
+            datas.Add(door.transform.GetInstanceID().ToString());
+            datas.Add(door.transform.name);
         }
         foreach (var yh in YHs)
         {
@@ -110,8 +110,8 @@ public class OutLineController : MonoBehaviour
                 if (dr.gameObject.GetComponent<Outline>())
                     dr.gameObject.GetComponent<Outline>().eraseRenderer = true;
             }
-            datas.Add(yh.GetInstanceID().ToString());
-            datas.Add(yh.name);
+            datas.Add(yh.transform.GetInstanceID().ToString());
+            datas.Add(yh.transform.name);
         }
         foreach (var lh in LHs)
         {
@@ -123,8 +123,8 @@ public class OutLineController : MonoBehaviour
                 if (dr.gameObject.GetComponent<Outline>())
                     dr.gameObject.GetComponent<Outline>().eraseRenderer = true;
             }
-            datas.Add(lh.GetInstanceID().ToString());
-            datas.Add(lh.name);
+            datas.Add(lh.transform.GetInstanceID().ToString());
+            datas.Add(lh.transform.name);
         }
         foreach (var dl in DLs)
         {
@@ -136,8 +136,8 @@ public class OutLineController : MonoBehaviour
                 if (dr.gameObject.GetComponent<Outline>())
                     dr.gameObject.GetComponent<Outline>().eraseRenderer = true;
             }
-            datas.Add(dl.GetInstanceID().ToString());
-            datas.Add(dl.name);
+            datas.Add(dl.transform.GetInstanceID().ToString());
+            datas.Add(dl.transform.name);
         }
         foreach (var cab in Cabinets)
         {
@@ -149,8 +149,8 @@ public class OutLineController : MonoBehaviour
                 if (dr.gameObject.GetComponent<Outline>())
                     dr.gameObject.GetComponent<Outline>().eraseRenderer = true;
             }
-            datas.Add(cab.GetInstanceID().ToString());
-            datas.Add(cab.name);
+            datas.Add(cab.transform.GetInstanceID().ToString());
+            datas.Add(cab.transform.name);
         }
         foreach (var vos in VideoObjs)
         {
@@ -162,8 +162,8 @@ public class OutLineController : MonoBehaviour
                 if (v.gameObject.GetComponent<Outline>())
                     v.gameObject.GetComponent<Outline>().eraseRenderer = true;
             }
-            datas.Add(vos.GetInstanceID().ToString());
-            datas.Add(vos.name);
+            datas.Add(vos.transform.GetInstanceID().ToString());
+            datas.Add(vos.transform.name);
         }
     }
     public static void save()

+ 192 - 192
Assets/StreamingAssets/model.csv

@@ -1,193 +1,193 @@
 ID,name
-1130346,2111
-1083766,2201
-1080348,2191
-1080242,2181
-1080614,2171
-1084980,2161
-1073098,2151
-1079732,2131
-1077362,1121
-1077672,1122
-1073632,1516
-1083184,1526
-1074498,119
-1074342,129
-1077296,1011
-1080478,1021
-1083610,110kv变压器1
-1084072,110kv变压器2
-1124674,自用变压器
-1127210,二楼值班室门1
-1205088,二楼值班室门2
-1210988,二楼值班室门3
-1224634,电容室外门
-1072320,高压室外门
-1177500,主控室门1
-1109534,电容室门
-1176092,主控室门2
-1100136,大门
-1174536,楼梯间门
-1100702,安全用具室门1
-1172814,安全用具室门2
-1206480,卫生间门
-1146204,安全用具室门3
-1122568,主控楼大门
-1231842,主控楼中间门1
-1138620,主控楼中间门2
-1099956,主控楼中间门3
-1091578,高压室门
-1136588,气象杆
-1076118,LVB_220w 电压互感器1
-1072950,LVB_220w 电压互感器2
-1083666,110KV电流互感器1
-1145062,110KV电流互感器2
-1173648,大功率断路器
-1201350,大功率断路器 1
-1172610,视频监控屏
-1209976,1号辅助监控屏
-1209676,2号辅助监控屏
-1091300,监控屏
-1179592,网络报文记录分析屏
-1127428,1号主变保护测控屏
-1106910,2号主变保护测控屏
-1194888,站域保护测控屏
-1166690,在线油色谱屏
-1125522,小型测控屏
-1176622,交流屏1号
-1176170,交流屏2号
-1225940,高频开关直流电源屏1号
-1197384,高频开关直流电源屏2号
-1180672,畜电池屏1号
-1212176,畜电池屏2号
-1176906,计量屏
-1204918,通信屏1号
-1126164,通信屏2号
-1176860,通信屏3号
-1196492,II#PT柜10G23
-1145570,1#PT柜—10G110
-1164300,II#计量柜-10G22
-1139474,II#进线开关柜-10G21
-1202514,万南至河西第一线柜—10G113
-1122390,万南至达旗第一线柜—10G112
-1113544,南昌支线出线柜-10G27
-1125910,所用柜-10G24
-1133958,母线隔离柜—10G111
-1220080,电容器二出线柜-10G28
-1107916,联络柜-10G25
-1195972,调度楼二出线柜-10G26
-1213662,I#PT柜—10G13
-1210216,I#计量柜—10G12
-1148922,I#进线开关柜—10G11
-1170768,电容器出线柜—10G18
-1129666,调度楼出线柜—10G15
-1095924,调压变压器出线柜—10G19
-1121776,隔离柜—10G14
-1159580,隔离柜—10G20
-1113270,南场直线出线柜2—10G16
-1153622,万南机务出线柜—10G17
-1149286,断路器柜带基础 1
-1163300,断路器柜带基础 2
-1221026,断路器柜带基础 3
-1105312,断路器柜带基础 4
-1151840,断路器柜带基础 5
-1109464,断路器柜带基础 6
-1121028,断路器柜带基础 7
-1123426,断路器柜带基础 8
-1218564,断路器柜带基础 9
-1101588,断路器柜带基础 10
-1157200,断路器柜带基础 11
-1227092,断路器柜带基础 12
-1208382,断路器柜带基础 13
-1170576,断路器柜带基础 14
-1100558,断路器柜带基础 15
-1110504,断路器柜带基础 16
-1180264,断路器柜带基础 17
-1091636,断路器柜带基础 18
-1221306,断路器柜带基础 19
-1173162,智能进线柜
-1200980,智能进线柜1
-1134428,视频网络供电柜
-1191998,视频网络供电柜1
-1210458,断路器端子箱
-1188516,断路器端子箱1
-1136566,断路器端子箱2
-1193648,牵引变智能柜
-1086354,牵引变智能柜1
-1230228,高级配电箱
-1230058,1#油色谱
-1202838,2#油色谱
-1084502,变压器油温枪机1
-1131426,变压器油温枪机2
-1100562,周围墙界枪机1
-1072028,周围墙界枪机2
-1174346,周围墙界枪机3
-1085546,周围墙界枪机4
-1077522,变电所大门枪机
-1096856,主控楼顶枪机
-1180726,进线区北侧双球相机1 1
-1160148,进线区北侧双球相机1 2
-1081576,进线区北侧双球相机2 1
-1084936,进线区北侧双球相机2 2
-1176712,进线区南侧双球相机1 1
-1165492,进线区南侧双球相机1 2
-1115190,进线区南侧双球相机2 1
-1099894,进线区南侧双球相机2 2
-1085002,馈线区半球式摄像头1
-1078148,馈线区半球式摄像头2
-1072790,进线区半球式摄像头1
-1125980,主控楼顶球机
-1080164,主变区球机1
-1074038,主变区球机2
-1073866,主变区球机3
-1084152,主变区球机4
-1143078,馈线区球机1
-1080426,馈线区球机2
-1078980,馈线区球机3
-1080628,馈线区球机4
-1072714,馈线区球机5
-1082226,馈线区球机6
-1075186,馈线区球机7
-1178362,电容室球机1
-1074464,电容室球机2
-1084028,电容室球机3
-1073390,电容室球机4
-1135084,10Kv高压室球机1
-1083632,10Kv高压室球机2
-1082606,10Kv高压室球机3
-1078758,10Kv高压室球机4
-1122514,27.5Kv高压室球机1
-1083560,27.5Kv高压室球机2
-1080776,27.5Kv高压室球机3
-1079122,27.5Kv高压室球机4
-1076290,27.5Kv高压室球机5
-1083450,27.5Kv高压室球机6
-1075410,27.5Kv高压室球机7
-1076056,27.5Kv高压室球机8
-1078554,27.5Kv高压室球机9
-1080448,27.5Kv高压室球机10
-1174406,控制室球机1
-1077896,控制室球机2
-1079452,控制室球机3
-1084488,进线区1避雷器A枪机
-1072244,进线区1避雷器B枪机
-1081772,进线区1避雷器C枪机
-1084722,进线区2避雷器A枪机
-1080110,进线区2避雷器B枪机
-1076330,进线区2避雷器C枪机
-1082296,主变区1避雷器枪机1
-1085060,主变区1避雷器枪机2
-1083834,主变区2避雷器枪机1
-1075150,主变区2避雷器枪机2
-1072872,馈线区避雷器枪机1
-1078866,馈线区避雷器枪机2
-1078262,馈线区避雷器枪机3
-1083554,馈线区避雷器枪机4
-1075294,馈线区避雷器枪机5
-1077576,馈线区避雷器枪机6
-1072178,馈线区避雷器枪机7
-1084540,馈线区避雷器枪机8
-1076558,进线区1断路器枪机
-1083488,进线区1断路器压力表枪机
-1076784,进线区2断路器枪机
-1083348,进线区2断路器压力表枪机
+1233926,2111
+1193194,2201
+1189786,2191
+1189680,2181
+1190052,2171
+1194402,2161
+1182520,2151
+1189170,2131
+1186802,1121
+1187102,1122
+1183046,1516
+1192612,1526
+1183928,119
+1183772,129
+1186736,1011
+1189916,1021
+1193038,110kv变压器1
+1193500,110kv变压器2
+1201844,自用变压器
+1271698,二楼值班室门1
+1341390,二楼值班室门2
+1250650,二楼值班室门3
+1278256,电容室外门
+1181742,高压室外门
+1230816,主控室门1
+1226106,电容室门
+1312674,主控室门2
+1201650,大门
+1251600,楼梯间门
+1213082,安全用具室门1
+1246926,安全用具室门2
+1218984,卫生间门
+1258072,安全用具室门3
+1280482,主控楼大门
+1264108,主控楼中间门1
+1276320,主控楼中间门2
+1324152,主控楼中间门3
+1296758,高压室门
+1203858,气象杆
+1185574,LVB_220w 电压互感器1
+1182372,LVB_220w 电压互感器2
+1193094,110KV电流互感器1
+1268706,110KV电流互感器2
+1241202,大功率断路器
+1340230,大功率断路器 1
+1275274,视频监控屏
+1258660,1号辅助监控屏
+1290938,2号辅助监控屏
+1249382,监控屏
+1209198,网络报文记录分析屏
+1322026,1号主变保护测控屏
+1230680,2号主变保护测控屏
+1227548,站域保护测控屏
+1210688,在线油色谱屏
+1280112,小型测控屏
+1266240,交流屏1号
+1302268,交流屏2号
+1237058,高频开关直流电源屏1号
+1285334,高频开关直流电源屏2号
+1255522,畜电池屏1号
+1237890,畜电池屏2号
+1250060,计量屏
+1324954,通信屏1号
+1336576,通信屏2号
+1227136,通信屏3号
+1243194,II#PT柜10G23
+1324690,1#PT柜—10G110
+1297104,II#计量柜-10G22
+1197662,II#进线开关柜-10G21
+1238016,万南至河西第一线柜—10G113
+1205250,万南至达旗第一线柜—10G112
+1315672,南昌支线出线柜-10G27
+1303582,所用柜-10G24
+1245144,母线隔离柜—10G111
+1249236,电容器二出线柜-10G28
+1204560,联络柜-10G25
+1317012,调度楼二出线柜-10G26
+1199422,I#PT柜—10G13
+1228638,I#计量柜—10G12
+1329812,I#进线开关柜—10G11
+1277520,电容器出线柜—10G18
+1224072,调度楼出线柜—10G15
+1262860,调压变压器出线柜—10G19
+1219598,隔离柜—10G14
+1266774,隔离柜—10G20
+1330784,南场直线出线柜2—10G16
+1276832,万南机务出线柜—10G17
+1248226,断路器柜带基础 1
+1234520,断路器柜带基础 2
+1337000,断路器柜带基础 3
+1217006,断路器柜带基础 4
+1288512,断路器柜带基础 5
+1258512,断路器柜带基础 6
+1308818,断路器柜带基础 7
+1295046,断路器柜带基础 8
+1230582,断路器柜带基础 9
+1322464,断路器柜带基础 10
+1226836,断路器柜带基础 11
+1276590,断路器柜带基础 12
+1277066,断路器柜带基础 13
+1251526,断路器柜带基础 14
+1226034,断路器柜带基础 15
+1307626,断路器柜带基础 16
+1229234,断路器柜带基础 17
+1335254,断路器柜带基础 18
+1277444,断路器柜带基础 19
+1317830,智能进线柜
+1210114,智能进线柜1
+1247854,视频网络供电柜
+1215472,视频网络供电柜1
+1290618,断路器端子箱
+1311090,断路器端子箱1
+1312992,断路器端子箱2
+1195182,牵引变智能柜
+1225572,牵引变智能柜1
+1280868,高级配电箱
+1282118,1#油色谱
+1252568,2#油色谱
+1193930,变压器油温枪机1
+1255754,变压器油温枪机2
+1202214,周围墙界枪机1
+1181450,周围墙界枪机2
+1271166,周围墙界枪机3
+1194968,周围墙界枪机4
+1186962,变电所大门枪机
+1196130,主控楼顶枪机
+1243896,进线区北侧双球相机1 1
+1205504,进线区北侧双球相机1 2
+1190996,进线区北侧双球相机2 1
+1194358,进线区北侧双球相机2 2
+1240206,进线区南侧双球相机1 1
+1209528,进线区南侧双球相机1 2
+1305362,进线区南侧双球相机2 1
+1274734,进线区南侧双球相机2 2
+1194424,馈线区半球式摄像头1
+1187580,馈线区半球式摄像头2
+1182212,进线区半球式摄像头1
+1248050,主控楼顶球机
+1189602,主变区球机1
+1183452,主变区球机2
+1183280,主变区球机3
+1193580,主变区球机4
+1257816,馈线区球机1
+1189864,馈线区球机2
+1188412,馈线区球机3
+1190066,馈线区球机4
+1182136,馈线区球机5
+1191646,馈线区球机6
+1184632,馈线区球机7
+1293972,电容室球机1
+1183894,电容室球机2
+1193456,电容室球机3
+1182804,电容室球机4
+1239140,10Kv高压室球机1
+1193060,10Kv高压室球机2
+1192026,10Kv高压室球机3
+1188190,10Kv高压室球机4
+1241670,27.5Kv高压室球机1
+1192988,27.5Kv高压室球机2
+1190214,27.5Kv高压室球机3
+1188554,27.5Kv高压室球机4
+1185746,27.5Kv高压室球机5
+1192878,27.5Kv高压室球机6
+1184856,27.5Kv高压室球机7
+1185512,27.5Kv高压室球机8
+1187986,27.5Kv高压室球机9
+1189886,27.5Kv高压室球机10
+1271140,控制室球机1
+1187326,控制室球机2
+1188890,控制室球机3
+1193916,进线区1避雷器A枪机
+1181666,进线区1避雷器B枪机
+1191192,进线区1避雷器C枪机
+1194144,进线区2避雷器A枪机
+1189548,进线区2避雷器B枪机
+1185786,进线区2避雷器C枪机
+1191716,主变区1避雷器枪机1
+1194482,主变区1避雷器枪机2
+1193262,主变区2避雷器枪机1
+1184596,主变区2避雷器枪机2
+1182294,馈线区避雷器枪机1
+1188298,馈线区避雷器枪机2
+1187694,馈线区避雷器枪机3
+1192982,馈线区避雷器枪机4
+1184740,馈线区避雷器枪机5
+1187016,馈线区避雷器枪机6
+1181600,馈线区避雷器枪机7
+1193968,馈线区避雷器枪机8
+1186014,进线区1断路器枪机
+1192916,进线区1断路器压力表枪机
+1186240,进线区2断路器枪机
+1192776,进线区2断路器压力表枪机