iscs pscada 一次图 repository
This commit is contained in:
parent
2b72e6475f
commit
d796011823
@ -10,7 +10,7 @@ func LoadIscs(w ecs.World) error {
|
||||
data := GetWorldData(w)
|
||||
//电力母线实体
|
||||
for _, pipe := range data.Repo.PipeMap {
|
||||
switch pipe.Type {
|
||||
switch pipe.PipeType {
|
||||
case proto.Pipe_ElectricPower:
|
||||
NewPowerPipeEntity(w, pipe.Id())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user