You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
950 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/**
* 智能家居系统主类
* 用于演示整个系统的功能
*/
public class Main {
/**
* 主方法
* @param args 命令行参数
*/
public static void main(String[] args) {
System.out.println("===== 智能家居系统演示 =====");
System.out.println("此系统演示了接口隔离原则的应用");
System.out.println("包含基础题、进阶题和挑战题的实现");
System.out.println("\n请运行相应的测试类来测试各个功能模块");
System.out.println("1. BasicTest - 测试基础题Printable接口和设备");
System.out.println("2. AdvancedTest - 测试进阶题(安全设备接口体系)");
System.out.println("3. ChallengeTest - 测试挑战题(智能家电接口体系和设备管理)");
System.out.println("\n所有代码都严格遵循接口隔离原则确保每个接口都小而专一。");
}
}