Changeset 14522 for trunk/FACT++/src


Ignore:
Timestamp:
10/24/12 12:40:33 (12 years ago)
Author:
tbretz
Message:
Added some abbreviations for combined states.
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/HeadersPower.h

    r14519 r14522  
    1717            kConnected,
    1818            kSystemOff,
    19             kCameraOn =  4,
    20             kBiasOn   =  8,
    21             kDriveOn  = 16,
    22             kSystemOn = kCameraOn|kBiasOn|kDriveOn,
     19            kCameraOn  =  4,
     20            kBiasOn    =  8,
     21            kDriveOn   = 16,
     22            kCameraOff = kBiasOn|kDriveOn,
     23            kBiasOff   = kCameraOn|kDriveOn,
     24            kDriveOff  = kCameraOn|kBiasOn,
     25            kSystemOn  = kCameraOn|kBiasOn|kDriveOn,
    2326            kCoolingFailure
    2427        };
  • trunk/FACT++/src/pwrctrl.cc

    r14518 r14522  
    449449                     "Drive and Bias power off, Camera on");
    450450
    451         T::AddStateName(Power::State::kDriveOn|Power::State::kCameraOn, "BiasOff",
     451        T::AddStateName(Power::State::kBiasOff, "BiasOff",
    452452                     "Camera and Drive power on, Bias off");
    453453
    454         T::AddStateName(Power::State::kBiasOn|Power::State::kCameraOn, "DriveOff",
     454        T::AddStateName(Power::State::kDriveOff, "DriveOff",
    455455                     "Camera and Bias power on, Drive off");
    456456
    457         T::AddStateName(Power::State::kDriveOn|Power::State::kBiasOn, "CameraOff",
     457        T::AddStateName(Power::State::kCameraOff, "CameraOff",
    458458                     "Drive and Bias power on, Camera off");
    459459
    460         T::AddStateName(Power::State::kDriveOn|Power::State::kBiasOn|Power::State::kCameraOn, "SystemOn",
     460        T::AddStateName(Power::State::kSystemOn, "SystemOn",
    461461                     "Camera, Bias and drive power on");
    462462
Note: See TracChangeset for help on using the changeset viewer.