start
:拍照;
if (一景一张) then
:拍照;
:上传;
if(wu) then (yes)
:提交;
elseif(dd)
:tishi;
else(失败)
:退出;
endif
else if (一景多张)
fork
:拍照;
:上传;
fork again
:拍照;
:上传;
end fork
:commit;
stop
else if (多步多张) then (YES)
if(第一步) then (yes)
fork
:拍照;
:上传;
fork again
:拍照;
:上传;
end fork
:commit;
stop
else if(第二步) then (yes)
fork
:拍照;
:上传;
fork again
:拍照;
:上传;
end fork
:commit;
stop
else if (第..) then (yes)
fork
:拍照;
:上传;
fork again
:拍照;
:上传;
end fork
:commit;
stop
endif
endif
stop