public FilterEntity(decimal orderNo, string paramLabel, string paramName, EnumDataType dataType, EnumControlType control)
 {
     OrderNo     = orderNo;
     ParamName   = paramName;
     ParamLabel  = paramLabel;
     DataType    = dataType;
     ControlType = control;
 }
Example #2
0
 /// <summary>
 /// 根据控件类型获取控件属性值的设置属性
 /// </summary>
 /// <param name="controlType"></param>
 /// <returns></returns>
 public static string GetControlPropertyValueSetProperty(EnumControlType controlType)
 {
     string strReturnValue = string.Empty;
     switch (controlType)
     {
         case EnumControlType.FIDropDownList:
         case EnumControlType.FIEditableDropDownList:
         case EnumControlType.FIEditableDropDownListEx:
             strReturnValue = "SelectedValue";
             break;
         default:
             strReturnValue = "Text";
             break;
     }
     return strReturnValue;
 }