예제 #1
0
        /// <summary>
        /// 详细行程测试用例
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnDetailSchedule_Click(object sender, EventArgs e)
        {
            Operater.Init();
            Traffic info = new Traffic();

            info.Description = "坐车去九份";
            info.Location    = "台北市";
            info.StartDate   = new DateTime(2014, 10, 11, 8, 30, 00);
            info.EndDate     = new DateTime(2014, 10, 11, 10, 00, 00);
            info.Comments    = "BUS1602!别坐错了";
            Traffic.InsertDetailInfo(info);
        }