예제 #1
0
        /// <summary>
        /// 发¤?é送¨a余?¨¤位?信?息?é
        /// </summary>
        public void ShowMoreThanInfo(ProcessRecord recordInfo)
        {
            LogHelper.Log.Info("发¤?é送¨a余?¨¤位?显?示o?屏¨¢命¨1令¢?:" + System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
            var           TempLate     = EngineContext.Current.Resolve <IPBA_VOICE_TEMPLATE>();
            List <string> strArr       = new List <string>();
            var           childrenList = CommHelper.GetOrgInfos(recordInfo.CHN_CODE).Where(x => x.productLine == enumProductLine.DisplayScreen).ToList();

            childrenList = CommHelper.GetOrgInfos(recordInfo.INOUT_RECODE.IN_CHANNEL_CODE).Where(x => x.productLine == enumProductLine.DisplayScreen).ToList();
            foreach (var temp in childrenList)
            {
                foreach (var info in temp.LedInfos.OrderBy(x => x.serialNo))
                {
                    StringBuilder strSB          = new StringBuilder();
                    string[]      strArrSerialNo = info.displayContent.Split(',');
                    if (!string.IsNullOrEmpty(info.displayContent))
                    {
                        foreach (string s in strArrSerialNo)
                        {
                            int SeriNo = Convert.ToInt32(s);
                            if (SeriNo == 9)
                            {
                                var strTemp = TempLate.GetModelByType((int)enumTemplateType.MODEL_TYPE_DISPLAY, SeriNo);
                                if (null != strTemp)
                                {
                                    strSB.Append(CommHelper.LedContent(strTemp.CUSTOM_MODEL, recordInfo, SeriNo));
                                }
                            }
                        }
                        strArr.Add(strSB.ToString());
                        Parking.Core.Common.CommHelper.ShowLED(temp, strArr.ToArray(), info);
                        strArr.Clear();
                    }
                }
            }
        }