using BP.En;
namespace BP.CCFast.Portal.WindowExt
{
///
/// 饼图
///
public class ChartPie : 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 ChartPie()
{
}
///
/// 饼图
///
///
public ChartPie(string no)
{
this.No = no;
this.Retrieve();
}
///
/// EnMap
///
public override Map EnMap
{
get
{
if (this._enMap != null)
return this._enMap;
this._enMap = Glo.StationDBSrcMap("饼图");
return this._enMap;
}
}
#endregion
}
///
/// 饼图s
///
public class ChartPies : EntitiesNoName
{
#region 构造
///
/// 饼图s
///
public ChartPies()
{
}
///
/// 得到它的 Entity
///
public override Entity GetNewEntity
{
get
{
return new ChartPie();
}
}
#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((ChartPie)this[i]);
}
return list;
}
#endregion 为了适应自动翻译成java的需要,把实体转换成List.
}
}