Esempio n. 1
0
        public static void RegisterCline(ClineInfo cline, MQInfo mqInfo)
        {
            if (clineInfos.Any(x => x.ClineID == cline.ClineID) == false)
            {
                clineInfos.Add(cline);
            }
            string key = cline.ClineID + "&" + cline.ClineType + "&" + mqInfo.HostID;

            if (mapClineMapInfo.ContainsKey(key))
            {
                return;
            }
            var clineMapInfo = new ClineMapInfo()
            {
                MQID = mqInfo.MQID, ClineID = cline.ClineID, ClineType = cline.ClineType, MapStatus = 1
            };

            mapClineMapInfo.TryAdd(key, clineMapInfo);
        }
Esempio n. 2
0
 public static void CancellationCline(ClineInfo cline, MQInfo mqInfo)
 {
 }