Exemplo n.º 1
0
        private static void HumanDesignTest()
        {
            Console.OutputEncoding = Encoding.UTF8;

            //var date = new DateTime(1977, 8, 30, 5, 10, 0, DateTimeKind.Utc); // Martin
            var date = DateTime.Now.ToUniversalTime();

            var ephemeris = new Ephemeris();
            var entry     = ephemeris.Get(date);

            Console.WriteLine(entry);


            var humanDesignGates = new HumanDesignGates();

            // var sunGate = humanDesignGates.GetDefinedGate((entry.Sun.AbsolutePosition - 88.0).Truncate(360));
            var sunGate   = humanDesignGates.GetDefinedGate(entry.Sun.AbsolutePosition);
            var earthGate = sunGate.GetOppositeGate();

            Console.WriteLine("Sun: " + sunGate);
            Console.WriteLine("Earth: " + earthGate);
            Console.WriteLine("Moon: " + humanDesignGates.GetDefinedGate(entry.Moon.AbsolutePosition));
            Console.WriteLine("North Node: " + humanDesignGates.GetDefinedGate(entry.TrueNode.AbsolutePosition));
            Console.WriteLine("South Node: " + humanDesignGates.GetDefinedGate((entry.TrueNode.AbsolutePosition + 180.0).Truncate(360)));
            Console.WriteLine("Mercury: " + humanDesignGates.GetDefinedGate(entry.Mercury.AbsolutePosition));
            Console.WriteLine("Venus: " + humanDesignGates.GetDefinedGate(entry.Venus.AbsolutePosition));
            Console.WriteLine("Mars: " + humanDesignGates.GetDefinedGate(entry.Mars.AbsolutePosition));
            Console.WriteLine("Jupiter: " + humanDesignGates.GetDefinedGate(entry.Jupiter.AbsolutePosition));
            Console.WriteLine("Saturn: " + humanDesignGates.GetDefinedGate(entry.Saturn.AbsolutePosition));
            Console.WriteLine("Uranus: " + humanDesignGates.GetDefinedGate(entry.Uranus.AbsolutePosition));
            Console.WriteLine("Neptune: " + humanDesignGates.GetDefinedGate(entry.Neptune.AbsolutePosition));
            Console.WriteLine("Pluto: " + humanDesignGates.GetDefinedGate(entry.Pluto.AbsolutePosition));

            Console.WriteLine();
            Console.WriteLine("Martin AC: " + humanDesignGates.GetDefinedGate(Zodiac.Virgo.GetStartDegree() + 13));
            Console.WriteLine("Louise AC: " + humanDesignGates.GetDefinedGate(Zodiac.Cancer.GetStartDegree() + 28));
            Console.WriteLine("David AC: " + humanDesignGates.GetDefinedGate(Zodiac.Gemini.GetStartDegree() + 17));
        }
Exemplo n.º 2
0
        public IEnumerable <string> Get()
        {
            //var date = new DateTime(1977, 8, 30, 5, 10, 0, DateTimeKind.Utc); // Martin
            var date = DateTime.Now.ToUniversalTime();

            var ephemeris = new Ephemeris();
            var entry     = ephemeris.Get(date);

            var humanDesignGates = new HumanDesignGates();

            // var sunGate = humanDesignGates.GetDefinedGate((entry.Sun.AbsolutePosition - 88.0).Truncate(360));
            var sunGate   = humanDesignGates.GetDefinedGate(entry.Sun.AbsolutePosition);
            var earthGate = sunGate.GetOppositeGate();

            yield return("Sun: " + sunGate);

            yield return("Earth: " + earthGate);

            yield return("Moon: " + humanDesignGates.GetDefinedGate(entry.Moon.AbsolutePosition));

            yield return("North Node: " + humanDesignGates.GetDefinedGate(entry.TrueNode.AbsolutePosition));

            yield return("South Node: " + humanDesignGates.GetDefinedGate((entry.TrueNode.AbsolutePosition + 180.0).Truncate(360)));

            yield return("Mercury: " + humanDesignGates.GetDefinedGate(entry.Mercury.AbsolutePosition));

            yield return("Venus: " + humanDesignGates.GetDefinedGate(entry.Venus.AbsolutePosition));

            yield return("Mars: " + humanDesignGates.GetDefinedGate(entry.Mars.AbsolutePosition));

            yield return("Jupiter: " + humanDesignGates.GetDefinedGate(entry.Jupiter.AbsolutePosition));

            yield return("Saturn: " + humanDesignGates.GetDefinedGate(entry.Saturn.AbsolutePosition));

            yield return("Uranus: " + humanDesignGates.GetDefinedGate(entry.Uranus.AbsolutePosition));

            yield return("Neptune: " + humanDesignGates.GetDefinedGate(entry.Neptune.AbsolutePosition));

            yield return("Pluto: " + humanDesignGates.GetDefinedGate(entry.Pluto.AbsolutePosition));
        }