sgianl 测试
This commit is contained in:
parent
1521868a88
commit
f687aba479
@ -9,7 +9,6 @@ import (
|
||||
"joylink.club/rtsssimulation/fi"
|
||||
"joylink.club/rtsssimulation/repository"
|
||||
"joylink.club/rtsssimulation/repository/model/proto"
|
||||
"log"
|
||||
"log/slog"
|
||||
"os"
|
||||
"time"
|
||||
@ -52,12 +51,6 @@ func main() {
|
||||
time.Sleep(3 * time.Second)
|
||||
sim.Close()
|
||||
}
|
||||
func worldLog(w ecs.World, logInfo string) {
|
||||
ecs.Request(w, func() any {
|
||||
log.Println(logInfo)
|
||||
return nil
|
||||
})
|
||||
}
|
||||
func addProtoSignal2XH1(r *proto.Repository) {
|
||||
//相关继电器
|
||||
r.Relays = append(r.Relays, &proto.Relay{Id: "2xh1-ddj", Code: consts.SIGNAL_DDJ, Model: proto.Relay_JWXC_1700})
|
||||
|
Loading…
Reference in New Issue
Block a user