public override void Push(CStream Stream_) { { Byte Var = 0; Stream_.Pop(ref Var); OS = (EOS)Var; } }
public override void Push(JsonDataObject Value_) { { Byte Var = 0; Value_.Pop("OS", ref Var); OS = (EOS)Var; } }
private void Ar_Ross() { double P = 0; try { P = EOS.Ar_Ross(Convert.ToDouble(textBoxArA.Text) / 10); } catch { } textBoxArRoss.Text = P.ToString("f3"); }
public void ShouldConvertToStringWithBullet() { EOS predicate; predicate = new EOS(); Assert.AreEqual("•¤", predicate.ToString(predicate)); }
private void Ar_Jephcoat() { double P = 0; try { P = EOS.Ar_Jephcoat(Convert.ToDouble(textBoxArA.Text) / 10, temperature); } catch { } textBoxArJephcoat.Text = P.ToString("f3"); }
// When you release and shutdown the SDK library, you cannot initialize it again. // Make sure this is done at a relevant time in your game's lifecycle. // If you are working in editor, it is advised you do not release and shutdown the SDK // as you would be required to restart Unity to initialize the SDK again. private void OnDestroy() { if (!Application.isEditor && EOS != null) { EOS.Release(); EOS = null; PlatformInterface.Shutdown(); } }
private void Corundum() { double v = numericalTextBoxColundumV.Value; double v0 = numericalTextBoxColundumV0.Value; double t = numericalTextBoxTemperature.Value; //Dubrovinsky numericalTextBoxCorundumDubrovinsky.Value = EOS.Corundum_Dubrovinsky(v0, v, t); }
public void ShouldEquals() { EOS a, b; a = new EOS(); b = new EOS(); Assert.IsTrue(a.Equals(b)); Assert.IsTrue(b.Equals(a)); }
public void ShouldNotEquals() { EOS a; a = new EOS(); Assert.IsFalse(a.Equals(null)); Assert.IsFalse(a.Equals(new Terminal('a'))); Assert.IsFalse(a.Equals(new AnyTerminal())); }
public override void Close() { lock (this) { //System.Diagnostics.Trace.WriteLine($"{Name} Close"); Clear(); readclosevent.Set(); writecloseevent.Set(); EOS.Set(); } }
private void NaClB1() { double a = numericalTextBoxNaClB1A.Value; double a0 = numericalTextBoxNaClB1A0.Value; double t = numericalTextBoxTemperature.Value; //Brown numericalTextBoxNaClB1Brown.Value = EOS.NaCl_Brown(a / 10, a0 / 10, t); //Matsui numericalTextBoxNaClB1Matsui.Value = EOS.NaClB1_Matsui(a0, a, t); }
private void NaClB2_SataMgO() { double P = 0; try { P = EOS.NaClB2_Sata(Convert.ToDouble(textBoxNaClB2_a.Text), 32.15, 141.0); } catch { } textBoxNaClB2SataMgO.Text = P.ToString("f3"); }
private void NaClB2_SataPt() { double P = 0; try { P = EOS.NaClB2_Sata(Convert.ToDouble(textBoxNaClB2_a.Text), 31.14, 143.5); } catch { } textBoxNaClB2SataPt.Text = P.ToString("f3"); }
private void Ar() { double a = numericalTextBoxArA.Value, v = a * a * a; double a0 = numericalTextBoxArA0.Value, v0 = a0 * a0 * a0; double t = numericalTextBoxTemperature.Value; //Jephcoat numericalTextBoxArJephcoat.Value = EOS.Ar_Jephcoat(a / 10, t); //Ross numericalTextBoxArRoss.Value = EOS.Ar_Ross(a / 10); }
public static void Run() { while (true) { try { //BTC.Do(); BCH.Do(); ETH.Do(); ETC.Do(); LTC.Do(); EOS.Do(); XRP.Do(); OMG.Do(); DASH.Do(); ZEC.Do(); Thread.Sleep(1000 * 5); // 创新 ITC.Do(); NAS.Do(); RUFF.Do(); ZIL.Do(); DTA.Do(); Thread.Sleep(1000 * 5); LET.Do(); HT.Do(); THETA.Do(); HSR.Do(); QTUM.Do(); Thread.Sleep(1000 * 5); SNT.Do(); IOST.Do(); NEO.Do(); STORJ.Do(); GNT.Do(); Thread.Sleep(1000 * 5); CVC.Do(); SMT.Do(); VEN.Do(); ELF.Do(); XEM.Do(); Thread.Sleep(1000 * 5); } catch (Exception ex) { Console.WriteLine(ex.Message); } } }
private void MgO_Jackson() { double P = 0; try { P = EOS.MieGruneisen(4, Convert.ToDouble(textBoxMgOA.Text) / 10, Convert.ToDouble(textBoxMgOA0.Text) / 10, temperature, 162.5, 4.13, 1.41, 1.3, 673); } catch { } textBoxMgOJacson.Text = P.ToString("f3"); }
private void MgO_Dewaele() { double P = 0; try { P = EOS.MieGruneisen(4, Convert.ToDouble(textBoxMgOA.Text) / 10, Convert.ToDouble(textBoxMgOA0.Text) / 10, temperature, 161, 3.94, 1.45, 0.8, 800); } catch { } textBoxMgODewaele.Text = P.ToString("f3"); }
private void MgO_Aizawa() { double P = 0; try { P = EOS.MieGruneisen(4, Convert.ToDouble(textBoxMgOA.Text) / 10, Convert.ToDouble(textBoxMgOA0.Text) / 10, temperature, 160, 4.15, 1.41, 0.7, 773); } catch { } textBoxMgOAizawa.Text = P.ToString("f3"); }
private void Gold_Sim() { double P = 0; try { P = EOS.MieGruneisen(4, Convert.ToDouble(textBoxGold_a.Text) / 10, Convert.ToDouble(textBoxGold_a0.Text) / 10, temperature, 167, 5.0, 2.97, 1.0, 170); } catch { } textBoxGoldSim.Text = P.ToString("f3"); }
public void ShouldGetInputs() { EOS predicate; IInput <char>[] inputs; predicate = new EOS(); inputs = predicate.GetInputs().ToArray(); Assert.IsNotNull(inputs); Assert.AreEqual(1, inputs.Length); Assert.IsInstanceOfType(inputs[0], typeof(EOSInput <char>)); }
// Calling tick on a regular interval is required for callbacks to work. private void Update() { if (EOS != null) { m_PlatformTickTimer += Time.deltaTime; if (m_PlatformTickTimer >= c_PlatformTickInterval) { m_PlatformTickTimer = 0; EOS.Tick(); } } }
private void Re() { double v = numericalTextBoxReV.Value; double v0 = numericalTextBoxReV0.Value; double t = numericalTextBoxTemperature.Value; //Zha numericalTextBoxReZha.Value = EOS.Re_Zha(v0, v, t); numericBoxReAnz.Value = EOS.Vinet(352.6, 4.56, 29.467, v); numericBoxReSakai.Value = EOS.Vinet(358, 4.8, 29.47, v); numericBoxReDub.Value = EOS.BirchMurnaghan4th(342, 6.15, -0.029, 29.46 / v); }
private void Pt_Holmes() { double P = 0; try { P = EOS.Pt_Holmez(Convert.ToDouble(textBoxT.Text), Convert.ToDouble(textBoxPtA.Text) / 10, Convert.ToDouble(textBoxPtA0.Text) / 10); textBoxPtHolems.Text = P.ToString("f3"); } catch { } }
private void Gold_Anderson() { double P = 0; try { P = EOS.Au_Anderson(Convert.ToDouble(textBoxT.Text), Convert.ToDouble(textBoxGold_a.Text) / 10, Convert.ToDouble(textBoxGold_a0.Text) / 10); textBoxGoldAnderson.Text = P.ToString("f3"); } catch { } }
private void Gold_Tsuchiya() { double P = 0; try { P = EOS.Au_Tsuchiya( Convert.ToDouble(textBoxGold_a.Text) / 10, Convert.ToDouble(textBoxGold_a0.Text) / 10 , Convert.ToDouble(textBoxT.Text)); textBoxGoldTsuchiya.Text = P.ToString("f3"); } catch { } }
private void Pt_Jamieson() { double P = 0; try { P = EOS.Pt_Jamieson( Convert.ToDouble(textBoxPtA.Text) / 10, Convert.ToDouble(textBoxPtA0.Text) / 10, Convert.ToDouble(textBoxT.Text)); textBoxPtJamieson.Text = P.ToString("f3"); } catch { } }
private void Corundum_Dubrovinsky() { double P = 0; try { P = EOS.Corundum_Dubrovinsky( Convert.ToDouble(textBoxColundumV0.Text), Convert.ToDouble(textBoxCorundumV.Text), Convert.ToDouble(textBoxT.Text)); textBoxCorundumDubrovinsky.Text = P.ToString("f3"); } catch { } }
private void Re_Zha() { double P = 0; try { P = EOS.Re_Zha( Convert.ToDouble(textBoxReV0.Text), Convert.ToDouble(textBoxReV.Text), Convert.ToDouble(textBoxT.Text)); textBoxReZha.Text = P.ToString("f3"); } catch { } }
private void Gold_Jamieson() { double P = 0; try { P = EOS.Au_Jamieson( Convert.ToDouble(textBoxGold_a.Text) / 10, Convert.ToDouble(textBoxGold_a0.Text) / 10, Convert.ToDouble(textBoxT.Text)); } catch { } textBoxGoldJamieson.Text = P.ToString("f3"); }
private void MgO() { double a = numericalTextBoxMgOA.Value, v = a * a * a; double a0 = numericalTextBoxMgOA0.Value, v0 = a0 * a0 * a0; double t = numericalTextBoxTemperature.Value; //Aizawa numericalTextBoxMgOAizawa.Value = EOS.BirchMurnaghan3rd(160, 4.15, v0, v) + EOS.MieGruneisen(4, 2, 773, 1.41, 0.7, 300, v0, t, v); //Dewaele numericalTextBoxMgODewaele.Value = EOS.BirchMurnaghan3rd(161, 3.94, v0, v) + EOS.MieGruneisen(4, 2, 800, 1.45, 0.8, 300, v0, t, v); //Jacson numericalTextBoxMgOJacson.Value = EOS.BirchMurnaghan3rd(162.5, 4.13, v0, v) + EOS.MieGruneisen(4, 2, 673, 1.41, 1.3, 300, v0, t, v); numericBoxMgOTangeVinet.Value = EOS.MgO_Tange_Vinet(t, v0, v); numericBoxMgOTangeBM.Value = EOS.MgO_Tange_BM(t, v0, v); }