基线 SVN r240

SVN-Revision: r240
This commit is contained in:
cyf
2025-02-06 06:46:06 +00:00
commit ab56a9bcf7
5317 changed files with 902274 additions and 0 deletions
@@ -0,0 +1,295 @@
/******************************
* 说明:控件对象
* 创建人:龚宇超
* 创建日期:2017-09-01
* 修改人:
* 修改日期:
* 修改备注:
* 版本:1.0.0.0
******************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
namespace Lskj.Control.Model
{
/// <summary>
/// 控件对象
/// </summary>
public class ControlModel
{
/// <summary>
/// 控件id
/// </summary>
public string id { get; set; }
/// <summary>
/// 是否为回车新增控件
/// </summary>
/// <value><c>true</c> if this instance is search control; otherwise, <c>false</c>.</value>
public bool IsAddControl { get; set; }
/// <summary>
/// 是否为查询条件创建控件
/// </summary>
/// <value><c>true</c> if this instance is search control; otherwise, <c>false</c>.</value>
public bool IsSearchControl { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is empty.
/// </summary>
/// <value><c>true</c> if this instance is empty; otherwise, <c>false</c>.</value>
public bool IsEmpty { get; set; }
/// <summary>
/// 获取是否是特殊int值.
/// </summary>
/// <value><c>true</c> if this instance is empty; otherwise, <c>false</c>.</value>
public bool Isintordecimal { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is save.
/// </summary>
/// <value><c>true</c> if this instance is save; otherwise, <c>false</c>.</value>
public bool IsSave { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is clear.
/// </summary>
/// <value><c>true</c> if this instance is clear; otherwise, <c>false</c>.</value>
public bool CanClear { get; set; }
/// <summary>
/// 是否显示****1:显示0.不显示
/// </summary>
/// <value><c>true</c> if this instance is visible; otherwise, <c>false</c>.</value>
public bool Visible { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is copy.
/// </summary>
/// <value><c>true</c> if this instance is copy; otherwise, <c>false</c>.</value>
public bool CanCopy { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is readonly. 只读
/// </summary>
/// <value><c>true</c> if this instance is read only; otherwise, <c>false</c>.</value>
public bool ReadOnly { get; set; }
/// <summary>
/// Gets or sets the type of the field.
/// </summary>
/// <value>The type of the field.</value>
public int FieldType { get; set; }
/// <summary>
/// 刷新来源
/// </summary>
public int IsRefreshSource { get; set; }
/// <summary>
/// Gets or sets the tip MSG.
/// </summary>
/// <value>The tip MSG.</value>
public string TipMsg { get; set; }
/// <summary>
/// Gets or sets the null text.
/// </summary>
/// <value>The null text.</value>
public string NullText { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>The name.</value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the name of the field.
/// </summary>
/// <value>The name of the field.</value>
public string FieldName { get; set; }
/// <summary>
/// Gets or sets the label text.
/// </summary>
/// <value>The label text.</value>
public string LabelText { get; set; }
/// <summary>
/// Gets or sets the field text.
/// </summary>
/// <value>The field text.</value>
public string Text { get; set; }
/// <summary>
/// Gets or sets the default value.
/// </summary>
/// <value>The default value.</value>
public string DefaultValue { get; set; }
/// <summary>
/// Gets or sets the default.
/// </summary>
/// <value>The default value.</value>
public string Default { get; set; }
/// <summary>
/// Gets or sets the data format.
/// </summary>
/// <value>The data format.</value>
public string DataFormat { get; set; }
/// <summary>
/// Gets or sets the value member.
/// </summary>
/// <value>The value member.</value>
public string ValueMember { get; set; }
/// <summary>
/// Gets or sets the text member.
/// </summary>
/// <value>The text member.</value>
public string TextMember { get; set; }
/// <summary>
/// Gets or sets the source SQL.
/// </summary>
/// <value>The source SQL.</value>
public string SourceSql { get; set; }
/// <summary>
/// Gets or sets the union fields.
/// </summary>
/// <value>The union fields.</value>
public string UnionFields { get; set; }
/// <summary>
/// Gets or sets the union values.
/// </summary>
/// <value>The union values.</value>
public string UnionValues { get; set; }
/// <summary>
/// Gets or sets the calculate expr.
/// </summary>
/// <value>The calculate expr.</value>
public string CalcExpr { get; set; }
/// <summary>
/// Gets or sets the calculate order.
/// </summary>
/// <value>The calculate order.</value>
public int CalcOrder { get; set; }
/// <summary>
/// Gets or sets the tab order.
/// </summary>
/// <value>The tab order.</value>
public int TabOrder { get; set; }
/// <summary>
/// 标识字段(用于身份证阅读器)
/// </summary>
/// <value>The sign.</value>
public int Sign { get; set; }
/// <summary>
/// 自动搜索框添加模块ID
/// </summary>
/// <value>The add module identifier.</value>
public string AddModuleId { get; set; }
/// <summary>
/// 自动搜索框添加模块Spec
/// </summary>
/// <value>The add module spec.</value>
public string AddModuleSpec { get; set; }
/// <summary>
/// 自动搜索框添加模块返回
/// </summary>
/// <value>The add module result.</value>
public string AddModuleResult { get; set; }
/// <summary>
/// 字体大小
/// </summary>
/// <value>The size of the font.</value>
public int FontSize { get; set; }
/// <summary>
/// 可用条件
/// </summary>
/// <value>The enable cond.</value>
public string DisableCond { get; set; }
/// <summary>
/// 可以方式
/// </summary>
/// <value>The type of the enable.</value>
public string DisableType { get; set; }
/// <summary>
/// Gets or sets the only value.
/// </summary>
/// <value>The location.</value>
public string FormKey { get; set; }
/// <summary>
/// Gets or sets the size.
/// </summary>
/// <value>The size.</value>
public Size Size { get; set; }
/// <summary>
/// Gets or sets the location.
/// </summary>
/// <value>The location.</value>
public Point Location { get; set; }
/// <summary>
/// Gets or sets the tag.
/// </summary>
/// <value>The tag.</value>
public object Tag { get; set; }
/// <summary>
/// 重置控件值时是否忽略该控件
/// </summary>
public bool IsFixedValue { get; set; }
/// <summary>
/// 点击后清空数据
/// </summary>
public bool clickAfterEmpty { get; set; }
/// <summary>
/// 序号
/// </summary>
public string OrderId { get; set; }
/// <summary>
/// 智能搜索框数据源刷新按钮
/// </summary>
public bool RefreshButton { get; set; }
/// <summary>
/// 小数位数
/// </summary>
public int DataDec { get; set; }
/// <summary>
/// 取消行数限制(top 500
/// </summary>
public bool CancelRowLimit { get; set; }
/// <summary>
/// 弹出框数据源排序
/// </summary>
public string AddOrderByCond { get; set; }
/// <summary>
/// 树节点选择模式
/// </summary>
public string TreeCheckModel { get; set; }
/// <summary>
/// 标题颜色
/// </summary>
public string ControlTitleColor { get; set; }
/// <summary>
/// 内容高亮(红色)
/// </summary>
public bool HighlightContent { get; set; }
/// <summary>
///条件拼接
/// </summary>
public bool Montage { get; set; }
/// <summary>
///浏览权限
/// </summary>
/// <value>The name.</value>
public string DisplayPermissions { get; set; }
/// <summary>
///下拉总宽度
/// </summary>
/// <value>The LookUpWidth.</value>
public int LookUpWidth { get; set; }
/// <summary>
///下拉列宽度,逗号分隔一一对应
/// </summary>
/// <value>The LookUpFieldsWidth.</value>
public string LookUpFieldsWidth { get; set; }
/// <summary>
///文本框禁编(不是禁编状态,可以点击按钮,但是不能手动输入)
/// </summary>
public bool TextBoxProhibition { get; set; }
}
}