You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.9 KiB
Java
59 lines
1.9 KiB
Java
/* */ package com.dowse.devicesdk;
|
|
/* */
|
|
/* */ public final class McuDevTimeParam
|
|
/* */ {
|
|
/* */ private int bOpenWeekday;
|
|
/* */ private int nOpenTime;
|
|
/* */ private int bCloseWeekday;
|
|
/* */ private int nCloseTime;
|
|
/* */
|
|
/* */ public int getbOpenWeekday()
|
|
/* */ {
|
|
/* 11 */ return this.bOpenWeekday;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setbOpenWeekday(int bOpenWeekday) {
|
|
/* 15 */ this.bOpenWeekday = bOpenWeekday;
|
|
/* */ }
|
|
/* */
|
|
/* */ public int getnOpenTime() {
|
|
/* 19 */ return this.nOpenTime;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setnOpenTime(int nOpenTime) {
|
|
/* 23 */ this.nOpenTime = nOpenTime;
|
|
/* */ }
|
|
/* */
|
|
/* */ public int getbCloseWeekday() {
|
|
/* 27 */ return this.bCloseWeekday;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setbCloseWeekday(int bCloseWeekday) {
|
|
/* 31 */ this.bCloseWeekday = bCloseWeekday;
|
|
/* */ }
|
|
/* */
|
|
/* */ public int getnCloseTime() {
|
|
/* 35 */ return this.nCloseTime;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setnCloseTime(int nCloseTime) {
|
|
/* 39 */ this.nCloseTime = nCloseTime;
|
|
/* */ }
|
|
/* */
|
|
/* */ public String toString()
|
|
/* */ {
|
|
/* 44 */ return "关机配置=" + (this.bCloseWeekday == 1 ? "每天" : "未配置") + ", 关机时间=" +
|
|
/* 45 */ String.format("%02d:%02d", new Object[] {
|
|
/* 45 */ Integer.valueOf(0),
|
|
/* 45 */ Integer.valueOf(this.nCloseTime) }) + ", 开机配置=" + (
|
|
/* 46 */ this.bOpenWeekday == 1 ? "每天" : "未配置") + ", 开机时间=" +
|
|
/* 47 */ String.format("%02d:%02d", new Object[] {
|
|
/* 47 */ Integer.valueOf(0),
|
|
/* 47 */ Integer.valueOf(this.nOpenTime) });
|
|
/* */ }
|
|
/* */ }
|
|
|
|
/* Location: C:\Users\JingJing\Desktop\i1aar\dsdevicesdk1.3\classes.jar
|
|
* Qualified Name: com.dowse.devicesdk.McuDevTimeParam
|
|
* JD-Core Version: 0.6.0
|
|
*/ |