/*------------------------------------------------------------------------- * * ---------------------------------------------------------------------------*/ public sea_routes_form2(gvt_lib lib, GvoDatabase db) { m_lib = lib; m_db = db; InitializeComponent(); Useful.SetFontMeiryo(this, def.MEIRYO_POINT); m_disable_update_select = false; // tooltip toolTip1.AutoPopDelay = 30 * 1000; // 30초표시 toolTip1.BackColor = Color.LightYellow; // ViewとDBを関連付けておく m_view1 = new list_view_db(listView1, m_db.SeaRoute.searoutes); m_view2 = new list_view_db(listView2, m_db.SeaRoute.favorite_sea_routes); m_view3 = new list_view_db(listView3, m_db.SeaRoute.trash_sea_routes); // 각ページの初期化 init_page1(); init_page2(); init_page3(); }
/*------------------------------------------------------------------------- * * ---------------------------------------------------------------------------*/ public setting_window(gvt_lib lib, GvoDatabase db, gvtrademap_cs_form form) : base(lib.device, new Vector2(WINDOW_POS_X, WINDOW_POS_Y), new Vector2(WINDOW_SIZE_X, WINDOW_SIZE_Y), WINDOW_POS_Z) { base.title = "設定ウインドウ"; m_form = form; m_lib = lib; m_db = db; // アイテム追加 m_hittest_list = new hittest_list(); // 設定 m_hittest_list.Add(new hittest()); // 設定ボタン m_hittest_list.Add(new hittest()); }
/*------------------------------------------------------------------------- * * ---------------------------------------------------------------------------*/ public myship_info(gvt_lib lib, GvoDatabase db) { m_lib = lib; m_db = db; m_pos = new Point(-1, -1); m_angle = -1; m_is_in_the_sea = false; // 到達予想アニメーション用速度 // m_show_speed = 0; m_server_service = new gvo_server_service(); // ナビゲーションクライアントからの受信 m_capture_timer = new DateTimer(); // キャプチャ間隔用 m_expect_pos_timer = new DateTimer(); // 予想位置計算用 m_expect_delay_timer = new DateTimer(); // 予想位置消去用ディレイタイマ m_capture_sucess = false; // 到達予想位置をリセット reset_expect(); }
/*------------------------------------------------------------------------- * * ---------------------------------------------------------------------------*/ public myship_info(gvt_lib lib, GvoDatabase db) { m_lib = lib; m_db = db; m_pos = new Point(-1, -1); m_angle = -1; m_is_in_the_sea = false; // 도달예상アニメーション용속도 // m_show_speed = 0; m_server_service = new gvo_server_service(); // ナビゲーションクライアントからの受信 m_capture_timer = new DateTimer(); // 캡처간격용 m_expect_pos_timer = new DateTimer(); // 예상위치계산용 m_expect_delay_timer = new DateTimer(); // 예상위치消去용ディレイタイマ m_capture_sucess = false; // 도달예상위치を리셋 reset_expect(); }
/*------------------------------------------------------------------------- * * ---------------------------------------------------------------------------*/ public sea_area_dd_form(gvt_lib lib, GvoDatabase db, List <sea_area_once_from_dd> list) { m_lib = lib; m_list = list; m_db = db; m_filterd_list = new List <sea_area_once_from_dd>(); InitializeComponent(); Useful.SetFontMeiryo(this, def.MEIRYO_POINT); listView1.Columns.Add("サーバ", 80); listView1.Columns.Add("海域名", 100); listView1.Columns.Add("状態", 100); listView1.Columns.Add("終了日時", 180); listView1.Columns.Add("補足", 100); checkBox1.Checked = true; checkBox2.Checked = true; // リスト更新 update_list(); }
/*------------------------------------------------------------------------- * * ---------------------------------------------------------------------------*/ public sea_area_dd_form(gvt_lib lib, GvoDatabase db, List <sea_area_once_from_dd> list) { m_lib = lib; m_list = list; m_db = db; m_filterd_list = new List <sea_area_once_from_dd>(); InitializeComponent(); Useful.SetFontMeiryo(this, def.MEIRYO_POINT); listView1.Columns.Add("서버", 80); listView1.Columns.Add("해역명", 100); listView1.Columns.Add("상태", 100); listView1.Columns.Add("종료일시", 180); listView1.Columns.Add("보충", 100); checkBox1.Checked = true; checkBox2.Checked = true; // 목록업데이트 update_list(); }
/*------------------------------------------------------------------------- * * ---------------------------------------------------------------------------*/ /*------------------------------------------------------------------------- * * ---------------------------------------------------------------------------*/ public info_windows(gvt_lib lib, GvoDatabase db, myship_info myship) { m_lib = lib; m_db = db; m_myship_info = myship; m_select_pos = new Point(0, 0); m_mouse_pos = new Point(0, 0); m_windows = new hittest_list(); // 속도윈도우 m_windows.Add(new hittest()); // 위치윈도우 m_windows.Add(new hittest()); // 항로공유윈도우 m_windows.Add(new hittest()); // 이자からの경과일수윈도우 m_windows.Add(new hittest()); // 조선からの경과일수윈도우 m_windows.Add(new hittest()); // TCP서버 m_windows.Add(new hittest()); }
/*------------------------------------------------------------------------- * * ---------------------------------------------------------------------------*/ /*------------------------------------------------------------------------- * * ---------------------------------------------------------------------------*/ public info_windows(gvt_lib lib, GvoDatabase db, myship_info myship) { m_lib = lib; m_db = db; m_myship_info = myship; m_select_pos = new Point(0, 0); m_mouse_pos = new Point(0, 0); m_windows = new hittest_list(); // 速度ウインドウ m_windows.Add(new hittest()); // 位置ウインドウ m_windows.Add(new hittest()); // 航路共有ウインドウ m_windows.Add(new hittest()); // 利息からの経過日数ウインドウ m_windows.Add(new hittest()); // 造船からの経過日数ウインドウ m_windows.Add(new hittest()); // TCPサーバ m_windows.Add(new hittest()); }