Skip to content

Commit

Permalink
Merge branch 'feature-network-manager' into feature-network-service
Browse files Browse the repository at this point in the history
  • Loading branch information
skeltonn committed Mar 5, 2019
2 parents ac38b85 + aba9f77 commit 08df3ec
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 208 deletions.
2 changes: 0 additions & 2 deletions RED/Models/ControlCenterModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ internal class ControlCenterModel
internal Rovecomm _rovecomm;
internal InputManagerViewModel _input;
internal WaypointManagerViewModel _waypoint;
internal PingToolViewModel _pingTool;
internal StopwatchToolViewModel _stopwatchTool;
internal TelemetryLogToolViewModel _telemetryLogTool;

internal ScienceViewModel _science;
internal GPSViewModel _GPS;
Expand Down
25 changes: 0 additions & 25 deletions RED/Models/Tools/PingToolModel.cs

This file was deleted.

19 changes: 0 additions & 19 deletions RED/Models/Tools/TelemetryLogToolModel.cs

This file was deleted.

19 changes: 3 additions & 16 deletions RED/RED.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@
<Compile Include="Models\Modules\DriveModel.cs" />
<Compile Include="Models\Modules\LightingModel.cs" />
<Compile Include="Models\Navigation\MapModel.cs" />
<Compile Include="Models\Tools\PingToolModel.cs" />
<Compile Include="Models\Navigation\WaypointModel.cs" />
<Compile Include="Models\Navigation\WaypointManagerModel.cs" />
<Compile Include="Models\Network\NetworkManagerModel.cs" />
Expand All @@ -187,7 +186,6 @@
<Compile Include="Models\SettingsModel.cs" />
<Compile Include="Models\Input\Controllers\KeyboardInputModel.cs" />
<Compile Include="Models\Tools\StopwatchToolModel.cs" />
<Compile Include="Models\Tools\TelemetryLogToolModel.cs" />
<Compile Include="Settings.cs" />
<Compile Include="Models\Input\Controllers\XboxControllerInputModel.cs" />
<Compile Include="ViewModels\Input\ControllerBase.cs" />
Expand All @@ -213,6 +211,8 @@
<Compile Include="ViewModels\Modules\PowerViewModel.cs" />
<Compile Include="ViewModels\Input\Controllers\XboxControllerInputViewModel.cs" />
<Compile Include="ViewModels\Tools\PingToolViewModel.cs" />
<Compile Include="RoveProtocol\MetadataManager.cs" />
<Compile Include="RoveProtocol\Rovecomm.cs" />
<Compile Include="ViewModels\Modules\ScienceViewModel.cs" />
<Compile Include="ViewModels\Modules\SensorViewModel.cs" />
<Compile Include="ViewModels\ControlCenterViewModel.cs" />
Expand All @@ -226,6 +226,7 @@
<Compile Include="ViewModels\Settings\Network\NetworkManagerSettingsViewModel.cs" />
<Compile Include="ViewModels\Tools\StopwatchToolViewModel.cs" />
<Compile Include="ViewModels\Tools\TelemetryLogToolViewModel.cs" />
<Compile Include="ViewModels\XMLConfigManager.cs" />
<Compile Include="Views\ControlCenterView.xaml.cs">
<DependentUpon>ControlCenterView.xaml</DependentUpon>
</Compile>
Expand Down Expand Up @@ -277,9 +278,6 @@
<Compile Include="Views\Navigation\WaypointManagerView.xaml.cs">
<DependentUpon>WaypointManagerView.xaml</DependentUpon>
</Compile>
<Compile Include="Views\Tools\PingToolView.xaml.cs">
<DependentUpon>PingToolView.xaml</DependentUpon>
</Compile>
<Compile Include="Views\SettingsManagerView.xaml.cs">
<DependentUpon>SettingsManagerView.xaml</DependentUpon>
</Compile>
Expand All @@ -304,9 +302,6 @@
<Compile Include="Views\Tools\StopwatchToolView.xaml.cs">
<DependentUpon>StopwatchToolView.xaml</DependentUpon>
</Compile>
<Compile Include="Views\Tools\TelemetryLogToolView.xaml.cs">
<DependentUpon>TelemetryLogToolView.xaml</DependentUpon>
</Compile>
<Page Include="Views\ControlCenterView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
Expand Down Expand Up @@ -388,10 +383,6 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\Tools\PingToolView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\Settings\Input\Controllers\XboxControllerInputSettingsView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
Expand Down Expand Up @@ -425,10 +416,6 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\Tools\TelemetryLogToolView.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
</ItemGroup>
<ItemGroup>
<None Include="app.config">
Expand Down
27 changes: 0 additions & 27 deletions RED/ViewModels/ControlCenterViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,18 +111,6 @@ public WaypointManagerViewModel WaypointManager
NotifyOfPropertyChange(() => WaypointManager);
}
}
public PingToolViewModel PingTool
{
get
{
return _model._pingTool;
}
set
{
_model._pingTool = value;
NotifyOfPropertyChange(() => PingTool);
}
}
public StopwatchToolViewModel StopwatchTool
{
get
Expand All @@ -135,19 +123,6 @@ public StopwatchToolViewModel StopwatchTool
NotifyOfPropertyChange(() => StopwatchTool);
}
}
public TelemetryLogToolViewModel TelemetryLogTool
{
get
{
return _model._telemetryLogTool;
}
set
{
_model._telemetryLogTool = value;
NotifyOfPropertyChange(() => TelemetryLogTool);
}
}

