31 lines
910 B
C#
31 lines
910 B
C#
///
|
|
/// class: IWearable.cs
|
|
///
|
|
///This file defines the IWearable interface, which specifies a method to get the water resistance level of wearable devices.
|
|
///It is implemented by classes representing wearable devices like smartwatches and fitness trackers.
|
|
///
|
|
/// Name: Rens Pastoor
|
|
/// Studentnumber: 555408
|
|
/// Date: 11 May 2025
|
|
///
|
|
///Version: 1
|
|
///
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.Remoting.Messaging;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace PoloClubApp {
|
|
/// <summary>
|
|
/// Interface for wearable devices that have water resistance capability.
|
|
/// </summary>
|
|
public interface IWearable{
|
|
/// <summary>
|
|
/// Gets the water resistance rating of the wearable device.
|
|
/// </summary>
|
|
/// <returns>Water resistance in meters.</returns>
|
|
int GetWaterResistanceMeters();
|
|
}
|
|
} |