命局旺衰
一、偏旺 二、太旺 三、旺极 四、中和 五、偏弱 六、太弱 七、弱极。
克、泄、耗都行
克、泄、耗,泄优先
生、帮,泄都行,最忌是克
取生、帮为用
只宜泄和克,不宜生和帮
克泄耗,顺势而为
代码
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
| private void calXiYongShen() { switch (status) { case BAZI_BALANCE: { bang.xiShen = 1; sheng.xiShen = 1; if (bang.number > sheng.number) { sheng.best = 1; } else { bang.best = 1; } } break; case BAZI_BEST: { xie.xiShen = 1; bang.xiShen = 1; sheng.xiShen = 1; xie.best = 1; bang.best = 1; } break;
case BAZI_BETTER: { ke.xiShen = 1; xie.xiShen = 1; hao.xiShen = 1; xie.best = 1; } break;
case BAZI_GOOD: { ke.xiShen = 1; xie.xiShen = 1; hao.xiShen = 1; WuXingScope current; if (ke.number > xie.number) { current = xie; } else { current = ke; } if (current.number > hao.number) { current = hao; } current.best = 1; } break;
case BAZI_BAD: { bang.xiShen = 1; sheng.xiShen = 1; bang.best = 1; sheng.best = 1; } break;
case BAZI_WORSE: { xie.xiShen = 1; ke.xiShen = 1; xie.best = 1; ke.best = 1; } break;
case BAZI_WORST: { ke.xiShen = 1; xie.xiShen = 1; hao.xiShen = 1;
WuXingScope current; if (ke.number < xie.number) { current = xie; } else { current = ke; } if (current.number < hao.number) { current = hao; } current.best = 1; } break;
}
|