| | |
| | | _materielInfoService = materielInfoService; |
| | | } |
| | | //æ¯é1ç§æ§è¡ä¸æ¬¡ |
| | | [Invoke(Begin = "2025-11-01", Interval = 1000 * 5, IsEnabled = true, SkipWhileExecuting = true)] |
| | | [Invoke(Begin = "2025-11-01", Interval = 1000 * 5, IsEnabled = false, SkipWhileExecuting = true)] |
| | | public void Run() |
| | | { |
| | | Thread.Sleep(3000); |
| | | //è·å䏿¸¸åºåºåæ°æ® |
| | | _materielInfoService.ProductSynchronous(); |
| | | _business.EdiIn(); |
| | | _business.EdiOut(); |
| | | Console.WriteLine($"WCS任塿§è¡ç»æï¼{DateTime.Now}"); |
| | | //Thread.Sleep(3000); |
| | | ////è·å䏿¸¸åºåºåæ°æ® |
| | | //_materielInfoService.ProductSynchronous(); |
| | | //_business.EdiIn(); |
| | | //_business.EdiOut(); |
| | | //Console.WriteLine($"WCS任塿§è¡ç»æï¼{DateTime.Now}"); |
| | | } |
| | | } |
| | | } |