From f687aba4792e6acd4dcf8c4564fced1d80ac7949 Mon Sep 17 00:00:00 2001 From: xzb <223@qq.com> Date: Mon, 16 Oct 2023 14:57:44 +0800 Subject: [PATCH] =?UTF-8?q?sgianl=20=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/signal_2xh1/main.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/examples/signal_2xh1/main.go b/examples/signal_2xh1/main.go index a2cfa8f..9881e00 100644 --- a/examples/signal_2xh1/main.go +++ b/examples/signal_2xh1/main.go @@ -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})