public Meridian SlaveOf(Meridian organMaster) { if (organMaster.ID == 2) { return(Meridians[1]); } if (organMaster.ID == 5) { return(Meridians[4]); } foreach (var o in Meridians) { if (o.Value.Master.ID == organMaster.ID) { return(o.Value); } } return(null); }
public Meridian SonOf(Meridian organMother) { if (organMother.ID == 2) { return(Meridians[12]); } if (organMother.ID == 5) { return(Meridians[8]); } foreach (var o in Meridians) { if (o.Value.Mother.ID == organMother.ID) { return(o.Value); } } return(null); }
public decimal IndGOf(Meridian organ) { decimal G = (organ.G_as_Master + organ.G_as_Mother + organ.Mother.G_as_Mother + organ.Master.G_as_Master) / 4; return(G); }