using BP.En;
namespace BP.CCFast.Portal.WindowExt
{
///
/// 环形图
///
public class ChartRing : EntityNoName
{
#region 权限控制.
///
/// 控制权限
///
public override UAC HisUAC
{
get
{
UAC uac = new UAC();
if (BP.Web.WebUser.IsAdmin == true)
uac.OpenAll();
else
uac.IsView = false;
uac.IsInsert = false;
uac.IsDelete = false;
return uac;
}
}
#endregion 权限控制.
#region 属性
#endregion 属性
#region 构造方法
///
/// 环形图
///
public ChartRing()
{
}
///
/// 环形图
///
///
public ChartRing(string no)
{
this.No = no;
this.Retrieve();
}
///
/// EnMap
///
public override Map EnMap
{
get
{
if (this._enMap != null)
return this._enMap;
this._enMap = Glo.StationDBSrcMap("ChartRing环形图");
return this._enMap;
}
}
#endregion
}
///
/// 环形图s
///
public class ChartRings : EntitiesNoName
{
#region 构造
///
/// 环形图s
///
public ChartRings()
{
}
///
/// 得到它的 Entity
///
public override Entity GetNewEntity
{
get
{
return new ChartRing();
}
}
#endregion
#region 为了适应自动翻译成java的需要,把实体转换成List.
///
/// 转化成 java list,C#不能调用.
///
/// List
public System.Collections.Generic.IList ToJavaList()
{
return (System.Collections.Generic.IList)this;
}
///
/// 转化成list
///
/// List
public System.Collections.Generic.List Tolist()
{
System.Collections.Generic.List list = new System.Collections.Generic.List();
for (int i = 0; i < this.Count; i++)
{
list.Add((ChartRing)this[i]);
}
return list;
}
#endregion 为了适应自动翻译成java的需要,把实体转换成List.
}
}