コード例 #1
0
 public SegmentPerfInfo()
 {
     blockID      = 0;
     segmentID    = 0;
     numTodos     = 0;
     numCompleted = 0;
     size         = 0;
     status       = 0;
 }
コード例 #2
0
        public IEnumerable <BookInfo> Get(int bookNatureID, int statusID)
        {
            List <BookInfo> books = new List <BookInfo>();

            DTC.BookNature bookNature = (DTC.BookNature)bookNatureID;
            DTC.StatusEnum status     = (DTC.StatusEnum)statusID;

            books = DB.Books.GetBooks(bookNature, status).Values.ToList();

            return(books);
        }
コード例 #3
0
 public BookProcessInfo()
 {
     id              = 0;
     bookID          = 0;
     status          = DTC.StatusEnum.Running;
     processType     = BookProcessType.Standart;
     currentPage     = 0;
     currentDuration = 0;
     startDate       = DateTime.Today;
     endDate         = DateTime.Today;
     details         = "";
 }
コード例 #4
0
ファイル: BlockInfo.cs プロジェクト: bilginesme/WebApiAzure
 public BlockInfo()
 {
     id            = 0;
     title         = string.Empty;
     details       = string.Empty;
     startDate     = DateTime.Today;
     endDate       = DateTime.Today;
     dueDate       = DateTime.Today;
     hasDue        = false;
     projectID     = 0;
     clusterID     = 0;
     status        = DTC.StatusEnum.Running;
     order         = 0;
     projectCode   = string.Empty;
     runningGoalID = 0;
 }
コード例 #5
0
ファイル: SegmentInfo.cs プロジェクト: bilginesme/WebApiAzure
 public SegmentInfo()
 {
     id            = 0;
     title         = string.Empty;
     details       = string.Empty;
     startDate     = DateTime.Today;
     endDate       = DateTime.Today;
     dueDate       = DateTime.Today;
     hasDue        = false;
     blockID       = 0;
     size          = DTC.SizeEnum.Medium;
     status        = DTC.StatusEnum.Running;
     order         = 0;
     numTodosAll   = numTodosComplete = 0;
     chapterID     = 0;
     projectCode   = string.Empty;
     runningGoalID = 0;
 }