Ejemplo n.º 1
0
    public static bool chkSysNoticeOfNDate(string noticeDate)
    {
        var q = Notice.Instance.noticeList.Where(r => r.category == NoticeManager.CATE_SYSTEM && r.noticeDate == noticeDate);

        foreach (_Notice n in q)
        {
            _notice = n;
            return(true);
        }
        return(false);
    }
Ejemplo n.º 2
0
    public static bool posNoticeNETOfNtcDate(string iCate, string iNoticeDate, string iDeliDate)
    {
        var q = Notice.Instance.noticeList.Where(r => r.category == iCate && r.noticeDate == iNoticeDate);

        foreach (_Notice n in  q)
        {
            _notice = n;
            return(true);
        }
        return(false);
    }
Ejemplo n.º 3
0
 public static void initNotice()
 {
     _notice = new _Notice();
 }
Ejemplo n.º 4
0
 public static void addNotice()
 {
     Notice.Instance.noticeList.Add(_notice);
     _notice = new _Notice();
 }
Ejemplo n.º 5
0
 public static void posNoticeOfListIdx(int iIdx)
 {
     _notice = _noticeList[iIdx];
 }