File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 180
180
"top" : 94 ,
181
181
"width" : 82 ,
182
182
"height" : 73.4 ,
183
- "central " : [x, y ], // left+(width/2), top+(height/2)
183
+ "centre " : [x, y ], // left+(width/2), top+(height/2)
184
184
"img" :" air.png" ,
185
185
"type" : " AirConditioner" ,
186
186
"object" : {
203
203
"top" : 121 ,
204
204
"width" : 82 ,
205
205
"height" : 73.4 ,
206
- "central " : [x, y ], // left+(width/2), top+(height/2)
206
+ "centre " : [x, y ], // left+(width/2), top+(height/2)
207
207
"img" :" air.png" ,
208
208
"type" : " AirConditioner" ,
209
209
"object" : {
232
232
"top" : 241 ,
233
233
"width" : 46 ,
234
234
"height" : 68.4 ,
235
- "central " : [x, y ], // left+(width/2), top+(height/2)
235
+ "centre " : [x, y ], // left+(width/2), top+(height/2)
236
236
"img" :" heat.png" ,
237
237
"type" : " heat" ,
238
238
"object" : {
264
264
top | 已左上角为原点,离上边轴的距离 | 浮点型 |
265
265
width | 图片的宽 | 浮点型 |
266
266
height | 图片的高 | 浮点型 |
267
+ centre | 图片的中心坐标 | 数组 | [ x, y]
267
268
type | list中的type说明控制对象的类型 | 枚举 | 空调` AirConditioner ` <br >地暖` heat ` <br > ...这里还需要详细定义一下
268
269
object | 控制对象的属性 | 对象 | 不同的type,对象属性不同
You can’t perform that action at this time.
0 commit comments