Control device for a refrigerating machine