示例#1
0
 public static List <ZclCommandParam> GetClusterCommandParams(ushort clusterId, byte cmdId)
 {
     return(ClusterCommands.Single(c => c.Id == cmdId && c.Cluster.Id == clusterId).Params);
 }
示例#2
0
 public static ZclClusterCommand GetClusterCommand(string cluster, string cmd)
 {
     return(ClusterCommands.Single(fc => fc.Cluster.Equals(cluster) && fc.Name.Equals(cmd)));
 }