Skip to content

Commit 91485d8

Browse files
committed
Refactor: Consolidate BikeRadar namespace
Updated the namespace from `SmallEarthTech.AntPlus.DeviceProfiles.BikeRadar` to `SmallEarthTech.AntPlus.DeviceProfiles` across multiple files. This change affects `BikeRadar.cs`, `MauiProgram.cs`, `BikeRadarPage.xaml`, `BikeRadarViewModel.cs`, `HomePageViewModel.cs`, `MainWindow.xaml.cs`, `MainWindowViewModel.cs`, and `BikeRadarWindow.xaml.cs`. The refactor aims to simplify and unify the namespace structure within the project.
1 parent b2e55a5 commit 91485d8

File tree

10 files changed

+8
-10
lines changed

10 files changed

+8
-10
lines changed

Examples/MAUI-gRPC/MauiAntGrpcClient/CustomAntDevice/BikeRadar.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using Microsoft.Extensions.Logging;
33
using SmallEarthTech.AntRadioInterface;
44

5-
namespace SmallEarthTech.AntPlus.DeviceProfiles.BikeRadar
5+
namespace SmallEarthTech.AntPlus.DeviceProfiles
66
{
77
public partial class BikeRadar : AntDevice
88
{

Examples/MAUI-gRPC/MauiAntGrpcClient/MauiProgram.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using MauiAntGrpcClient.ViewModels;
55
using Microsoft.Extensions.Logging;
66
using SmallEarthTech.AntPlus;
7-
using SmallEarthTech.AntPlus.DeviceProfiles.BikeRadar;
7+
using SmallEarthTech.AntPlus.DeviceProfiles;
88
using SmallEarthTech.AntPlus.Extensions.Hosting;
99
using SmallEarthTech.AntRadioInterface;
1010

Examples/MAUI-gRPC/MauiAntGrpcClient/Pages/BikeRadarPage.xaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
44
xmlns:views="clr-namespace:MauiAntGrpcClient.Views"
55
xmlns:viewmodels="clr-namespace:MauiAntGrpcClient.ViewModels"
6-
xmlns:bikeradar="clr-namespace:SmallEarthTech.AntPlus.DeviceProfiles.BikeRadar"
6+
xmlns:bikeradar="clr-namespace:SmallEarthTech.AntPlus.DeviceProfiles"
77
x:DataType="viewmodels:BikeRadarViewModel"
88
x:Class="MauiAntGrpcClient.Pages.BikeRadarPage"
99
Title="BikeRadarPage">

Examples/MAUI-gRPC/MauiAntGrpcClient/ViewModels/BikeRadarViewModel.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using CommunityToolkit.Mvvm.ComponentModel;
22
using CommunityToolkit.Mvvm.Input;
3-
using SmallEarthTech.AntPlus.DeviceProfiles.BikeRadar;
3+
using SmallEarthTech.AntPlus.DeviceProfiles;
44
using System.ComponentModel;
55

66
namespace MauiAntGrpcClient.ViewModels

Examples/MAUI-gRPC/MauiAntGrpcClient/ViewModels/HomePageViewModel.cs

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using SmallEarthTech.AntPlus.DeviceProfiles;
66
using SmallEarthTech.AntPlus.DeviceProfiles.AssetTracker;
77
using SmallEarthTech.AntPlus.DeviceProfiles.BicyclePower;
8-
using SmallEarthTech.AntPlus.DeviceProfiles.BikeRadar;
98
using SmallEarthTech.AntPlus.DeviceProfiles.BikeSpeedAndCadence;
109
using SmallEarthTech.AntPlus.DeviceProfiles.FitnessEquipment;
1110
using SmallEarthTech.AntPlus.Extensions.Hosting;

Examples/WpfUsbStickApp/CustomAntDevice/BikeRadar.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using System.IO;
77
using System.Threading.Tasks;
88

9-
namespace SmallEarthTech.AntPlus.DeviceProfiles.BikeRadar
9+
namespace SmallEarthTech.AntPlus.DeviceProfiles
1010
{
1111
public partial class BikeRadar : AntDevice
1212
{

Examples/WpfUsbStickApp/MainWindow.xaml.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using SmallEarthTech.AntPlus.DeviceProfiles;
33
using SmallEarthTech.AntPlus.DeviceProfiles.AssetTracker;
44
using SmallEarthTech.AntPlus.DeviceProfiles.BicyclePower;
5-
using SmallEarthTech.AntPlus.DeviceProfiles.BikeRadar;
65
using SmallEarthTech.AntPlus.DeviceProfiles.BikeSpeedAndCadence;
76
using SmallEarthTech.AntPlus.DeviceProfiles.FitnessEquipment;
87
using System;

Examples/WpfUsbStickApp/MainWindowViewModel.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Microsoft.Extensions.Logging;
44
using Serilog;
55
using SmallEarthTech.AntPlus;
6-
using SmallEarthTech.AntPlus.DeviceProfiles.BikeRadar;
6+
using SmallEarthTech.AntPlus.DeviceProfiles;
77
using SmallEarthTech.AntPlus.Extensions.Hosting;
88
using SmallEarthTech.AntRadioInterface;
99
using SmallEarthTech.AntUsbStick;

Examples/WpfUsbStickApp/ViewModels/BikeRadarViewModel.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using CommunityToolkit.Mvvm.Input;
2-
using SmallEarthTech.AntPlus.DeviceProfiles.BikeRadar;
2+
using SmallEarthTech.AntPlus.DeviceProfiles;
33
using System.ComponentModel;
44
using System.Threading.Tasks;
55
using System.Windows;

Examples/WpfUsbStickApp/Views/BikeRadarWindow.xaml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using SmallEarthTech.AntPlus.DeviceProfiles.BikeRadar;
1+
using SmallEarthTech.AntPlus.DeviceProfiles;
22
using System.Windows;
33
using WpfUsbStickApp.ViewModels;
44

0 commit comments

Comments
 (0)