IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 6, 2007, 9:10:14 AM (19 years ago)
Author:
eugene
Message:

change internal state variable to pantaskState (protect from db fields named state)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/camera.pro

    r13816 r14042  
    8686    end
    8787
    88     # delete existing entries in the appropriate states
     88    # delete existing entries in the appropriate pantaskStates
    8989    process_cleanup camPendingExp
    9090  end
     
    112112    if ($network == 0) break
    113113   
    114     # look for new images in camPendingExp (state == NULL)
    115     book getpage camPendingExp 0 -var pageName -key state NULL
     114    # look for new images in camPendingExp (pantaskState == NULL)
     115    book getpage camPendingExp 0 -var pageName -key pantaskState NULL
    116116    if ($pageName == NULL) break
    117117
    118     book setword camPendingExp $pageName state RUN
     118    book setword camPendingExp $pageName pantaskState RUN
    119119    book getword camPendingExp $pageName camera -var CAMERA
    120120    book getword camPendingExp $pageName exp_id -var EXP_ID
     
    170170  task.exit    timeout
    171171    showcommand timeout
    172     book setword camPendingExp $options:0 state TIMEOUT
     172    book setword camPendingExp $options:0 pantaskState TIMEOUT
    173173  end
    174174end
Note: See TracChangeset for help on using the changeset viewer.