Esempio n. 1
0
        public MainWindow()
        {
            InitializeComponent();
            GRIPPER       = new pages.gripper();
            ROV           = new pages.rov();
            REPORT        = new pages.report();
            FRAME.Content = ROV;

            LIGHT_BACKGROUND.Color = Color.FromArgb(255, 60, 59, 77);
            DARK_BACKGROUND.Color  = Color.FromArgb(255, 56, 55, 72);
            DARK_GRAY.Color        = Color.FromArgb(255, 137, 136, 145);
            LIGHT_GRAY.Color       = Color.FromArgb(255, 223, 223, 225);
        }
Esempio n. 2
0
        public MainWindow()
        {
            InitializeComponent();
            GRIPPER                   = new pages.gripper();
            ROV                       = new pages.rov();
            REPORT                    = new pages.report();
            LEFT_VIDEO                = new pages.left_video();
            RIGHT_VIDEO               = new pages.right_video();
            FRAME.Content             = ROV;
            LEFT_VIDEO_FRAME.Content  = LEFT_VIDEO;
            RIGHT_VIDEO_FRAME.Content = RIGHT_VIDEO;
            POSITION_X                = Canvas.GetLeft(_ROV);
            POSITION_Y                = Canvas.GetTop(_ROV);

            // Temp velocity
            INPUT_X     = 0.0;
            INPUT_Y     = 0.0;
            DEPTH_INPUT = 0.0;
            DEPTH       = 0.0;

            LIGHT_BACKGROUND.Color = Color.FromArgb(255, 60, 59, 77);
            DARK_BACKGROUND.Color  = Color.FromArgb(255, 56, 55, 72);
            DARK_GRAY.Color        = Color.FromArgb(255, 137, 136, 145);
            LIGHT_GRAY.Color       = Color.FromArgb(255, 223, 223, 225);

            DEPTH_0.Color = Color.FromRgb(113, 211, 232);
            DEPTH_1.Color = Color.FromRgb(125, 213, 220);
            DEPTH_2.Color = Color.FromRgb(138, 215, 207);
            DEPTH_3.Color = Color.FromRgb(150, 218, 195);
            DEPTH_4.Color = Color.FromRgb(162, 220, 182);
            DEPTH_5.Color = Color.FromRgb(175, 222, 170);
            DEPTH_6.Color = Color.FromRgb(199, 227, 145);
            DEPTH_7.Color = Color.FromRgb(212, 229, 132);
            DEPTH_8.Color = Color.FromRgb(224, 231, 120);


            Loaded += Window_Loaded;
        }