protected override bool Filter(StateEntity entity) { return(entity.HasUid() && entity.HasUidUnit()); }