| | |
| | | } |
| | | } |
| | | } |
| | | return _intervalValue; |
| | | if (_intervalValue.Count > 0) |
| | | return _intervalValue; |
| | | } |
| | | |
| | | |
| | |
| | | { |
| | | if (function.spk.Replace(".", "").Contains(attrKey.key.Replace(".", ""))) |
| | | { |
| | | return attrKey.unit; |
| | | if (string.IsNullOrEmpty(attrKey.unit)) |
| | | return attrKey.unit; |
| | | } |
| | | } |
| | | } |
| | |
| | | { |
| | | foreach (var info in attrKey.configs) |
| | | { |
| | | _levelColorList.Add(info.color); |
| | | _levelColorList.Add(Convert.ToUInt32(info.color, 16)); |
| | | } |
| | | } |
| | | } |
| | | return _levelColorList; |
| | | if (_levelColorList.Count > 0) |
| | | return _levelColorList; |
| | | } |
| | | |
| | | string spk = function.spk; |
| | |
| | | } |
| | | } |
| | | } |
| | | return _levelTextList; |
| | | if (_levelTextList.Count > 0) |
| | | return _levelTextList; |
| | | } |
| | | |
| | | string spk = function.spk; |