智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LightingSystemApp-serial/.svn/pristine/9d/9d870af205b2af746efe52c94d1...

15 lines
295 B

3 years ago
'use strict';
var parseColor = require('../parsers').parseColor;
module.exports.definition = {
set: function(v) {
this._setProperty('flood-color', parseColor(v));
},
get: function() {
return this.getPropertyValue('flood-color');
},
enumerable: true,
configurable: true,
};