public ScienceViewModel Science
{
get
Expand Down Expand Up @@ -419,9 +394,7 @@ public ControlCenterViewModel()

WaypointManager = new WaypointManagerViewModel(Map, GPS);
Autonomy = new AutonomyViewModel(Rovecomm, MetadataManager, Console, WaypointManager);
PingTool = new PingToolViewModel(Rovecomm, ConfigManager);
StopwatchTool = new StopwatchToolViewModel(ConfigManager);
TelemetryLogTool = new TelemetryLogToolViewModel(MetadataManager);

SettingsManager = new SettingsManagerViewModel(ConfigManager, this);

Expand Down
6 changes: 0 additions & 6 deletions RED/Views/ControlCenterView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,6 @@
</DockPanel>
</StackPanel>
</TabItem>
<TabItem Header="Telemetry" controls:ControlsHelper.HeaderFontSize="12">
<ContentControl x:Name="TelemetryLogTool" />
</TabItem>
<TabItem Header="Ping" controls:ControlsHelper.HeaderFontSize="12">
<ContentControl x:Name="PingTool" />
</TabItem>
<TabItem Header="Stopwatch" controls:ControlsHelper.HeaderFontSize="12">
<ContentControl x:Name="StopwatchTool" />
</TabItem>
Expand Down
49 changes: 0 additions & 49 deletions RED/Views/Tools/PingToolView.xaml

This file was deleted.

15 changes: 0 additions & 15 deletions RED/Views/Tools/PingToolView.xaml.cs

This file was deleted.

32 changes: 0 additions & 32 deletions RED/Views/Tools/TelemetryLogToolView.xaml

This file was deleted.

15 changes: 0 additions & 15 deletions RED/Views/Tools/TelemetryLogToolView.xaml.cs

This file was deleted.

4 changes: 2 additions & 2 deletions RoverNetworkManager/Views/PingToolView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<Bold>Address</Bold>
</TextBlock>
<TextBlock Grid.Column="3" Grid.Row="0" TextAlignment="Center">
<Bold>Round-Trip Time (ms)</Bold>
<Bold>Time (ms)</Bold>
</TextBlock>
</Grid>
<ItemsControl ItemsSource="{Binding PingServers}" Grid.IsSharedSizeScope="True">
Expand All @@ -42,7 +42,7 @@
<ColumnDefinition Width="auto" SharedSizeGroup="Checkmark" />
<ColumnDefinition Width="*" SharedSizeGroup="Name" />
<ColumnDefinition Width="*" SharedSizeGroup="Address" />
<ColumnDefinition Width="*" SharedSizeGroup="Result" />
<ColumnDefinition Width="75" SharedSizeGroup="Result" />
<ColumnDefinition Width="auto" SharedSizeGroup="Button" />
<ColumnDefinition Width="auto" SharedSizeGroup="Button" />
</Grid.ColumnDefinitions>
Expand Down

0 comments on commit 08df3ec

Please sign in to comment.