protected bool IsDisableAction(PointActionItemAttribute action) { if (PointActionType.DisableActions.Contains(action.Action)) { return(true); } else { return(false); } }
protected string GetNeedValueActionName(string action) { PointActionItemAttribute item = PointActionType.NeedValueActionAttributes[action]; if (item != null) { return(item.ActionName); } else { return(string.Empty); } }
protected bool IsShow(PointActionItemAttribute action) { if (IsDisableAction(action) == false) { int[] points = GetPoints(action.Action); foreach (int point in points) { if (point != 0) { return(true); } } } return(false); }