From 10c74eb31dec184780a3677ee360bcdfc58ef249 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 11 Dec 2011 12:03:55 -0800 Subject: [PATCH] Add the "Common European Cylinders" as per Henrik This is Henrik's list of common metric sized cylinders, although my experience differs from this one. In Cyprus, I was diving double 12L cylinders, but they were 200 bar, not the 232 bar ones Henrik has on the list. Also, I really think we should just have a checkbox for "double" instead of naming them explicitly like this. Henrik does have the 12L 200 bar ones in his singles list. But as a stop-gap, I'm just taking the values from Henrik's patch, but converted to the new cleaned-up reference tank model setup. Based-on-patch-by: Henrik Brautaset Aronsen Signed-off-by: Linus Torvalds --- equipment.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/equipment.c b/equipment.c index f14733f..023db75 100644 --- a/equipment.c +++ b/equipment.c @@ -479,6 +479,17 @@ static struct tank_info { { "HP119", .cuft = 119, .psi = 3442 }, { "HP130", .cuft = 130, .psi = 3442 }, + /* Common European steel cylinders */ + { "10L 300 bar", .ml = 10000, .bar = 300 }, + { "12L 200 bar", .ml = 12000, .bar = 200 }, + { "12L 232 bar", .ml = 12000, .bar = 232 }, + { "12L 300 bar", .ml = 12000, .bar = 300 }, + { "15L 200 bar", .ml = 15000, .bar = 200 }, + { "15L 232 bar", .ml = 15000, .bar = 232 }, + { "D7 300 bar", .ml = 14000, .bar = 300 }, + { "D8.5 232 bar", .ml = 17000, .bar = 232 }, + { "D12 232 bar", .ml = 24000, .bar = 232 }, + /* We'll fill in more from the dive log dynamically */ { NULL, } }; -- 2.45.2