Skip to content
Snippets Groups Projects
Commit e94faf1c authored by Pierre Minssen's avatar Pierre Minssen
Browse files

ajout des reponses en un fichier

parent de28297e
No related branches found
No related tags found
No related merge requests found
"""
Dictionary of responds for command and inquiry
"""
basic_respond = {'905002FF': "On", 'y05003FF': "Off", "905000FF": "auto/standard"}
wb_mode_respond = {"905000FF": "auto", "905001FF": "In Door", "905002FF": "Out Door",
"905003FF": "One Push WB", "905004FF": "ATW", "905005FF": "Manual"}
ae_mode_respond = {'905000FF': "Full auto", '905003FF': "Manual", "90500AFF": "Shutter Priorit9", "90500BFF": "Iris priority", "90500DFF": "Bright"}
wd_mode_respond = {"905000FF": "Off", "905002FF": "Low",
"905003FF": "Mid", "905004FF": "High"}
picture_mode_respond = {"905000FF": "Off", "905002FF": "Neg.Art", "905004FF": "B&W"}
video_system_respond = {"905000FF": "1920 x 1080 p / 59.94", "905002FF": "1920 x 1080 p / 29.97",
"905003FF": "1920 x 1080 i / 59.94", "905004FF": "1280 x 720 p / 59.94",
"905005FF": "1280 x 720 p / 29.97", "905008FF": "1920 x 1080p / 50",
"90500AFF": "1920 x 1080 p / 25", "90500BFF": "1920 x 1080 i / 50",
"90500CFF": "1280 x 720 p / 50", "90500DFF": "1280 x 720 p / 25"}
color_system_respond = {"905000FF": "HDMI YUV", "905001FF": "HDMI GBR",
"905002FF": "DVI GBR", "905003FF": "DVI YUV"}
ir_condition = {"905000FF": "ir remote commander stable reception enable",
"905001FF": "ir remote commander reception unstable environment",
"905002FF": "power ON b9 ir remote commander (cannot be judged)"}
default = {'9041ff': "Acknowledge", '9051ff': "Completion", "006002ff": "Syntax Error",
"906003ff": "Command Buffer Full", "906104ff": "Command Canceled", "906105ff": "No Socket",
"906141ff": "Command Not Executable"}
respond_list = {"default": default, "basic_respond": basic_respond, "wb_mode_respond": wb_mode_respond,
"picture_mode_respond": picture_mode_respond, "video_system_respond": video_system_respond,
"color_system_respond": color_system_respond, "ir_condition": ir_condition}
"""
Orginal with y instead of 9 or 1
basic_respond = {'y05002FF': "On", 'y05003FF': "Off", "y05000FF": "auto/standard"}
wb_mode_respond = {"y05000FF": "auto", "y05001FF": "In Door", "y05002FF": "Out Door",
"y05003FF": "One Push WB", "y05004FF": "ATW", "y05005FF": "Manual"}
ae_mode_respond = {'y05000FF': "Full auto", 'y05003FF': "Manual", "y0500AFF": "Shutter Priority", "y0500BFF": "Iris priority", "y0500DFF": "Bright"}
wd_mode_respond = {"y05000FF": "Off", "y05002FF": "Low",
"y05003FF": "Mid", "y05004FF": "High"}
picture_mode_respond = {"y05000FF": "Off", "y05002FF": "Neg.Art", "y05004FF": "B&W"}
video_system_respond = {"y05000FF": "1920 x 1080 p / 59.94", "y05002FF": "1920 x 1080 p / 29.97",
"y05003FF": "1920 x 1080 i / 59.94", "y05004FF": "1280 x 720 p / 59.94",
"y05005FF": "1280 x 720 p / 29.97", "y05008FF": "1920 x 1080p / 50",
"y0500AFF": "1920 x 1080 p / 25", "y0500BFF": "1920 x 1080 i / 50",
"y0500CFF": "1280 x 720 p / 50", "y0500DFF": "1280 x 720 p / 25"}
color_system_respond = {"y05000FF": "HDMI YUV", "y05001FF": "HDMI GBR",
"y05002FF": "DVI GBR", "y05003FF": "DVI YUV"}
ir_condition = {"y05000FF": "ir remote commander stable reception enable",
"y05001FF": "ir remote commander reception unstable environment",
"y05002FF": "power ON by ir remote commander (cannot be judged)"}
default = {'904yff': "Acknowledge", '905yff': "Completion", "006002ff": "Syntax Error",
"906003ff": "Command Buffer Full", "906y04ff": "Command Canceled", "906y05ff": "No Socket",
"906y41ff": "Command Not Executable"}
respond_list = {"default": default, "basic_respond": basic_respond, "wb_mode_respond": wb_mode_respond,
"picture_mode_respond": picture_mode_respond, "video_system_respond": video_system_respond,
"color_system_respond": color_system_respond, "ir_condition": ir_condition}
"""
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment