From 32af8313acebfa00f803f7bac953649ee8a290c6 Mon Sep 17 00:00:00 2001 From: "LAPTOP-NLSJV9RB\\91647" <916477576@qq.com> Date: Thu, 7 Mar 2024 14:13:28 +0800 Subject: [PATCH] -- --- src/Khd.Core.Wcs/MainCentralControl.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Khd.Core.Wcs/MainCentralControl.cs b/src/Khd.Core.Wcs/MainCentralControl.cs index e443e72..887c9af 100644 --- a/src/Khd.Core.Wcs/MainCentralControl.cs +++ b/src/Khd.Core.Wcs/MainCentralControl.cs @@ -33,14 +33,14 @@ namespace Khd.Core.Wcs { try { - for (int i = 0; i < 20; i++) - { + //for (int i = 0; i < 20; i++) + //{ - var d = new SnowflakeIdGenerator(1,2); - long ww = d.GenerateId(); - Console.WriteLine(ww); - Thread.Sleep(10); - } + // var d = new SnowflakeIdGenerator(1,2); + // long ww = d.GenerateId(); + // Console.WriteLine(ww); + // Thread.Sleep(10); + //} using (var scope = _host.Services.CreateScope()) { using (var dbContext = scope.ServiceProvider.GetRequiredService())