| | |
| | | { |
| | | return Task.CompletedTask; |
| | | } |
| | | //string ip = "127.0.0.1"; |
| | | //int port = 502; |
| | | //string Region = "ååºæ¿1"; |
| | | //ModbusTcp modbusTcp = new ModbusTcp(ip, port, Region); |
| | | //modbusTcp.Connect(); |
| | | // Dictionary<int, int> Signal = new Dictionary<int, int>() { [10] = 2, [30] = 3, [50] = 4, [70] = 5 }; |
| | | // Dictionary<int, int> FeedingPoint = new Dictionary<int, int>() { [10] = 2001, [30] = 2002, [50] = 2003, [70] = 2004 }; // 嫿çç¹ä½ ç»ç¹ä½ç½® |
| | | |
| | | Baseconversion baseconversion = new Baseconversion(); |
| | | try |
| | |
| | | // æ¾å¯¹åºçé¶ä»¶å·æ¯å¦å·²ç»ç»å®(ç»ç) // è¿éè¦æ¹è¦å åºå å æ¯å¦å·²çæä»»å¡ è¿è¦æ ¹æ®æ¶é´æåº å
ç»å®çå
åè¿å» |
| | | Dt_MaterialInfo? dt_MaterialInfo = _IDt_MaterialInfoRepository.QueryData(x => x.MaterialName == Ku1_Value |
| | | && x.Region == ((int)StationEnum.Rearbaseplate1).ToString() |
| | | && (x.IsNotEmptyOrNull())).OrderBy(x => x.CreateDate).FirstOrDefault(); |
| | | && (x.EndPosition == null || x.EndPosition == "")).OrderBy(x => x.CreateDate).FirstOrDefault(); |
| | | |
| | | if (dt_MaterialInfo != null) |
| | | { |