You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
116 lines
2.8 KiB
Plaintext
116 lines
2.8 KiB
Plaintext
using BP.En;
|
|
|
|
|
|
namespace BP.CCFast.Portal.WindowExt
|
|
{
|
|
/// <summary>
|
|
/// 环形图
|
|
/// </summary>
|
|
public class ChartRing : EntityNoName
|
|
{
|
|
#region 权限控制.
|
|
/// <summary>
|
|
/// 控制权限
|
|
/// </summary>
|
|
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 构造方法
|
|
/// <summary>
|
|
/// 环形图
|
|
/// </summary>
|
|
public ChartRing()
|
|
{
|
|
}
|
|
/// <summary>
|
|
/// 环形图
|
|
/// </summary>
|
|
/// <param name="no"></param>
|
|
public ChartRing(string no)
|
|
{
|
|
this.No = no;
|
|
this.Retrieve();
|
|
}
|
|
/// <summary>
|
|
/// EnMap
|
|
/// </summary>
|
|
public override Map EnMap
|
|
{
|
|
get
|
|
{
|
|
if (this._enMap != null)
|
|
return this._enMap;
|
|
|
|
this._enMap = Glo.StationDBSrcMap("ChartRing环形图");
|
|
|
|
return this._enMap;
|
|
}
|
|
}
|
|
#endregion
|
|
}
|
|
/// <summary>
|
|
/// 环形图s
|
|
/// </summary>
|
|
public class ChartRings : EntitiesNoName
|
|
{
|
|
#region 构造
|
|
/// <summary>
|
|
/// 环形图s
|
|
/// </summary>
|
|
public ChartRings()
|
|
{
|
|
}
|
|
/// <summary>
|
|
/// 得到它的 Entity
|
|
/// </summary>
|
|
public override Entity GetNewEntity
|
|
{
|
|
get
|
|
{
|
|
return new ChartRing();
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region 为了适应自动翻译成java的需要,把实体转换成List.
|
|
/// <summary>
|
|
/// 转化成 java list,C#不能调用.
|
|
/// </summary>
|
|
/// <returns>List</returns>
|
|
public System.Collections.Generic.IList<ChartRing> ToJavaList()
|
|
{
|
|
return (System.Collections.Generic.IList<ChartRing>)this;
|
|
}
|
|
/// <summary>
|
|
/// 转化成list
|
|
/// </summary>
|
|
/// <returns>List</returns>
|
|
public System.Collections.Generic.List<ChartRing> Tolist()
|
|
{
|
|
System.Collections.Generic.List<ChartRing> list = new System.Collections.Generic.List<ChartRing>();
|
|
for (int i = 0; i < this.Count; i++)
|
|
{
|
|
list.Add((ChartRing)this[i]);
|
|
}
|
|
return list;
|
|
}
|
|
#endregion 为了适应自动翻译成java的需要,把实体转换成List.
|
|
}
|
|
}
|