'**************************************************************************
' Name       :MyConstant
'--------------------------------------------------------------------------
' Comment    :静的な値を保持する。
'--------------------------------------------------------------------------
' Design On  :2013/01/31
'        By  :NCS)T.Kikuchi
'--------------------------------------------------------------------------
' Update On  :
'        By  :
' Comment    :
'**************************************************************************
Public Class MyConstant

    Public Const Accessプロバイダ名 As String = "System.Data.OleDb"
    Public Const 白票ID As String = "blank"
    Public Const 白票名称 As String = "白票"
    Public Const 白票画像パス As String = "img/blank.png"
    Public Const 白票単票文字 As String = "（白紙投票）"
    'Public Const 比例代表フラグ値 As Integer = 1
    Public Const 候補者画像フォルダ As String = "img/koho/"
    Public Const 政党画像フォルダ As String = "img/seito/"
    Public Const TEMPエクセル拡張子 As String = ".xls.bak"
    Public Const エクセル拡張子 As String = ".xls"
    Public Const 投票制御フラグ項目名 As String = "投票制御フラグ"
    Public Const 管理者ディレクトリ As String = "/Admin/"
    Public Const MAX選挙ボタン数 As Integer = 5
    Public Const 自動画面遷移時間秒 As String = "3"
    Public Const 自動画面遷移時間ミリ秒 As String = "3000"
    Public Const 管理画面タイトル As String = "【管理画面】"

    Public Const 全投票所コード As String = "ALL"

    Public Class SessionKey
        Public Const 選挙ID As String = "_選挙ID"
        Public Const 投票者ID As String = "_投票者ID"
        Public Const 認証日時 As String = "_認証日時"

        Public Const 投票所コード As String = "_投票所コード"

        Public Const 候補者ID As String = "_候補者ID"
        Public Const 投票数 As String = "_投票数"
        Public Const 名前検索キー As String = "_名前検索キー"
        Public Const 政党検索キー As String = "_政党検索キー"

        Public Const 候補者リスト As String = "_候補者リスト"
        Public Const 候補者リストズーム As String = "_候補者リストズーム"
        Public Const 候補者リスト頁数 As String = "_候補者リスト頁数"
        Public Const 一覧表示パターン As String = "_一覧表示パターン"
        Public Const 一覧表示ボタン As String = "_一覧表示ボタン"
    End Class

    Public Class QueryStringKey
        Public Const 選挙ID As String = "senkyoId"
        Public Const 候補者ID As String = "kohoId"
        Public Const 名前検索キー As String = "nameKey"
        Public Const 政党検索キー As String = "seitoKey"
    End Class
End Class

