* @return StreamSelect
*/
public StreamSelect createStreamSelect(
final StreamSelectType type,
final int selectId) {
final StreamSelect stream = factory.createStreamSelect();
switch (type) {
case CameraID:
stream.setStreamID(BigInteger.valueOf(selectId));
break;
case FuelingPointID:
stream.setClientID(Integer.valueOf(selectId));
break;
default:
logger.severe("Unknown Type:" + type);
}
return stream;