Exemple #1
0
 /// <summary>
 /// 添加非输入参数
 /// </summary>
 /// <param name="ParamName">参数名</param>
 /// <param name="pDirection">参数方向</param>
 public void addParam(string ParamName, ParamDirection pDirection)
 {
     ParamObj myParam = new ParamObj(null, pDirection);
     m_Param[ParamName] = myParam;
 }
Exemple #2
0
            /// <summary>
            /// 参数索引器
            /// </summary>
            public object this[string ParamName]
            {
                get
                {
                    return ((ParamObj)m_Param[ParamName]).PValue;
                }
                set
                {
                    ParamObj myParam = new ParamObj(value, ParamDirection.Input);
                    if (value != null)
                    {
                        m_Param[ParamName] = myParam;
                    }

                }
            }