|
@@ -162,6 +162,7 @@ const PS_IOR_KEYS = [
|
|
|
['-2', 'ior_rh_25', 'ior_wmh_2', 'ior_rac_15'],
|
|
['-2', 'ior_rh_25', 'ior_wmh_2', 'ior_rac_15'],
|
|
|
['+1', 'ior_rah_05', 'ior_wmc_1', 'ior_rc_15'],
|
|
['+1', 'ior_rah_05', 'ior_wmc_1', 'ior_rc_15'],
|
|
|
['+2', 'ior_rah_15', 'ior_wmc_2', 'ior_rc_25'],
|
|
['+2', 'ior_rah_15', 'ior_wmc_2', 'ior_rc_25'],
|
|
|
|
|
+ ['2-3', 'ior_ot_2', 'ior_os_2#3', 'ior_ot_3'],
|
|
|
];
|
|
];
|
|
|
|
|
|
|
|
const formatPsEvents = (events) => {
|
|
const formatPsEvents = (events) => {
|
|
@@ -234,6 +235,15 @@ const formatEvents = (events, cprKeys) => {
|
|
|
index = 2;
|
|
index = 2;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ else if (type === 'ou') {
|
|
|
|
|
+ ratioKey = `ou_${Math.abs(ratio)}`;
|
|
|
|
|
+ if (side === 'c') {
|
|
|
|
|
+ index = 0;
|
|
|
|
|
+ }
|
|
|
|
|
+ else if (side === 'h') {
|
|
|
|
|
+ index = 2;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
if (typeof (ratioKey) == 'number') {
|
|
if (typeof (ratioKey) == 'number') {
|
|
|
if (ratioKey > 0) {
|
|
if (ratioKey > 0) {
|
|
|
ratioKey = `+${ratioKey}`;
|
|
ratioKey = `+${ratioKey}`;
|