Ejemplo n.º 1
0
 public static IList<PS_XLSec> GetXLSecList(string strXLSec)
 {
     IList<PS_XLSec> secList = new List<PS_XLSec>();
     if (!string.IsNullOrEmpty(strXLSec))
     {
         IList<string> strList = strXLSec.Split(charSplit1);
         foreach (string str in strList)
         {
             string[] element = str.Split(charSplit2);
             if (element.Length>=4)
             {
                 PS_XLSec xlSec = new PS_XLSec();
                 xlSec.ID = element[0];
                 xlSec.StartGT = element[1];
                 xlSec.EndGT = element[2];
                 xlSec.LineType = element[3];
                 secList.Add(xlSec);
             }
         }
     }     
     return secList;
 }
Ejemplo n.º 2
0
        /// <summary>
        /// 新建对象设置Key值
        /// </summary>
        /// <param name="newobj"></param>
        void gridViewOperation_CreatingObjectEvent(PS_XLSec newobj)
        {
            if (parentID == null) return;

        }