1
wangsheng
2022-03-22 7bd27b4c5967ffaa87e8a813687da7edb909148c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
using Common;
using Dao;
using Model;
using System;
using System.Web;
using System.Web.Profile;
using System.Web.SessionState;
using System.Collections.Generic;
using System.Text;
 
public partial class _GwSm : PageBase<SysUser>, IRequiresSessionState
{
   
 
    public string SelectedDate
    {
        get
        {
            string @string = this.AppContext.GetString("QueryDate");
            if (string.IsNullOrEmpty(@string))
                return DateTime.Today.ToString("yyyy-MM-dd");
            return @string;
        }
    }
 
    public string SelectedBeginTime
    {
        get
        {
            string @string = this.AppContext.GetString("BeginTime");
            if (!string.IsNullOrEmpty(@string))
                return @string;
            if (DateTime.Now.AddHours(-1.0).Day != DateTime.Now.Day)
                return "00:00:00";
            return DateTime.Now.AddHours(-1.0).ToString("HH:mm:ss");
        }
    }
 
    public string SelectedEndTime
    {
        get
        {
            string @string = this.AppContext.GetString("EndTime");
            if (!string.IsNullOrEmpty(@string))
                return @string;
            return DateTime.Now.Date.AddSeconds(-1.0).ToString("HH:mm:ss");
        }
    }
 
    protected void Page_Load(object sender, EventArgs e)
    {
 
        this.CheckRight("401", FailedOperation.HistoryGoBack);
 
    }
 
 
//新加区域查询
    //public string GwtPrivnce()
    //{
    //    using (GwMobileAreaDao gwMobileAreaDao = new GwMobileAreaDao())
    //    {
    //        List<GwMobileArea> mobilAreaList = gwMobileAreaDao.GetMobilAreaList();
    //        StringBuilder stringBuilder = new StringBuilder();
    //        stringBuilder.Append("<option value=\"\">选择地区</option>");
    //        if (mobilAreaList.Count == 0)
    //            return "<option value=''>无地区信息</option>";
    //        foreach (GwMobileArea gwMobileArea in mobilAreaList)
    //            stringBuilder.AppendFormat("<option value=\"{0}\">{0}</option>", (object)gwMobileArea.Province);
    //        return stringBuilder.ToString();
    //    }
    //}
//end
 
}