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 interface CurtainControl {
* 打开窗帘
void openCurtain();
* 关闭窗帘
void closeCurtain();
* 设置窗帘位置
* @param position 位置值(0-100),0表示完全关闭,100表示完全打开
void setCurtainPosition(int position);
* 获取当前窗帘位置
* @return 当前位置值(0-100)
int getCurtainPosition();
* 检查窗帘是否完全打开
* @return 如果窗帘完全打开则返回true
boolean isFullyOpen();
* 检查窗帘是否完全关闭
* @return 如果窗帘完全关闭则返回true
boolean isFullyClosed();
}