Skip to content

Commit

Permalink
花巨资入手了DC1,优化用户体验
Browse files Browse the repository at this point in the history
  • Loading branch information
神奇海螺 committed Aug 14, 2019
1 parent b7c6d60 commit 8227aaf
Show file tree
Hide file tree
Showing 72 changed files with 122 additions and 366 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
1. 由于iOS系统限制,自签证书没添加对应的权限会识别不出WiFi名称,可以点击蓝色WiFi图标进行手动输入

## DC1
1. 没有设备,理论上能控制,不保证任何用户体验
1. 已花巨资RMB41.5块钱入手DC1,目前已经完全兼容!

## A1
1. 没有设备,理论上能控制,不保证任何用户体验
Expand Down
4 changes: 2 additions & 2 deletions TC1-NG/APIServiceManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ extension APIServiceManager{
var cmd = [String:Any?]()
switch self.deviceModel.type {
case .TC1:
cmd = ["name":nil,"mac":self.deviceModel.mac,"version":nil,
cmd = ["name":nil,"mac":self.deviceModel.mac,"version":nil,"power":nil,
"setting":["mqtt_uri":nil,"mqtt_port":nil,"mqtt_user":nil,"mqtt_password":nil],
"plug_0":["setting":["name":nil]],
"plug_1":["setting":["name":nil]],
Expand All @@ -279,7 +279,7 @@ extension APIServiceManager{
"plug_5":["setting":["name":nil]]
]
case .DC1:
cmd = ["name":nil,"mac":self.deviceModel.mac,"version":nil,
cmd = ["name":nil,"mac":self.deviceModel.mac,"version":nil,"power":nil,"voltage":nil,"current":nil,
"setting":["mqtt_uri":nil,"mqtt_port":nil,"mqtt_user":nil,"mqtt_password":nil],
"plug_0":["setting":["name":nil]],
"plug_1":["setting":["name":nil]],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
},
{
"idiom" : "universal",
"filename" : "sceneIcon1 x_60x60_@2x.png",
"filename" : "kongmao_day_183x115_@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "sceneIcon1 x_60x60_@3x.png",
"filename" : "kongmao_day_183x115_@3x.png",
"scale" : "3x"
}
],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
},
{
"idiom" : "universal",
"filename" : "sceneIcon2 x_60x60_@2x.png",
"filename" : "homePageBg_375x667_@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "sceneIcon2 x_60x60_@3x.png",
"filename" : "homePageBg_375x667_@3x.png",
"scale" : "3x"
}
],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
22 changes: 0 additions & 22 deletions TC1-NG/Assets.xcassets/sceneIcon3.imageset/Contents.json

This file was deleted.

Binary file not shown.
Binary file not shown.
22 changes: 0 additions & 22 deletions TC1-NG/Assets.xcassets/sceneIcon3_x.imageset/Contents.json

This file was deleted.

Binary file not shown.
Binary file not shown.
22 changes: 0 additions & 22 deletions TC1-NG/Assets.xcassets/sceneIcon4.imageset/Contents.json

This file was deleted.

Binary file not shown.
Binary file not shown.
22 changes: 0 additions & 22 deletions TC1-NG/Assets.xcassets/sceneIcon4_x.imageset/Contents.json

This file was deleted.

Binary file not shown.
Binary file not shown.
22 changes: 0 additions & 22 deletions TC1-NG/Assets.xcassets/sceneIcon5.imageset/Contents.json

This file was deleted.

Binary file not shown.
Binary file not shown.
22 changes: 0 additions & 22 deletions TC1-NG/Assets.xcassets/sceneIcon5_x.imageset/Contents.json

This file was deleted.

Binary file not shown.
Binary file not shown.
22 changes: 0 additions & 22 deletions TC1-NG/Assets.xcassets/sceneIcon6.imageset/Contents.json

This file was deleted.

Binary file not shown.
Diff not rendered.
22 changes: 0 additions & 22 deletions TC1-NG/Assets.xcassets/sceneIcon6_x.imageset/Contents.json

This file was deleted.

Diff not rendered.
Diff not rendered.
22 changes: 0 additions & 22 deletions TC1-NG/Assets.xcassets/sceneIcon7.imageset/Contents.json

This file was deleted.

Diff not rendered.
Diff not rendered.
22 changes: 0 additions & 22 deletions TC1-NG/Assets.xcassets/sceneIcon7_x.imageset/Contents.json

This file was deleted.

Diff not rendered.
Diff not rendered.
22 changes: 0 additions & 22 deletions TC1-NG/Assets.xcassets/sceneIcon8.imageset/Contents.json

This file was deleted.

Diff not rendered.
Diff not rendered.
22 changes: 0 additions & 22 deletions TC1-NG/Assets.xcassets/sceneIcon8_x.imageset/Contents.json

This file was deleted.

Diff not rendered.
Diff not rendered.
22 changes: 0 additions & 22 deletions TC1-NG/Assets.xcassets/sceneIcon9.imageset/Contents.json

This file was deleted.

Diff not rendered.
Diff not rendered.
22 changes: 0 additions & 22 deletions TC1-NG/Assets.xcassets/sceneIcon9_x.imageset/Contents.json

This file was deleted.

Diff not rendered.
Diff not rendered.
Loading

0 comments on commit 8227aaf

Please sign in to comment.