public string ChannelFunctionsInfo(string channel)
{
string on = string.Empty, off = string.Empty;
if(ChannelFunction.ContainsKey(channel.ToLower()))
{
foreach(var comma in ChannelFunction[channel.ToLower()].Split(SchumixBase.Comma))
{
if(comma.IsNullOrEmpty())
continue;
string[] point = comma.Split(SchumixBase.Colon);
if(point[1] == SchumixBase.On)
on += point[0] + SchumixBase.Space;
else
off += point[0] + SchumixBase.Space;
}
}
return on + "|" + off;
}