From 78e1ffd8485eea5b246fb02fbcf760a79f99b457 Mon Sep 17 00:00:00 2001 From: pcor8zk92 <2997782478@qq.com> Date: Sun, 26 Oct 2025 14:06:37 +0800 Subject: [PATCH] ADD file via upload --- Wheel.java | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 Wheel.java diff --git a/Wheel.java b/Wheel.java new file mode 100644 index 0000000..5a1dc4e --- /dev/null +++ b/Wheel.java @@ -0,0 +1,64 @@ +package ; + + +/** + * @author The Administrator + * @version 1.0 + * @created 26-10-2025 14:02:27 + */ +class Wheel { + + /** + * 直径(cm? + */ + private double diameter; + /** + * 是否为驱动轮 + */ + private boolean isDriven; + /** + * 是否为转向轮 + */ + private boolean isSteerable; + /** + * 轮毂材质(如"铝合?? + */ + private String material; + /** + * 胎压(kPa? + */ + private double pressure; + /** + * 轮胎类型(如"防爆?? + */ + private String tireType; + /** + * 磨损程度?-100? + */ + private int wearLevel; + /** + * 宽度(mm? + */ + private double width; + + public Wheel(){ + + } + + public void finalize() throws Throwable { + + } + /** + * 构造方法(初始化核心属性) + * + * @param diameter + * @param width + * @param tireType + * @param material + * @param isDriven + * @param isSteerable + */ + public Wheel(double diameter, double width, String tireType, String material, boolean isDriven, boolean isSteerable){ + + } +}//end Wheel \ No newline at end of file