sys_setAutoPowerOnOff
# sys_setAutoPowerOnOff
>i**描述:设置定时开机**
函数:**public int sys_setAutoPowerOnOff(int type,long ontime,int[] week,int enable)**
|参数名/返回值| 类型 |说明 |举例|
|-|-|-|-|
|type| int |类型| 1:开机 </br> 0:关机|
|ontime| long | 开机毫秒时||
|week | int[] |设置开机星期|new int[]{1,1,1,1,1,0,0}|
|enable | int | 0:打开<br>-1:关闭||
|返回值 | int | 0:成功<br>-1:不支持<br>-2:参数有误<br>-3:文件不存在<br>-4:没有权限||