Beispiel #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);
    }
Beispiel #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);
    }
Beispiel #3
0
 public static void initNotice()
 {
     _notice = new _Notice();
 }
Beispiel #4
0
 public static void addNotice()
 {
     Notice.Instance.noticeList.Add(_notice);
     _notice = new _Notice();
 }
Beispiel #5
0
 public static void posNoticeOfListIdx(int iIdx)
 {
     _notice = _noticeList[iIdx];
 }