1101下午
This commit is contained in:
parent
0e0871f1eb
commit
78f349495d
|
|
@ -77,6 +77,12 @@ public class Device_Control_6001 : Device_Control
|
||||||
public DeviceTrigger door_seal_trigger;
|
public DeviceTrigger door_seal_trigger;
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
private void Start()
|
||||||
|
{
|
||||||
|
Init();
|
||||||
|
base.hasInit = true;
|
||||||
|
}
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
//设置控制脚本
|
//设置控制脚本
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ public class Score_6001 : ScoreBase
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 现场场景中的特殊物体控制
|
/// 现场场景中的特殊物体控制
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private Device_Control_6001 device_Control;
|
private new Device_Control_6001 device_Control;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 初始化,有配置用配置的分数,没有使用默认的分数
|
/// 初始化,有配置用配置的分数,没有使用默认的分数
|
||||||
|
|
@ -77,6 +77,7 @@ public class Score_6001 : ScoreBase
|
||||||
|
|
||||||
public override void SetDeviceControl(Device_Control device_Control)
|
public override void SetDeviceControl(Device_Control device_Control)
|
||||||
{
|
{
|
||||||
|
base.SetDeviceControl(device_Control);
|
||||||
this.device_Control = (Device_Control_6001)device_Control;
|
this.device_Control = (Device_Control_6001)device_Control;
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,39 @@
|
||||||
{
|
{
|
||||||
"FaultDevice": "",
|
"FaultDevice": "电能表",
|
||||||
"dataFaultType": [ ]
|
"FaultDeviceShow": false,
|
||||||
|
"FaultTypeShow": false,
|
||||||
|
"FaultSituationL1Show": false,
|
||||||
|
"FaultSituationL2Show": true,
|
||||||
|
"dataFaultType": [
|
||||||
|
{
|
||||||
|
"name": "111",
|
||||||
|
"dataFaultSituationL1": [
|
||||||
|
{
|
||||||
|
"name": "2222",
|
||||||
|
"dataFaultSituationL2": [
|
||||||
|
{
|
||||||
|
"L2name": "异常采样",
|
||||||
|
"L2Limitation": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"L2name": "计量异常",
|
||||||
|
"L2Limitation": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"L2name": "窃电",
|
||||||
|
"L2Limitation": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"L2name": "技术线损",
|
||||||
|
"L2Limitation": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"L2name": "档案异常",
|
||||||
|
"L2Limitation": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue