Device, method and program for automatic control computers for electromagnetic dampers