public static Interface8 smethod_3( Interface6 resolver, Interface7 subResolver, string content) { Class251.Class254 marker = new Class251.Class254(content); string str = marker.method_2(); if (str == null) { throw new Exception1(); } try { int int32 = Convert.ToInt32(str); if (int32 < Class250.int_7) { return((Interface8) new Class251(resolver, subResolver, int32, marker)); } if (int32 < Class250.int_63) { return((Interface8) new Class252(resolver, subResolver, int32, marker)); } return((Interface8) new Class253(resolver, subResolver, int32, marker)); } catch (FormatException ex) { throw new Exception0("Failed to read SAT version number!", (Exception)ex); } }
protected virtual Interface9 vmethod_0( Interface6 entityResolver, Interface7 subEntityResolver, int fileFormatVersion) { return((Interface9) new Class255(entityResolver, subEntityResolver, fileFormatVersion)); }
internal Class255(Interface6 resolver, Interface7 subResolver, int version) { this.interface6_0 = resolver; this.interface7_0 = subResolver; this.int_0 = version; this.stringBuilder_0 = new StringBuilder(); }
internal Class252( Interface6 resolver, Interface7 subResolver, int version, Class251.Class254 marker) : base(resolver, subResolver, version, marker) { }
protected override Interface8 vmethod_0( Interface6 entityResolver, Interface7 subEntityResolver, int fileFormatVersion, Class251.Class254 subReadMarker) { return((Interface8) new Class252(entityResolver, subEntityResolver, fileFormatVersion, subReadMarker)); }
protected virtual Interface9 vmethod_0( Interface6 entityResolver, Interface7 subEntityResolver, int fileFormatVersion, MemoryStream inputStream) { return((Interface9) new Class950(entityResolver, subEntityResolver, fileFormatVersion, inputStream)); }
internal Class950( Interface6 resolver, Interface7 subResolver, int version, MemoryStream stream) { this.interface7_0 = subResolver; this.interface6_0 = resolver; this.int_0 = version; this.memoryStream_0 = stream; }
internal Class251( Interface6 resolver, Interface7 subResolver, int version, Class251.Class254 marker) { this.interface6_0 = resolver; this.interface7_0 = subResolver; this.int_0 = version; this.class254_0 = marker; }
public static Interface9 smethod_5( Interface6 resolver, Interface7 subResolver, int version) { try { return((Interface9) new Class255(resolver, subResolver, version)); } catch (FormatException ex) { throw new Exception0("Failed to write SAT!", (Exception)ex); } }
public Class84 method_5(zzSoundClass class107_0, Class82 class82_0) { if (!this.bool_0) { this.method_3(class107_0); } int int_ = class107_0.method_4(); this.class84_0.method_6(); Interface7 @interface = this.method_4(class107_0, class82_0, int_); @interface.imethod_0(); this.class84_0.method_5(); return(this.class84_0); }
public static Interface8 smethod_4( Interface6 resolver, Interface7 subResolver, MemoryStream content) { try { int version = Class1045.smethod_7((Stream)content); return((Interface8) new Class951(resolver, subResolver, version, content)); } catch (FormatException ex) { throw new Exception0("Failed to read SAT version number!", (Exception)ex); } }
public static Interface9 smethod_6( Interface6 resolver, Interface7 subResolver, MemoryStream content, int version) { try { Class1045.smethod_9((Stream)content, version); return((Interface9) new Class950(resolver, subResolver, version, content)); } catch (FormatException ex) { throw new Exception0("Failed to write SAT version number!", (Exception)ex); } }
private Interface7 method_4(zzSoundClass class107_0, Class82 class82_0, int int_2) { Interface7 @interface = null; switch (int_2) { case 1: if (this.class92_0 == null) { this.class92_0 = new Class92(); this.class92_0.vmethod_0(class82_0, class107_0, this.class80_0, this.class80_1, this.class84_0, this.class104_1.method_0()); } @interface = this.class92_0; break; case 2: if (this.class93_0 == null) { this.class93_0 = new Class93(); this.class93_0.vmethod_0(class82_0, class107_0, this.class80_0, this.class80_1, this.class84_0, this.class104_1.method_0()); } @interface = this.class93_0; break; case 3: if (this.class85_0 == null) { this.class85_0 = new Class85(class82_0, class107_0, this.class80_0, this.class80_1, this.class84_0, this.class104_1.method_0()); } @interface = this.class85_0; break; } if (@interface == null) { throw new DecoderException(DecoderError.UnsupportedLayer, null); } return(@interface); }
private static Interface8 smethod_0( Interface6 resolver, Interface7 subResolver, int version, MemoryStream stream) { int num = Class1045.smethod_7((Stream)stream); string empty = string.Empty; for (int index = 0; index < num; ++index) { empty += (string)(object)(char)stream.ReadByte(); } Class251.Class254 marker = new Class251.Class254(empty); if (version < Class250.int_7) { return((Interface8) new Class251(resolver, subResolver, version, marker)); } if (version < Class250.int_63) { return((Interface8) new Class252(resolver, subResolver, version, marker)); } return((Interface8) new Class253(resolver, subResolver, version, marker)); }
// Update is called once per frame void Update() { var ONE = Interface1.ReadNodeValue("ns=3;s=\"dbRfidData\".\"ID1\".\"iCarrierID\""); text1 = ("RFID tag at machine 1 is ") + ONE.ToString(); FM1.text = text1; if (ONE == null) { FM1.text = ("No reading RFID machine 1"); } var TWO = Interface2.ReadNodeValue("ns = 3; s = \"dbRfidData\".\"ID1\".\"iCarrierID\""); text2 = ("RFID tag at machine 2 is ") + TWO.ToString(); FM2.text = text2; if (TWO == null) { FM2.text = ("No reading RFID machine 2"); } var THREE = Interface3.ReadNodeValue("ns = 3; s = \"dbRfidData\".\"ID1\".\"iCarrierID\""); text3 = ("RFID tag at machine 3 is ") + THREE.ToString(); FM3.text = text3; if (THREE == null) { FM3.text = ("No reading RFID machine 3"); } var FOUR = Interface4.ReadNodeValue("ns = 3; s = \"dbRfidData\".\"ID1\".\"iCarrierID\""); text4 = ("RFID tag at machine 4 is ") + FOUR.ToString(); FM4.text = text4; if (FOUR == null) { FM4.text = ("No reading RFID machine 4"); } var FIVE = Interface5.ReadNodeValue("ns = 3; s = \"dbRfidData\".\"ID1\".\"iCarrierID\""); text5 = ("RFID tag at machine 5 is ") + FIVE.ToString(); FM5.text = text5; if (FIVE == null) { FM5.text = ("No reading RFID machine 5"); } var SIX = Interface6.ReadNodeValue("ns = 3; s = \"dbRfidData\".\"ID1\".\"iCarrierID\""); text6 = ("RFID tag at machine 6 is ") + SIX.ToString(); FM6.text = text6; if (SIX == null) { FM6.text = ("No reading RFID machine 6"); } var SEVEN = Interface7.ReadNodeValue("ns = 3; s = \"dbRfidData\".\"ID1\".\"iCarrierID\""); text7 = ("RFID tag at machine 7 is ") + SEVEN.ToString(); FM7.text = text7; if (SEVEN == null) { FM7.text = ("No reading RFID machine 7"); } var EIGHT = Interface8.ReadNodeValue("ns = 3; s = \"dbRfidData\".\"ID1\".\"iCarrierID\""); text8 = ("RFID tag at machine 8 is ") + EIGHT.ToString(); FM8.text = text8; if (EIGHT == null) { FM8.text = ("No reading RFID machine 8"); } var NINE = Interface9.ReadNodeValue("ns = 3; s = \"dbRfidData\".\"ID1\".\"iCarrierID\""); text9 = ("RFID tag at machine 9 is ") + NINE.ToString(); FM9.text = text9; if (NINE == null) { FM9.text = ("No reading RFID machine 9"); } }
IEnumerator EmgStopCheck() { checkEmgStop = false; yield return(new WaitForSeconds(0.05f)); var EMG1 = Interface1.ReadNodeValue("ns=3;s=\"dbOpPanel\".\"OpPanelBtn\".\"xEmStop\""); if (EMG1 == null) { idle1.SetActive(true); emergency1.SetActive(false); good1.SetActive(false); overlayGood.SetActive(true); overlayEmergency.SetActive(false); info.text = "No emergency"; } if (EMG1 != null && EMG1.ToString() == active) { emergency1.SetActive(true); idle1.SetActive(false); good1.SetActive(false); overlayGood.SetActive(false); overlayEmergency.SetActive(true); info.text = "Check emergency on Machine 1!"; } if (EMG1 != null && EMG1.ToString() == inactive) { good1.SetActive(true); idle1.SetActive(false); emergency1.SetActive(false); overlayGood.SetActive(true); overlayEmergency.SetActive(false); info.text = "No emergency"; } yield return(new WaitForSeconds(0.05f)); var EMG2 = Interface2.ReadNodeValue("ns=3;s=\"dbOpPanel\".\"OpPanelBtn\".\"xEmStop\""); if (EMG2 == null) { idle2.SetActive(true); emergency2.SetActive(false); good2.SetActive(false); overlayGood.SetActive(true); overlayEmergency.SetActive(false); info.text = "No emergency"; } if (EMG2 != null && EMG2.ToString() == active) { emergency2.SetActive(true); idle2.SetActive(false); good2.SetActive(false); overlayGood.SetActive(false); overlayEmergency.SetActive(true); info.text = "Check emergency on Machine 2!"; } if (EMG2 != null && EMG2.ToString() == inactive) { good2.SetActive(true); idle2.SetActive(false); emergency2.SetActive(false); overlayGood.SetActive(true); overlayEmergency.SetActive(false); info.text = "No emergency"; } yield return(new WaitForSeconds(0.05f)); var EMG3 = Interface3.ReadNodeValue("ns=3;s=\"dbOpPanel\".\"OpPanelBtn\".\"xEmStop\""); if (EMG3 == null) { idle3.SetActive(true); emergency3.SetActive(false); good3.SetActive(false); overlayGood.SetActive(true); overlayEmergency.SetActive(false); info.text = "No emergency"; } if (EMG3 != null && EMG3.ToString() == active) { emergency3.SetActive(true); idle3.SetActive(false); good3.SetActive(false); overlayGood.SetActive(false); overlayEmergency.SetActive(true); info.text = "Check emergency on Machine 3!"; } if (EMG3 != null && EMG3.ToString() == inactive) { good3.SetActive(true); idle3.SetActive(false); emergency3.SetActive(false); overlayGood.SetActive(true); overlayEmergency.SetActive(false); info.text = "No emergency"; } yield return(new WaitForSeconds(0.05f)); var EMG4 = Interface4.ReadNodeValue("ns=3;s=\"dbOpPanel\".\"OpPanelBtn\".\"xEmStop\""); if (EMG4 == null) { idle4.SetActive(true); emergency4.SetActive(false); good4.SetActive(false); overlayGood.SetActive(true); overlayEmergency.SetActive(false); info.text = "No emergency"; } if (EMG4 != null && EMG4.ToString() == active) { emergency4.SetActive(true); idle4.SetActive(false); good4.SetActive(false); overlayEmergency.SetActive(true); info.text = "Check emergency on Machine 4!"; } if (EMG4 != null && EMG4.ToString() == inactive) { good4.SetActive(true); idle4.SetActive(false); emergency4.SetActive(false); overlayGood.SetActive(true); overlayEmergency.SetActive(false); info.text = "No emergency"; } yield return(new WaitForSeconds(0.05f)); var EMG5 = Interface5.ReadNodeValue("ns=3;s=\"dbOpPanel\".\"OpPanelBtn\".\"xEmStop\""); if (EMG5 == null) { idle5.SetActive(true); emergency5.SetActive(false); good5.SetActive(false); overlayGood.SetActive(true); overlayEmergency.SetActive(false); info.text = "No emergency"; } if (EMG5 != null && EMG5.ToString() == active) { emergency5.SetActive(true); idle5.SetActive(false); good5.SetActive(false); good4.SetActive(false); overlayEmergency.SetActive(true); info.text = "Check emergency on Machine 5!"; } if (EMG5 != null && EMG5.ToString() == inactive) { good5.SetActive(true); idle5.SetActive(false); emergency5.SetActive(false); overlayGood.SetActive(true); overlayEmergency.SetActive(false); info.text = "No emergency"; } yield return(new WaitForSeconds(0.05f)); var EMG6 = Interface6.ReadNodeValue("ns=3;s=\"dbOpPanel\".\"OpPanelBtn\".\"xEmStop\""); if (EMG6 == null) { idle6.SetActive(true); emergency6.SetActive(false); good6.SetActive(false); overlayGood.SetActive(true); overlayEmergency.SetActive(false); info.text = "No emergency"; } if (EMG6 != null && EMG6.ToString() == active) { emergency6.SetActive(true); idle6.SetActive(false); good6.SetActive(false); good4.SetActive(false); overlayEmergency.SetActive(true); info.text = "Check emergency on Machine 6!"; } if (EMG6 != null && EMG6.ToString() == inactive) { good6.SetActive(true); idle6.SetActive(false); emergency6.SetActive(false); overlayGood.SetActive(true); overlayEmergency.SetActive(false); info.text = "No emergency"; } yield return(new WaitForSeconds(0.05f)); var EMG7 = Interface7.ReadNodeValue("ns=3;s=\"dbOpPanel\".\"OpPanelBtn\".\"xEmStop\""); if (EMG7 == null) { idle7.SetActive(true); emergency7.SetActive(false); good7.SetActive(false); overlayGood.SetActive(true); overlayEmergency.SetActive(false); info.text = "No emergency"; } if (EMG7 != null && EMG7.ToString() == active) { emergency7.SetActive(true); idle7.SetActive(false); good7.SetActive(false); good4.SetActive(false); overlayEmergency.SetActive(true); info.text = "Check emergency on Machine 7!"; } if (EMG7 != null && EMG7.ToString() == inactive) { good7.SetActive(true); idle7.SetActive(false); emergency7.SetActive(false); overlayGood.SetActive(true); overlayEmergency.SetActive(false); info.text = "No emergency"; } yield return(new WaitForSeconds(0.05f)); var EMG8 = Interface8.ReadNodeValue("ns=3;s=\"dbOpPanel\".\"OpPanelBtn\".\"xEmStop\""); if (EMG8 == null) { idle8.SetActive(true); emergency8.SetActive(false); good8.SetActive(false); overlayGood.SetActive(true); overlayEmergency.SetActive(false); info.text = "No emergency"; } if (EMG8 != null && EMG4.ToString() == active) { emergency8.SetActive(true); idle4.SetActive(false); good8.SetActive(false); good4.SetActive(false); overlayEmergency.SetActive(true); info.text = "Check emergency on Machine 8!"; } if (EMG8 != null && EMG8.ToString() == inactive) { good8.SetActive(true); idle8.SetActive(false); emergency8.SetActive(false); overlayGood.SetActive(true); overlayEmergency.SetActive(false); info.text = "No emergency"; } yield return(new WaitForSeconds(0.05f)); var EMG9 = Interface9.ReadNodeValue("ns=3;s=\"dbOpPanel\".\"OpPanelBtn\".\"xEmStop\""); if (EMG9 == null) { idle9.SetActive(true); emergency9.SetActive(false); good9.SetActive(false); overlayGood.SetActive(true); overlayEmergency.SetActive(false); info.text = "No emergency"; } if (EMG9 != null && EMG9.ToString() == active) { emergency9.SetActive(true); idle9.SetActive(false); good9.SetActive(false); good4.SetActive(false); overlayEmergency.SetActive(true); info.text = "Check emergency on Machine 9!"; } if (EMG9 != null && EMG9.ToString() == inactive) { good9.SetActive(true); idle9.SetActive(false); emergency9.SetActive(false); overlayGood.SetActive(true); overlayEmergency.SetActive(false); info.text = "No emergency"; } yield return(new WaitForSeconds(0.5f)); checkEmgStop = true; }
internal Class783(Document A_0, Interface7 A_1) { this.document_0 = A_0; this.interface7_0 = A_1; }
IEnumerator RFIDDataCheck() { timeToCheck = false; yield return(new WaitForSeconds(0.15f)); var ONE = Interface1.ReadNodeValue("ns=3;s=\"dbRfidData\".\"ID1\".\"iCarrierID\""); if (ONE == null) { FM1.text = ("No reading RFID machine 1"); } else { text1 = ("The last RFID tag at machine 1 was ") + ONE.ToString(); FM1.text = text1; } yield return(new WaitForSeconds(0.15f)); var TWO = Interface2.ReadNodeValue("ns=3;s=\"dbRfidData\".\"ID1\".\"iCarrierID\""); if (TWO == null) { FM2.text = ("No reading RFID machine 2"); } else { text2 = ("The last RFID tag at machine 2 was ") + TWO.ToString(); FM2.text = text2; } yield return(new WaitForSeconds(0.15f)); var THREE = Interface3.ReadNodeValue("ns=3;s=\"dbRfidData\".\"ID1\".\"iCarrierID\""); if (THREE == null) { FM3.text = ("No reading RFID machine 3"); } else { text1 = ("The last RFID tag at machine 3 was ") + THREE.ToString(); FM3.text = text3; } yield return(new WaitForSeconds(0.15f)); var FOUR = Interface4.ReadNodeValue("ns=3;s=\"dbRfidData\".\"ID1\".\"iCarrierID\""); if (FOUR == null) { FM4.text = ("No reading RFID machine 4"); } else { text4 = ("The last RFID tag at machine 4 was ") + FOUR.ToString(); FM4.text = text4; } yield return(new WaitForSeconds(0.15f)); var FIVE = Interface5.ReadNodeValue("ns=3;s=\"dbRfidData\".\"ID1\".\"iCarrierID\""); if (FIVE == null) { FM5.text = ("No reading RFID machine 5"); } else { text5 = ("The last RFID tag at machine 5 was ") + FIVE.ToString(); FM5.text = text5; } yield return(new WaitForSeconds(0.15f)); var SIX = Interface6.ReadNodeValue("ns=3;s=\"dbRfidData\".\"ID1\".\"iCarrierID\""); if (SIX == null) { FM6.text = ("No reading RFID machine 6"); } else { text6 = ("The last RFID tag at machine 6 was ") + SIX.ToString(); FM6.text = text6; } yield return(new WaitForSeconds(0.15f)); var SEVEN = Interface7.ReadNodeValue("ns=3;s=\"dbRfidData\".\"ID1\".\"iCarrierID\""); if (SEVEN == null) { FM7.text = ("No reading RFID machine 7"); } else { text7 = ("The last RFID tag at machine 7 was ") + SEVEN.ToString(); FM7.text = text7; } yield return(new WaitForSeconds(0.15f)); var EIGHT = Interface8.ReadNodeValue("ns=3;s=\"dbRfidData\".\"ID1\".\"iCarrierID\""); if (EIGHT == null) { FM8.text = ("No reading RFID machine 8"); } else { text8 = ("The last RFID tag at machine 8 was ") + EIGHT.ToString(); FM8.text = text8; } yield return(new WaitForSeconds(0.15f)); var NINE = Interface9.ReadNodeValue("ns=3;s=\"dbRfidData\".\"ID1\".\"iCarrierID\""); if (NINE == null) { FM9.text = ("No reading RFID machine 9"); } else { text9 = ("The last RFID tag at machine 9 was ") + NINE.ToString(); FM9.text = text9; } yield return(new WaitForSeconds(0.3f)); timeToCheck = true; }
public Test6(Interface7 i2) { }