text:
0">>VALUE</text>
<rectangle x1="-3.429" y1="-0.3048" x2="-3.175" y2="0.3048" layer="51"/>
<rectangle x1="3.175" y1="-0.3048" x2="3.429" y2="0.3048" layer="51"/>
</package>
</packages>
<symbols>
<symbol name="R-EU">
<wire x1="-2.54" y1="-0.889" x2="2.54" y2="-0.889" width="0.254" layer="94"/>
<wire x1="2.54" y1="0.889" x2="-2.54" y2="0.889" width="0.254" layer="94"/>
<wire x1="2.54" y1="-0.889" x2="2.54" y2="0.889" width="0.254" layer="94"/>
<wire x1="-2.54" y1="-0.889" x2="-2.54" y2="0.889" width="0.254" layer="94"/>
<text x="-3.81" y="1.4986" size="1.778" layer="95">>NAME</text>
<text x="-3.81" y="-3.302" size="1.778" layer="96">>VALUE</text>
<pin name="2" x="5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1" rot="R180"/>
<pin name="1" x="-5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="RESISTOR" prefix="R" uservalue="yes">
<description><B>RESISTOR</B>, European symbol</description>
<gates>
<gate name="G$1" symbol="R-EU" x="0" y="0"/>
</gates>
<devices>
<device name="RESISTOR/7.5" package="RESISTOR/UPRIGHT/2.5">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="RESISTOR/UPRIGHT/7.5" package="RESISTOR/7.5">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<classes>
<class number="0" name="default" width="0" drill="0">
</class>
</classes>
<parts>
<part name="SUPPLY1" library="supply" deviceset="GND" device="">
<attribute name="SPICEPREFIX" value="G"/>
</part>
<part name="SUPPLY2" library="supply" deviceset="-12V" device="">
<attribute name="SPICEPREFIX" value="G"/>
</part>
<part name="SUPPLY3" library="supply" deviceset="+12V" device="">
<attribute name="SPICEPREFIX" value="G"/>
</part>
<part name="+V" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="GND" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="-V" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="C1" library="capacitors" deviceset="CAPACITOR/POLARIZED" device="E2.5-6" value="0.33uF">
<attribute name="SPICEPREFIX" value="C"/>
</part>
<part name="C3" library="capacitors" deviceset="CAPACITOR/POLARIZED" device="E2.5-6" value="0.1uF">
<attribute name="SPICEPREFIX" value="C"/>
</part>
<part name="IC2" library="ic_voltage_reg" deviceset="78*" device="TV" technology="05"/>
<part name="C29" library="capacitors" deviceset="CAPACITOR/POLARIZED" device="E2.5-6" value="0.1uF">
<attribute name="SPICEPREFIX" value="C"/>
</part>
<part name="UADSR1_+12V" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UDSR1_GND" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR1_-12V" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR2_+12V" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR2_GND" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR2_-12V" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="GATE1" library="controls" deviceset="WQP-PJ301M-12_JACK" device=""/>
<part name="TRIG1" library="controls" deviceset="WQP-PJ301M-12_JACK" device=""/>
<part name="GATE2" library="controls" deviceset="WQP-PJ301M-12_JACK" device=""/>
<part name="TRIG2" library="controls" deviceset="WQP-PJ301M-12_JACK" device=""/>
<part name="GATE3" library="controls" deviceset="WQP-PJ301M-12_JACK" device=""/>
<part name="TRIG3" library="controls" deviceset="WQP-PJ301M-12_JACK" device=""/>
<part name="GATE4" library="controls" deviceset="WQP-PJ301M-12_JACK" device=""/>
<part name="TRIG4" library="controls" deviceset="WQP-PJ301M-12_JACK" device=""/>
<part name="OUT1" library="controls" deviceset="WQP-PJ301M-12_JACK" device=""/>
<part name="OUT2" library="controls" deviceset="WQP-PJ301M-12_JACK" device=""/>
<part name="OUT3" library="controls" deviceset="WQP-PJ301M-12_JACK" device=""/>
<part name="SUPPLY4" library="supply" deviceset="+12V" device="">
<attribute name="SPICEPREFIX" value="G"/>
</part>
<part name="SUPPLY5" library="supply" deviceset="-12V" device="">
<attribute name="SPICEPREFIX" value="G"/>
</part>
<part name="SUPPLY6" library="supply" deviceset="GND" device="">
<attribute name="SPICEPREFIX" value="G"/>
</part>
<part name="VR1" library="controls" deviceset="9MM_SNAP-IN_POT" device="_"/>
<part name="VR2" library="controls" deviceset="9MM_SNAP-IN_POT" device="_"/>
<part name="VR3" library="controls" deviceset="9MM_SNAP-IN_POT" device="_"/>
<part name="VR4" library="controls" deviceset="9MM_SNAP-IN_POT" device="_"/>
<part name="SUPPLY7" library="supply" deviceset="GND" device="">
<attribute name="SPICEPREFIX" value="G"/>
</part>
<part name="SUPPLY9" library="supply" deviceset="GND" device="">
<attribute name="SPICEPREFIX" value="G"/>
</part>
<part name="SUPPLY11" library="supply" deviceset="GND" device="">
<attribute name="SPICEPREFIX" value="G"/>
</part>
<part name="SUPPLY13" library="supply" deviceset="GND" device="">
<attribute name="SPICEPREFIX" value="G"/>
</part>
<part name="SUPPLY16" library="supply" deviceset="GND" device="">
<attribute name="SPICEPREFIX" value="G"/>
</part>
<part name="OUT4" library="controls" deviceset="WQP-PJ301M-12_JACK" device=""/>
<part name="UADSR1_ATK" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR1_DCY" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR1_SUS" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR1_REL" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR1_GATE" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR1_TRIG" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR1_PK" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR1_OUT" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR1_INV" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR3_-12V" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR4_-12V" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR3_GND" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR4_GND" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR3_+12V" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR4_+12V" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR2_ATK" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR2_DCY" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR2_SUS" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR2_REL" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR2_GATE" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR2_TRIG" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR2_PK" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR2_OUT" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR2_INV" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR3_ATK" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR3_DCY" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR3_SUS" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR3_REL" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR3_GATE" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR3_TRIG" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR3_PK" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR3_OUT" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR3_INV" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR4_ATK" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR4_DCY" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR4_SUS" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR4_REL" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR4_GATE" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR4_TRIG" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR4_PK" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR4_OUT" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="UADSR4_INV" library="connectors" deviceset="HEADER/MALE/01" device="">
<attribute name="SPICEPREFIX" value="X"/>
</part>
<part name="INV1" library="controls" deviceset="WQP-PJ301M-12_JACK" device=""/>
<part name="INV2" library="controls" deviceset="WQP-PJ301M-12_JACK" device=""/>
<part name="INV3" library="controls" deviceset="WQP-PJ301M-12_JACK" device=""/>
<part name="INV4" library="controls" deviceset="WQP-PJ301M-12_JACK" device=""/>
<part name="D1" library="transistors" deviceset="1N4148" device="DO35-7" value="BAT54"/>
<part name="D2" library="transistors" deviceset="1N4148" device="DO35-7" value="BAT54"/>
<part name="D3" library="transistors" deviceset="1N4148" device="DO35-7" value="BAT54"/>
<part name="D4" library="transistors" deviceset="1N4148" device="DO35-7" value="BAT54"/>
<part name="D5" library="transistors" deviceset="1N4148" device="DO35-7" value="BAT54"/>
<part name="D6" library="transistors" deviceset="1N4148" device="DO35-7" value="BAT54"/>
<part name="D7" library="transistors" deviceset="1N4148" device="DO35-7" value="BAT54"/>
<part name="D8" library="transistors" deviceset="1N4148" device="DO35-7" value="BAT54"/>
<part name="LED1" library="display_led" deviceset="LED" device="5MM"/>
<part name="LED2" library="display_led" deviceset="LED" device="5MM"/>
<part name="LED3" library="display_led" deviceset="LED" device="5MM"/>
<part name="LED4" library="display_led" deviceset="LED" device="5MM"/>
<part name="R1" library="resistors" deviceset="RESISTOR" device="RESISTOR/UPRIGHT/7.5"/>
<part name="R2" library="resistors" deviceset="RESISTOR" device="RESISTOR/UPRIGHT/7.5"/>
<part name="R3" library="resistors" deviceset="RESISTOR" device="RESISTOR/UPRIGHT/7.5"/>
<part name="R4" library="resistors" deviceset="RESISTOR" device="RESISTOR/UPRIGHT/7.5"/>
<part name="SUPPLY8" library="supply" deviceset="GND" device="">
<attribute name="SPICEPREFIX" value="G"/>
</part>
<part name="SUPPLY10" library="supply" deviceset="GND" device="">
<attribute name="SPICEPREFIX" value="G"/>
</part>
<part name="SUPPLY12" library="supply" deviceset="GND" device="">
<attribute name="SPICEPREFIX" value="G"/>
</part>
<part name="SUPPLY14" library="supply" deviceset="GND" device="">
<attribute name="SPICEPREFIX" value="G"/>
</part>
</parts>
<sheets>
<sheet>
<plain>
</plain>
<instances>
<instance part="SUPPLY1" gate="GND" x="-10.16" y="81.28" smashed="yes">
<attribute name="VALUE" x="-14.605" y="76.581" size="1.778" layer="96"/>
</instance>
<instance part="SUPPLY2" gate="G$1" x="-10.16" y="63.5" smashed="yes">
<attribute name="VALUE" x="-13.335" y="58.801" size="1.778" layer="96"/>
</instance>
<instance part="SUPPLY3" gate="+12V" x="-10.16" y="106.68" smashed="yes">
<attribute name="VALUE" x="-12.7" y="109.855" size="1.778" layer="96"/>
</instance>
<instance part="+V" gate="HEADER" x="-12.7" y="101.6" smashed="yes">
<attribute name="NAME" x="-26.416" y="100.584" size="1.778" layer="96"/>
</instance>
<instance part="GND" gate="HEADER" x="-12.7" y="88.9" smashed="yes">
<attribute name="NAME" x="-26.416" y="87.884" size="1.778" layer="96"/>
</instance>
<instance part="-V" gate="HEADER" x="-12.7" y="73.66" smashed="yes">
<attribute name="NAME" x="-26.416" y="72.644" size="1.778" layer="96"/>
</instance>
<instance part="C1" gate="G$1" x="33.02" y="91.44" smashed="yes">
<attribute name="NAME" x="34.163" y="91.9226" size="1.778" layer="95"/>
<attribute name="VALUE" x="34.163" y="86.8426" size="1.778" layer="96"/>
</instance>
<instance part="C3" gate="G$1" x="78.74" y="91.44" smashed="yes">
<attribute name="NAME" x="79.883" y="91.9226" size="1.778" layer="95"/>
<attribute name="VALUE" x="79.883" y="86.8426" size="1.778" layer="96"/>
</instance>
<instance part="IC2" gate="A1" x="60.96" y="101.6" smashed="yes">
<attribute name="NAME" x="53.34" y="107.315" size="1.778" layer="95"/>
<attribute name="VALUE" x="53.34" y="104.775" size="1.778" layer="96"/>
</instance>
<instance part="C29" gate="G$1" x="78.74" y="76.2" smashed="yes">
<attribute name="NAME" x="79.883" y="76.6826" size="1.778" layer="95"/>
<attribute name="VALUE" x="79.883" y="71.6026" size="1.778" layer="96"/>
</instance>
<instance part="UADSR1_+12V" gate="HEADER" x="139.7" y="53.34" smashed="yes" rot="R180">
<attribute name="NAME" x="153.416" y="54.356" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UDSR1_GND" gate="HEADER" x="157.48" y="68.58" smashed="yes" rot="R180">
<attribute name="NAME" x="171.196" y="69.596" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR1_-12V" gate="HEADER" x="139.7" y="76.2" smashed="yes" rot="R180">
<attribute name="NAME" x="153.416" y="77.216" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR2_+12V" gate="HEADER" x="139.7" y="50.8" smashed="yes" rot="R180">
<attribute name="NAME" x="153.416" y="51.816" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR2_GND" gate="HEADER" x="157.48" y="71.12" smashed="yes" rot="R180">
<attribute name="NAME" x="171.196" y="72.136" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR2_-12V" gate="HEADER" x="139.7" y="78.74" smashed="yes" rot="R180">
<attribute name="NAME" x="153.416" y="79.756" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="GATE1" gate="G$1" x="12.7" y="35.56" smashed="yes" rot="MR0">
<attribute name="NAME" x="15.24" y="39.624" size="1.778" layer="95" rot="MR0"/>
</instance>
<instance part="TRIG1" gate="G$1" x="12.7" y="22.86" smashed="yes" rot="MR0">
<attribute name="NAME" x="15.24" y="26.924" size="1.778" layer="95" rot="MR0"/>
</instance>
<instance part="GATE2" gate="G$1" x="12.7" y="10.16" smashed="yes" rot="MR0">
<attribute name="NAME" x="15.24" y="14.224" size="1.778" layer="95" rot="MR0"/>
</instance>
<instance part="TRIG2" gate="G$1" x="12.7" y="-2.54" smashed="yes" rot="MR0">
<attribute name="NAME" x="15.24" y="1.524" size="1.778" layer="95" rot="MR0"/>
</instance>
<instance part="GATE3" gate="G$1" x="12.7" y="-15.24" smashed="yes" rot="MR0">
<attribute name="NAME" x="15.24" y="-11.176" size="1.778" layer="95" rot="MR0"/>
</instance>
<instance part="TRIG3" gate="G$1" x="12.7" y="-27.94" smashed="yes" rot="MR0">
<attribute name="NAME" x="15.24" y="-23.876" size="1.778" layer="95" rot="MR0"/>
</instance>
<instance part="GATE4" gate="G$1" x="12.7" y="-40.64" smashed="yes" rot="MR0">
<attribute name="NAME" x="15.24" y="-36.576" size="1.778" layer="95" rot="MR0"/>
</instance>
<instance part="TRIG4" gate="G$1" x="12.7" y="-53.34" smashed="yes" rot="MR0">
<attribute name="NAME" x="15.24" y="-49.276" size="1.778" layer="95" rot="MR0"/>
</instance>
<instance part="OUT1" gate="G$1" x="165.1" y="27.94" smashed="yes">
<attribute name="NAME" x="162.56" y="32.004" size="1.778" layer="95"/>
</instance>
<instance part="OUT2" gate="G$1" x="165.1" y="15.24" smashed="yes">
<attribute name="NAME" x="162.56" y="19.304" size="1.778" layer="95"/>
</instance>
<instance part="OUT3" gate="G$1" x="165.1" y="2.54" smashed="yes">
<attribute name="NAME" x="162.56" y="6.604" size="1.778" layer="95"/>
</instance>
<instance part="SUPPLY4" gate="+12V" x="137.16" y="58.42" smashed="yes">
<attribute name="VALUE" x="134.62" y="61.595" size="1.778" layer="96"/>
</instance>
<instance part="SUPPLY5" gate="G$1" x="137.16" y="71.12" smashed="yes">
<attribute name="VALUE" x="133.985" y="66.421" size="1.778" layer="96"/>
</instance>
<instance part="SUPPLY6" gate="GND" x="154.94" y="63.5" smashed="yes">
<attribute name="VALUE" x="150.495" y="58.801" size="1.778" layer="96"/>
</instance>
<instance part="VR1" gate="G$1" x="71.12" y="38.1" smashed="yes">
<attribute name="NAME" x="66.04" y="35.56" size="1.778" layer="95" rot="R90"/>
<attribute name="VALUE" x="68.58" y="35.56" size="1.778" layer="96" rot="R90"/>
</instance>
<instance part="VR2" gate="G$1" x="71.12" y="7.62" smashed="yes">
<attribute name="NAME" x="66.04" y="5.08" size="1.778" layer="95" rot="R90"/>
<attribute name="VALUE" x="68.58" y="5.08" size="1.778" layer="96" rot="R90"/>
</instance>
<instance part="VR3" gate="G$1" x="71.12" y="-20.32" smashed="yes">
<attribute name="NAME" x="66.04" y="-22.86" size="1.778" layer="95" rot="R90"/>
<attribute name="VALUE" x="68.58" y="-22.86" size="1.778" layer="96" rot="R90"/>
</instance>
<instance part="VR4" gate="G$1" x="71.12" y="-48.26" smashed="yes">
<attribute name="NAME" x="66.04" y="-50.8" size="1.778" layer="95" rot="R90"/>
<attribute name="VALUE" x="68.58" y="-50.8" size="1.778" layer="96" rot="R90"/>
</instance>
<instance part="SUPPLY7" gate="GND" x="71.12" y="27.94" smashed="yes">
<attribute name="VALUE" x="66.675" y="23.241" size="1.778" layer="96"/>
</instance>
<instance part="SUPPLY9" gate="GND" x="71.12" y="-2.54" smashed="yes">
<attribute name="VALUE" x="66.675" y="-7.239" size="1.778" layer="96"/>
</instance>
<instance part="SUPPLY11" gate="GND" x="71.12" y="-30.48" smashed="yes">
<attribute name="VALUE" x="66.675" y="-35.179" size="1.778" layer="96"/>
</instance>
<instance part="SUPPLY13" gate="GND" x="71.12" y="-58.42" smashed="yes">
<attribute name="VALUE" x="66.675" y="-63.119" size="1.778" layer="96"/>
</instance>
<instance part="SUPPLY16" gate="GND" x="20.32" y="-66.04" smashed="yes">
<attribute name="VALUE" x="15.875" y="-70.739" size="1.778" layer="96"/>
</instance>
<instance part="OUT4" gate="G$1" x="165.1" y="-10.16" smashed="yes">
<attribute name="NAME" x="162.56" y="-6.096" size="1.778" layer="95"/>
</instance>
<instance part="UADSR1_ATK" gate="HEADER" x="81.28" y="38.1" smashed="yes" rot="R180">
<attribute name="NAME" x="94.996" y="39.116" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR1_DCY" gate="HEADER" x="81.28" y="7.62" smashed="yes" rot="R180">
<attribute name="NAME" x="94.996" y="8.636" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR1_SUS" gate="HEADER" x="81.28" y="-20.32" smashed="yes" rot="R180">
<attribute name="NAME" x="94.996" y="-19.304" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR1_REL" gate="HEADER" x="81.28" y="-48.26" smashed="yes" rot="R180">
<attribute name="NAME" x="94.996" y="-47.244" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR1_GATE" gate="HEADER" x="43.18" y="38.1" smashed="yes" rot="R180">
<attribute name="NAME" x="56.896" y="39.116" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR1_TRIG" gate="HEADER" x="43.18" y="25.4" smashed="yes" rot="R180">
<attribute name="NAME" x="56.896" y="26.416" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR1_PK" gate="HEADER" x="182.88" y="76.2" smashed="yes" rot="R180">
<attribute name="NAME" x="196.596" y="77.216" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR1_OUT" gate="HEADER" x="149.86" y="30.48" smashed="yes">
<attribute name="NAME" x="136.144" y="29.464" size="1.778" layer="96"/>
</instance>
<instance part="UADSR1_INV" gate="HEADER" x="149.86" y="-22.86" smashed="yes">
<attribute name="NAME" x="136.144" y="-23.876" size="1.778" layer="96"/>
</instance>
<instance part="UADSR3_-12V" gate="HEADER" x="139.7" y="81.28" smashed="yes" rot="R180">
<attribute name="NAME" x="153.416" y="82.296" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR4_-12V" gate="HEADER" x="139.7" y="83.82" smashed="yes" rot="R180">
<attribute name="NAME" x="153.416" y="84.836" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR3_GND" gate="HEADER" x="157.48" y="73.66" smashed="yes" rot="R180">
<attribute name="NAME" x="171.196" y="74.676" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR4_GND" gate="HEADER" x="157.48" y="76.2" smashed="yes" rot="R180">
<attribute name="NAME" x="171.196" y="77.216" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR3_+12V" gate="HEADER" x="139.7" y="48.26" smashed="yes" rot="R180">
<attribute name="NAME" x="153.416" y="49.276" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR4_+12V" gate="HEADER" x="139.7" y="45.72" smashed="yes" rot="R180">
<attribute name="NAME" x="153.416" y="46.736" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR2_ATK" gate="HEADER" x="81.28" y="35.56" smashed="yes" rot="R180">
<attribute name="NAME" x="94.996" y="36.576" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR2_DCY" gate="HEADER" x="81.28" y="5.08" smashed="yes" rot="R180">
<attribute name="NAME" x="94.996" y="6.096" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR2_SUS" gate="HEADER" x="81.28" y="-22.86" smashed="yes" rot="R180">
<attribute name="NAME" x="94.996" y="-21.844" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR2_REL" gate="HEADER" x="81.28" y="-50.8" smashed="yes" rot="R180">
<attribute name="NAME" x="94.996" y="-49.784" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR2_GATE" gate="HEADER" x="43.18" y="12.7" smashed="yes" rot="R180">
<attribute name="NAME" x="56.896" y="13.716" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR2_TRIG" gate="HEADER" x="43.18" y="0" smashed="yes" rot="R180">
<attribute name="NAME" x="56.896" y="1.016" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR2_PK" gate="HEADER" x="182.88" y="73.66" smashed="yes" rot="R180">
<attribute name="NAME" x="196.596" y="74.676" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR2_OUT" gate="HEADER" x="149.86" y="17.78" smashed="yes">
<attribute name="NAME" x="136.144" y="16.764" size="1.778" layer="96"/>
</instance>
<instance part="UADSR2_INV" gate="HEADER" x="149.86" y="-35.56" smashed="yes">
<attribute name="NAME" x="136.144" y="-36.576" size="1.778" layer="96"/>
</instance>
<instance part="UADSR3_ATK" gate="HEADER" x="81.28" y="33.02" smashed="yes" rot="R180">
<attribute name="NAME" x="94.996" y="34.036" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR3_DCY" gate="HEADER" x="81.28" y="2.54" smashed="yes" rot="R180">
<attribute name="NAME" x="94.996" y="3.556" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR3_SUS" gate="HEADER" x="81.28" y="-25.4" smashed="yes" rot="R180">
<attribute name="NAME" x="94.996" y="-24.384" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR3_REL" gate="HEADER" x="81.28" y="-53.34" smashed="yes" rot="R180">
<attribute name="NAME" x="94.996" y="-52.324" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR3_GATE" gate="HEADER" x="43.18" y="-12.7" smashed="yes" rot="R180">
<attribute name="NAME" x="56.896" y="-11.684" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR3_TRIG" gate="HEADER" x="43.18" y="-25.4" smashed="yes" rot="R180">
<attribute name="NAME" x="56.896" y="-24.384" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR3_PK" gate="HEADER" x="182.88" y="71.12" smashed="yes" rot="R180">
<attribute name="NAME" x="196.596" y="72.136" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR3_OUT" gate="HEADER" x="149.86" y="5.08" smashed="yes">
<attribute name="NAME" x="136.144" y="4.064" size="1.778" layer="96"/>
</instance>
<instance part="UADSR3_INV" gate="HEADER" x="149.86" y="-48.26" smashed="yes">
<attribute name="NAME" x="136.144" y="-49.276" size="1.778" layer="96"/>
</instance>
<instance part="UADSR4_ATK" gate="HEADER" x="81.28" y="30.48" smashed="yes" rot="R180">
<attribute name="NAME" x="94.996" y="31.496" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR4_DCY" gate="HEADER" x="81.28" y="0" smashed="yes" rot="R180">
<attribute name="NAME" x="94.996" y="1.016" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR4_SUS" gate="HEADER" x="81.28" y="-27.94" smashed="yes" rot="R180">
<attribute name="NAME" x="94.996" y="-26.924" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR4_REL" gate="HEADER" x="81.28" y="-55.88" smashed="yes" rot="R180">
<attribute name="NAME" x="94.996" y="-54.864" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR4_GATE" gate="HEADER" x="43.18" y="-38.1" smashed="yes" rot="R180">
<attribute name="NAME" x="56.896" y="-37.084" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR4_TRIG" gate="HEADER" x="43.18" y="-50.8" smashed="yes" rot="R180">
<attribute name="NAME" x="56.896" y="-49.784" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR4_PK" gate="HEADER" x="182.88" y="68.58" smashed="yes" rot="R180">
<attribute name="NAME" x="196.596" y="69.596" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="UADSR4_OUT" gate="HEADER" x="149.86" y="-7.62" smashed="yes">
<attribute name="NAME" x="136.144" y="-8.636" size="1.778" layer="96"/>
</instance>
<instance part="UADSR4_INV" gate="HEADER" x="149.86" y="-60.96" smashed="yes">
<attribute name="NAME" x="136.144" y="-61.976" size="1.778" layer="96"/>
</instance>
<instance part="INV1" gate="G$1" x="165.1" y="-25.4" smashed="yes">
<attribute name="NAME" x="162.56" y="-21.336" size="1.778" layer="95"/>
</instance>
<instance part="INV2" gate="G$1" x="165.1" y="-38.1" smashed="yes">
<attribute name="NAME" x="162.56" y="-34.036" size="1.778" layer="95"/>
</instance>
<instance part="INV3" gate="G$1" x="165.1" y="-50.8" smashed="yes">
<attribute name="NAME" x="162.56" y="-46.736" size="1.778" layer="95"/>
</instance>
<instance part="INV4" gate="G$1" x="165.1" y="-63.5" smashed="yes">
<attribute name="NAME" x="162.56" y="-59.436" size="1.778" layer="95"/>
</instance>
<instance part="D1" gate="1" x="30.48" y="38.1" smashed="yes">
<attribute name="NAME" x="33.02" y="38.5826" size="1.778" layer="95"/>
<attribute name="VALUE" x="33.02" y="35.7886" size="1.778" layer="96"/>
</instance>
<instance part="D2" gate="1" x="30.48" y="25.4" smashed="yes">
<attribute name="NAME" x="33.02" y="25.8826" size="1.778" layer="95"/>
<attribute name="VALUE" x="33.02" y="23.0886" size="1.778" layer="96"/>
</instance>
<instance part="D3" gate="1" x="30.48" y="12.7" smashed="yes">
<attribute name="NAME" x="33.02" y="13.1826" size="1.778" layer="95"/>
<attribute name="VALUE" x="33.02" y="10.3886" size="1.778" layer="96"/>
</instance>
<instance part="D4" gate="1" x="30.48" y="0" smashed="yes">
<attribute name="NAME" x="33.02" y="0.4826" size="1.778" layer="95"/>
<attribute name="VALUE" x="33.02" y="-2.3114" size="1.778" layer="96"/>
</instance>
<instance part="D5" gate="1" x="30.48" y="-12.7" smashed="yes">
<attribute name="NAME" x="33.02" y="-12.2174" size="1.778" layer="95"/>
<attribute name="VALUE" x="33.02" y="-15.0114" size="1.778" layer="96"/>
</instance>
<instance part="D6" gate="1" x="30.48" y="-25.4" smashed="yes">
<attribute name="NAME" x="33.02" y="-24.9174" size="1.778" layer="95"/>
<attribute name="VALUE" x="33.02" y="-27.7114" size="1.778" layer="96"/>
</instance>
<instance part="D7" gate="1" x="30.48" y="-38.1" smashed="yes">
<attribute name="NAME" x="33.02" y="-37.6174" size="1.778" layer="95"/>
<attribute name="VALUE" x="33.02" y="-40.4114" size="1.778" layer="96"/>
</instance>
<instance part="D8" gate="1" x="30.48" y="-50.8" smashed="yes">
<attribute name="NAME" x="33.02" y="-50.3174" size="1.778" layer="95"/>
<attribute name="VALUE" x="33.02" y="-53.1114" size="1.778" layer="96"/>
</instance>
<instance part="LED1" gate="G$1" x="190.5" y="35.56" smashed="yes" rot="R90">
<attribute name="NAME" x="195.072" y="39.116" size="1.778" layer="95" rot="R180"/>
<attribute name="VALUE" x="195.072" y="41.275" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="LED2" gate="G$1" x="190.5" y="22.86" smashed="yes" rot="R90">
<attribute name="NAME" x="195.072" y="26.416" size="1.778" layer="95" rot="R180"/>
<attribute name="VALUE" x="195.072" y="28.575" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="LED3" gate="G$1" x="190.5" y="10.16" smashed="yes" rot="R90">
<attribute name="NAME" x="195.072" y="13.716" size="1.778" layer="95" rot="R180"/>
<attribute name="VALUE" x="195.072" y="15.875" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="LED4" gate="G$1" x="190.5" y="-2.54" smashed="yes" rot="R90">
<attribute name="NAME" x="195.072" y="1.016" size="1.778" layer="95" rot="R180"/>
<attribute name="VALUE" x="195.072" y="3.175" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="R1" gate="G$1" x="180.34" y="35.56" smashed="yes">
<attribute name="NAME" x="176.53" y="37.0586" size="1.778" layer="95"/>
<attribute name="VALUE" x="176.53" y="32.258" size="1.778" layer="96"/>
</instance>
<instance part="R2" gate="G$1" x="180.34" y="22.86" smashed="yes">
<attribute name="NAME" x="176.53" y="24.3586" size="1.778" layer="95"/>
<attribute name="VALUE" x="176.53" y="19.558" size="1.778" layer="96"/>
</instance>
<instance part="R3" gate="G$1" x="180.34" y="10.16" smashed="yes">
<attribute name="NAME" x="176.53" y="11.6586" size="1.778" layer="95"/>
<attribute name="VALUE" x="176.53" y="6.858" size="1.778" layer="96"/>
</instance>
<instance part="R4" gate="G$1" x="180.34" y="-2.54" smashed="yes">
<attribute name="NAME" x="176.53" y="-1.0414" size="1.778" layer="95"/>
<attribute name="VALUE" x="176.53" y="-5.842" size="1.778" layer="96"/>
</instance>
<instance part="SUPPLY8" gate="GND" x="200.66" y="33.02" smashed="yes">
<attribute name="VALUE" x="196.215" y="28.321" size="1.778" layer="96"/>
</instance>
<instance part="SUPPLY10" gate="GND" x="200.66" y="20.32" smashed="yes">
<attribute name="VALUE" x="196.215" y="15.621" size="1.778" layer="96"/>
</instance>
<instance part="SUPPLY12" gate="GND" x="200.66" y="7.62" smashed="yes">
<attribute name="VALUE" x="196.215" y="2.921" size="1.778" layer="96"/>
</instance>
<instance part="SUPPLY14" gate="GND" x="200.66" y="-5.08" smashed="yes">
<attribute name="VALUE" x="196.215" y="-9.779" size="1.778" layer="96"/>
</instance>
</instances>
<busses>
</busses>
<nets>
<net name="+12V" class="0">
<segment>
<pinref part="+V" gate="HEADER" pin="3"/>
<wire x1="-10.16" y1="101.6" x2="-10.16" y2="104.14" width="0.1524" layer="91"/>
<pinref part="C1" gate="G$1" pin="+"/>
<wire x1="33.02" y1="93.98" x2="33.02" y2="101.6" width="0.1524" layer="91"/>
<wire x1="33.02" y1="101.6" x2="-10.16" y2="101.6" width="0.1524" layer="91"/>
<junction x="-10.16" y="101.6"/>
<pinref part="SUPPLY3" gate="+12V" pin="+12V"/>
<wire x1="33.02" y1="101.6" x2="50.8" y2="101.6" width="0.1524" layer="91"/>
<junction x="33.02" y="101.6"/>
<pinref part="IC2" gate="A1" pin="VI"/>
</segment>
<segment>
<pinref part="SUPPLY4" gate="+12V" pin="+12V"/>
<pinref part="UADSR1_+12V" gate="HEADER" pin="3"/>
<wire x1="137.16" y1="53.34" x2="137.16" y2="50.8" width="0.1524" layer="91"/>
<pinref part="UADSR2_+12V" gate="HEADER" pin="3"/>
<junction x="137.16" y="50.8"/>
<wire x1="137.16" y1="50.8" x2="137.16" y2="55.88" width="0.1524" layer="91"/>
<pinref part="UADSR3_+12V" gate="HEADER" pin="3"/>
<wire x1="137.16" y1="50.8" x2="137.16" y2="48.26" width="0.1524" layer="91"/>
<pinref part="UADSR4_+12V" gate="HEADER" pin="3"/>
<wire x1="137.16" y1="48.26" x2="137.16" y2="45.72" width="0.1524" layer="91"/>
<junction x="137.16" y="48.26"/>
</segment>
</net>
<net name="-12V" class="0">
<segment>
<pinref part="-V" gate="HEADER" pin="3"/>
<wire x1="-10.16" y1="68.58" x2="-10.16" y2="73.66" width="0.1524" layer="91"/>
<wire x1="-10.16" y1="66.04" x2="-10.16" y2="68.58" width="0.1524" layer="91"/>
<junction x="-10.16" y="68.58"/>
<pinref part="SUPPLY2" gate="G$1" pin="-12V"/>
<pinref part="C29" gate="G$1" pin="-"/>
<wire x1="78.74" y1="68.58" x2="78.74" y2="71.12" width="0.1524" layer="91"/>
<wire x1="78.74" y1="68.58" x2="-10.16" y2="68.58" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="SUPPLY5" gate="G$1" pin="-12V"/>
<pinref part="UADSR1_-12V" gate="HEADER" pin="3"/>
<wire x1="137.16" y1="76.2" x2="137.16" y2="78.74" width="0.1524" layer="91"/>
<pinref part="UADSR2_-12V" gate="HEADER" pin="3"/>
<junction x="137.16" y="78.74"/>
<wire x1="137.16" y1="78.74" x2="137.16" y2="73.66" width="0.1524" layer="91"/>
<pinref part="UADSR3_-12V" gate="HEADER" pin="3"/>
<wire x1="137.16" y1="78.74" x2="137.16" y2="81.28" width="0.1524" layer="91"/>
<pinref part="UADSR4_-12V" gate="HEADER" pin="3"/>
<wire x1="137.16" y1="81.28" x2="137.16" y2="83.82" width="0.1524" layer="91"/>
<junction x="137.16" y="81.28"/>
</segment>
</net>
<net name="5V" class="0">
<segment>
<pinref part="C3" gate="G$1" pin="+"/>
<wire x1="78.74" y1="93.98" x2="78.74" y2="101.6" width="0.1524" layer="91"/>
<wire x1="78.74" y1="101.6" x2="71.12" y2="101.6" width="0.1524" layer="91"/>
<pinref part="IC2" gate="A1" pin="VO"/>
<label x="78.74" y="104.14" size="1.778" layer="95" xref="yes"/>
<wire x1="78.74" y1="101.6" x2="119.38" y2="101.6" width="0.1524" layer="91"/>
<junction x="78.74" y="101.6"/>
</segment>
<segment>
<pinref part="VR4" gate="G$1" pin="E"/>
<wire x1="71.12" y1="-40.64" x2="71.12" y2="-38.1" width="0.1524" layer="91"/>
<label x="73.66" y="-38.1" size="1.778" layer="95"/>
</segment>
<segment>
<pinref part="VR3" gate="G$1" pin="E"/>
<wire x1="71.12" y1="-12.7" x2="71.12" y2="-10.16" width="0.1524" layer="91"/>
<label x="73.66" y="-12.7" size="1.778" layer="95"/>
</segment>
<segment>
<pinref part="VR2" gate="G$1" pin="E"/>
<wire x1="71.12" y1="15.24" x2="71.12" y2="17.78" width="0.1524" layer="91"/>
<label x="73.66" y="15.24" size="1.778" layer="95"/>
</segment>
<segment>
<pinref part="VR1" gate="G$1" pin="E"/>
<wire x1="71.12" y1="45.72" x2="71.12" y2="48.26" width="0.1524" layer="91"/>
<label x="73.66" y="45.72" size="1.778" layer="95"/>
</segment>
</net>
<net name="PE" class="0">
<segment>
<pinref part="GND" gate="HEADER" pin="3"/>
<pinref part="SUPPLY1" gate="GND" pin="PE"/>
<wire x1="-10.16" y1="83.82" x2="-10.16" y2="88.9" width="0.1524" layer="91"/>
<pinref part="C1" gate="G$1" pin="-"/>
<wire x1="33.02" y1="83.82" x2="33.02" y2="86.36" width="0.1524" layer="91"/>
<wire x1="-10.16" y1="83.82" x2="33.02" y2="83.82" width="0.1524" layer="91"/>
<junction x="-10.16" y="83.82"/>
<junction x="33.02" y="83.82"/>
<wire x1="33.02" y1="83.82" x2="60.96" y2="83.82" width="0.1524" layer="91"/>
<wire x1="60.96" y1="83.82" x2="60.96" y2="93.98" width="0.1524" layer="91"/>
<wire x1="60.96" y1="83.82" x2="78.74" y2="83.82" width="0.1524" layer="91"/>
<wire x1="78.74" y1="83.82" x2="78.74" y2="86.36" width="0.1524" layer="91"/>
<junction x="60.96" y="83.82"/>
<pinref part="C3" gate="G$1" pin="-"/>
<junction x="78.74" y="83.82"/>
<pinref part="IC2" gate="A1" pin="GND"/>
<pinref part="C29" gate="G$1" pin="+"/>
<wire x1="78.74" y1="78.74" x2="78.74" y2="83.82" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="SUPPLY6" gate="GND" pin="PE"/>
<pinref part="UDSR1_GND" gate="HEADER" pin="3"/>
<wire x1="154.94" y1="68.58" x2="154.94" y2="71.12" width="0.1524" layer="91"/>
<pinref part="UADSR2_GND" gate="HEADER" pin="3"/>
<junction x="154.94" y="71.12"/>
<wire x1="154.94" y1="71.12" x2="154.94" y2="66.04" width="0.1524" layer="91"/>
<pinref part="UADSR3_GND" gate="HEADER" pin="3"/>
<wire x1="154.94" y1="73.66" x2="154.94" y2="71.12" width="0.1524" layer="91"/>
<pinref part="UADSR4_GND" gate="HEADER" pin="3"/>
<wire x1="154.94" y1="73.66" x2="154.94" y2="76.2" width="0.1524" layer="91"/>
<junction x="154.94" y="73.66"/>
</segment>
<segment>
<pinref part="VR1" gate="G$1" pin="A"/>
<pinref part="SUPPLY7" gate="GND" pin="PE"/>
</segment>
<segment>
<pinref part="VR2" gate="G$1" pin="A"/>
<pinref part="SUPPLY9" gate="GND" pin="PE"/>
</segment>
<segment>
<pinref part="VR3" gate="G$1" pin="A"/>
<pinref part="SUPPLY11" gate="GND" pin="PE"/>
</segment>
<segment>
<pinref part="VR4" gate="G$1" pin="A"/>
<pinref part="SUPPLY13" gate="GND" pin="PE"/>
</segment>
<segment>
<pinref part="SUPPLY16" gate="GND" pin="PE"/>
<wire x1="20.32" y1="-63.5" x2="20.32" y2="-55.88" width="0.1524" layer="91"/>
<pinref part="TRIG4" gate="G$1" pin="1"/>
<wire x1="20.32" y1="-55.88" x2="17.78" y2="-55.88" width="0.1524" layer="91"/>
<pinref part="GATE1" gate="G$1" pin="3"/>
<wire x1="20.32" y1="-55.88" x2="20.32" y2="-43.18" width="0.1524" layer="91"/>
<wire x1="20.32" y1="-43.18" x2="20.32" y2="-40.64" width="0.1524" layer="91"/>
<wire x1="20.32" y1="-40.64" x2="20.32" y2="-30.48" width="0.1524" layer="91"/>
<wire x1="20.32" y1="-30.48" x2="20.32" y2="-17.78" width="0.1524" layer="91"/>
<wire x1="20.32" y1="-17.78" x2="20.32" y2="-15.24" width="0.1524" layer="91"/>
<wire x1="20.32" y1="-15.24" x2="20.32" y2="-5.08" width="0.1524" layer="91"/>
<wire x1="20.32" y1="-5.08" x2="20.32" y2="7.62" width="0.1524" layer="91"/>
<wire x1="20.32" y1="7.62" x2="20.32" y2="10.16" width="0.1524" layer="91"/>
<wire x1="20.32" y1="10.16" x2="20.32" y2="20.32" width="0.1524" layer="91"/>
<wire x1="20.32" y1="20.32" x2="20.32" y2="33.02" width="0.1524" layer="91"/>
<wire x1="20.32" y1="33.02" x2="20.32" y2="35.56" width="0.1524" layer="91"/>
<wire x1="20.32" y1="35.56" x2="17.78" y2="35.56" width="0.1524" layer="91"/>
<junction x="20.32" y="-55.88"/>
<pinref part="GATE4" gate="G$1" pin="1"/>
<wire x1="17.78" y1="-43.18" x2="20.32" y2="-43.18" width="0.1524" layer="91"/>
<junction x="20.32" y="-43.18"/>
<pinref part="GATE4" gate="G$1" pin="3"/>
<wire x1="17.78" y1="-40.64" x2="20.32" y2="-40.64" width="0.1524" layer="91"/>
<junction x="20.32" y="-40.64"/>
<pinref part="TRIG3" gate="G$1" pin="1"/>
<wire x1="17.78" y1="-30.48" x2="20.32" y2="-30.48" width="0.1524" layer="91"/>
<junction x="20.32" y="-30.48"/>
<pinref part="GATE3" gate="G$1" pin="1"/>
<wire x1="17.78" y1="-17.78" x2="20.32" y2="-17.78" width="0.1524" layer="91"/>
<junction x="20.32" y="-17.78"/>
<pinref part="GATE3" gate="G$1" pin="3"/>
<wire x1="17.78" y1="-15.24" x2="20.32" y2="-15.24" width="0.1524" layer="91"/>
<junction x="20.32" y="-15.24"/>
<pinref part="TRIG2" gate="G$1" pin="1"/>
<wire x1="17.78" y1="-5.08" x2="20.32" y2="-5.08" width="0.1524" layer="91"/>
<junction x="20.32" y="-5.08"/>
<pinref part="GATE2" gate="G$1" pin="1"/>
<wire x1="17.78" y1="7.62" x2="20.32" y2="7.62" width="0.1524" layer="91"/>
<junction x="20.32" y="7.62"/>
<pinref part="GATE2" gate="G$1" pin="3"/>
<wire x1="17.78" y1="10.16" x2="20.32" y2="10.16" width="0.1524" layer="91"/>
<junction x="20.32" y="10.16"/>
<pinref part="TRIG1" gate="G$1" pin="1"/>
<wire x1="17.78" y1="20.32" x2="20.32" y2="20.32" width="0.1524" layer="91"/>
<junction x="20.32" y="20.32"/>
<pinref part="GATE1" gate="G$1" pin="1"/>
<wire x1="17.78" y1="33.02" x2="20.32" y2="33.02" width="0.1524" layer="91"/>
<junction x="20.32" y="33.02"/>
</segment>
<segment>
<pinref part="LED3" gate="G$1" pin="C"/>
<pinref part="SUPPLY12" gate="GND" pin="PE"/>
<wire x1="200.66" y1="10.16" x2="195.58" y2="10.16" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="LED4" gate="G$1" pin="C"/>
<pinref part="SUPPLY14" gate="GND" pin="PE"/>
<wire x1="200.66" y1="-2.54" x2="195.58" y2="-2.54" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="LED1" gate="G$1" pin="C"/>
<pinref part="SUPPLY8" gate="GND" pin="PE"/>
<wire x1="195.58" y1="35.56" x2="200.66" y2="35.56" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="LED2" gate="G$1" pin="C"/>
<pinref part="SUPPLY10" gate="GND" pin="PE"/>
<wire x1="195.58" y1="22.86" x2="200.66" y2="22.86" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$9" class="0">
<segment>
<pinref part="GATE1" gate="G$1" pin="2"/>
<pinref part="TRIG1" gate="G$1" pin="3"/>
<wire x1="17.78" y1="22.86" x2="22.86" y2="22.86" width="0.1524" layer="91"/>
<wire x1="22.86" y1="22.86" x2="22.86" y2="38.1" width="0.1524" layer="91"/>
<wire x1="22.86" y1="38.1" x2="17.78" y2="38.1" width="0.1524" layer="91"/>
<pinref part="D1" gate="1" pin="A"/>
<wire x1="27.94" y1="38.1" x2="22.86" y2="38.1" width="0.1524" layer="91"/>
<junction x="22.86" y="38.1"/>
</segment>
</net>
<net name="N$11" class="0">
<segment>
<pinref part="GATE2" gate="G$1" pin="2"/>
<wire x1="22.86" y1="12.7" x2="17.78" y2="12.7" width="0.1524" layer="91"/>
<wire x1="22.86" y1="12.7" x2="22.86" y2="-2.54" width="0.1524" layer="91"/>
<pinref part="TRIG2" gate="G$1" pin="3"/>
<wire x1="22.86" y1="-2.54" x2="17.78" y2="-2.54" width="0.1524" layer="91"/>
<pinref part="D3" gate="1" pin="A"/>
<wire x1="27.94" y1="12.7" x2="22.86" y2="12.7" width="0.1524" layer="91"/>
<junction x="22.86" y="12.7"/>
</segment>
</net>
<net name="N$13" class="0">
<segment>
<pinref part="GATE3" gate="G$1" pin="2"/>
<wire x1="22.86" y1="-12.7" x2="17.78" y2="-12.7" width="0.1524" layer="91"/>
<wire x1="22.86" y1="-12.7" x2="22.86" y2="-27.94" width="0.1524" layer="91"/>
<pinref part="TRIG3" gate="G$1" pin="3"/>
<wire x1="22.86" y1="-27.94" x2="17.78" y2="-27.94" width="0.1524" layer="91"/>
<pinref part="D5" gate="1" pin="A"/>
<wire x1="27.94" y1="-12.7" x2="22.86" y2="-12.7" width="0.1524" layer="91"/>
<junction x="22.86" y="-12.7"/>
</segment>
</net>
<net name="N$15" class="0">
<segment>
<pinref part="GATE4" gate="G$1" pin="2"/>
<wire x1="22.86" y1="-38.1" x2="17.78" y2="-38.1" width="0.1524" layer="91"/>
<wire x1="22.86" y1="-38.1" x2="22.86" y2="-53.34" width="0.1524" layer="91"/>
<pinref part="TRIG4" gate="G$1" pin="3"/>
<wire x1="22.86" y1="-53.34" x2="17.78" y2="-53.34" width="0.1524" layer="91"/>
<pinref part="D7" gate="1" pin="A"/>
<wire x1="27.94" y1="-38.1" x2="22.86" y2="-38.1" width="0.1524" layer="91"/>
<junction x="22.86" y="-38.1"/>
</segment>
</net>
<net name="N$17" class="0">
<segment>
<pinref part="OUT1" gate="G$1" pin="2"/>
<wire x1="152.4" y1="30.48" x2="157.48" y2="30.48" width="0.1524" layer="91"/>
<pinref part="UADSR1_OUT" gate="HEADER" pin="3"/>
<pinref part="R1" gate="G$1" pin="1"/>
<wire x1="157.48" y1="30.48" x2="160.02" y2="30.48" width="0.1524" layer="91"/>
<wire x1="175.26" y1="35.56" x2="157.48" y2="35.56" width="0.1524" layer="91"/>
<wire x1="157.48" y1="35.56" x2="157.48" y2="30.48" width="0.1524" layer="91"/>
<junction x="157.48" y="30.48"/>
</segment>
</net>
<net name="N$18" class="0">
<segment>
<pinref part="OUT2" gate="G$1" pin="2"/>
<wire x1="152.4" y1="17.78" x2="157.48" y2="17.78" width="0.1524" layer="91"/>
<pinref part="UADSR2_OUT" gate="HEADER" pin="3"/>
<pinref part="R2" gate="G$1" pin="1"/>
<wire x1="157.48" y1="17.78" x2="160.02" y2="17.78" width="0.1524" layer="91"/>
<wire x1="175.26" y1="22.86" x2="157.48" y2="22.86" width="0.1524" layer="91"/>
<wire x1="157.48" y1="22.86" x2="157.48" y2="17.78" width="0.1524" layer="91"/>
<junction x="157.48" y="17.78"/>
</segment>
</net>
<net name="N$19" class="0">
<segment>
<pinref part="VR1" gate="G$1" pin="S"/>
<wire x1="78.74" y1="38.1" x2="76.2" y2="38.1" width="0.1524" layer="91"/>
<pinref part="UADSR1_ATK" gate="HEADER" pin="3"/>
<pinref part="UADSR2_ATK" gate="HEADER" pin="3"/>
<wire x1="78.74" y1="38.1" x2="78.74" y2="35.56" width="0.1524" layer="91"/>
<junction x="78.74" y="38.1"/>
<pinref part="UADSR3_ATK" gate="HEADER" pin="3"/>
<wire x1="78.74" y1="35.56" x2="78.74" y2="33.02" width="0.1524" layer="91"/>
<junction x="78.74" y="35.56"/>
<pinref part="UADSR4_ATK" gate="HEADER" pin="3"/>
<wire x1="78.74" y1="33.02" x2="78.74" y2="30.48" width="0.1524" layer="91"/>
<junction x="78.74" y="33.02"/>
</segment>
</net>
<net name="N$20" class="0">
<segment>
<pinref part="VR2" gate="G$1" pin="S"/>
<wire x1="78.74" y1="7.62" x2="76.2" y2="7.62" width="0.1524" layer="91"/>
<pinref part="UADSR1_DCY" gate="HEADER" pin="3"/>
<pinref part="UADSR2_DCY" gate="HEADER" pin="3"/>
<wire x1="78.74" y1="7.62" x2="78.74" y2="5.08" width="0.1524" layer="91"/>
<junction x="78.74" y="7.62"/>
<pinref part="UADSR3_DCY" gate="HEADER" pin="3"/>
<wire x1="78.74" y1="5.08" x2="78.74" y2="2.54" width="0.1524" layer="91"/>
<junction x="78.74" y="5.08"/>
<pinref part="UADSR4_DCY" gate="HEADER" pin="3"/>
<wire x1="78.74" y1="2.54" x2="78.74" y2="0" width="0.1524" layer="91"/>
<junction x="78.74" y="2.54"/>
</segment>
</net>
<net name="N$21" class="0">
<segment>
<pinref part="VR3" gate="G$1" pin="S"/>
<wire x1="78.74" y1="-20.32" x2="76.2" y2="-20.32" width="0.1524" layer="91"/>
<pinref part="UADSR1_SUS" gate="HEADER" pin="3"/>
<pinref part="UADSR2_SUS" gate="HEADER" pin="3"/>
<wire x1="78.74" y1="-20.32" x2="78.74" y2="-22.86" width="0.1524" layer="91"/>
<junction x="78.74" y="-20.32"/>
<pinref part="UADSR3_SUS" gate="HEADER" pin="3"/>
<wire x1="78.74" y1="-22.86" x2="78.74" y2="-25.4" width="0.1524" layer="91"/>
<junction x="78.74" y="-22.86"/>
<pinref part="UADSR4_SUS" gate="HEADER" pin="3"/>
<wire x1="78.74" y1="-25.4" x2="78.74" y2="-27.94" width="0.1524" layer="91"/>
<junction x="78.74" y="-25.4"/>
</segment>
</net>
<net name="N$22" class="0">
<segment>
<pinref part="VR4" gate="G$1" pin="S"/>
<wire x1="78.74" y1="-48.26" x2="76.2" y2="-48.26" width="0.1524" layer="91"/>
<pinref part="UADSR1_REL" gate="HEADER" pin="3"/>
<pinref part="UADSR2_REL" gate="HEADER" pin="3"/>
<wire x1="78.74" y1="-48.26" x2="78.74" y2="-50.8" width="0.1524" layer="91"/>
<junction x="78.74" y="-48.26"/>
<pinref part="UADSR3_REL" gate="HEADER" pin="3"/>
<wire x1="78.74" y1="-50.8" x2="78.74" y2="-53.34" width="0.1524" layer="91"/>
<junction x="78.74" y="-50.8"/>
<pinref part="UADSR4_REL" gate="HEADER" pin="3"/>
<wire x1="78.74" y1="-53.34" x2="78.74" y2="-55.88" width="0.1524" layer="91"/>
<junction x="78.74" y="-53.34"/>
</segment>
</net>
<net name="N$1" class="0">
<segment>
<pinref part="OUT3" gate="G$1" pin="2"/>
<pinref part="UADSR3_OUT" gate="HEADER" pin="3"/>
<wire x1="152.4" y1="5.08" x2="157.48" y2="5.08" width="0.1524" layer="91"/>
<pinref part="R3" gate="G$1" pin="1"/>
<wire x1="157.48" y1="5.08" x2="160.02" y2="5.08" width="0.1524" layer="91"/>
<wire x1="175.26" y1="10.16" x2="157.48" y2="10.16" width="0.1524" layer="91"/>
<wire x1="157.48" y1="10.16" x2="157.48" y2="5.08" width="0.1524" layer="91"/>
<junction x="157.48" y="5.08"/>
</segment>
</net>
<net name="N$2" class="0">
<segment>
<pinref part="OUT4" gate="G$1" pin="2"/>
<pinref part="UADSR4_OUT" gate="HEADER" pin="3"/>
<wire x1="152.4" y1="-7.62" x2="157.48" y2="-7.62" width="0.1524" layer="91"/>
<pinref part="R4" gate="G$1" pin="1"/>
<wire x1="157.48" y1="-7.62" x2="160.02" y2="-7.62" width="0.1524" layer="91"/>
<wire x1="175.26" y1="-2.54" x2="157.48" y2="-2.54" width="0.1524" layer="91"/>
<wire x1="157.48" y1="-2.54" x2="157.48" y2="-7.62" width="0.1524" layer="91"/>
<junction x="157.48" y="-7.62"/>
</segment>
</net>
<net name="N$3" class="0">
<segment>
<pinref part="INV1" gate="G$1" pin="2"/>
<pinref part="UADSR1_INV" gate="HEADER" pin="3"/>
<wire x1="152.4" y1="-22.86" x2="160.02" y2="-22.86" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$4" class="0">
<segment>
<pinref part="INV2" gate="G$1" pin="2"/>
<pinref part="UADSR2_INV" gate="HEADER" pin="3"/>
<wire x1="152.4" y1="-35.56" x2="160.02" y2="-35.56" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$5" class="0">
<segment>
<pinref part="INV3" gate="G$1" pin="2"/>
<pinref part="UADSR3_INV" gate="HEADER" pin="3"/>
<wire x1="152.4" y1="-48.26" x2="160.02" y2="-48.26" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$6" class="0">
<segment>
<pinref part="INV4" gate="G$1" pin="2"/>
<pinref part="UADSR4_INV" gate="HEADER" pin="3"/>
<wire x1="152.4" y1="-60.96" x2="160.02" y2="-60.96" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$7" class="0">
<segment>
<pinref part="UADSR1_GATE" gate="HEADER" pin="3"/>
<pinref part="D1" gate="1" pin="C"/>
<wire x1="40.64" y1="38.1" x2="33.02" y2="38.1" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$8" class="0">
<segment>
<pinref part="UADSR1_TRIG" gate="HEADER" pin="3"/>
<pinref part="D2" gate="1" pin="C"/>
<wire x1="40.64" y1="25.4" x2="33.02" y2="25.4" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$10" class="0">
<segment>
<pinref part="D2" gate="1" pin="A"/>
<pinref part="TRIG1" gate="G$1" pin="2"/>
<wire x1="27.94" y1="25.4" x2="17.78" y2="25.4" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$12" class="0">
<segment>
<pinref part="D4" gate="1" pin="A"/>
<pinref part="TRIG2" gate="G$1" pin="2"/>
<wire x1="27.94" y1="0" x2="17.78" y2="0" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$14" class="0">
<segment>
<pinref part="D6" gate="1" pin="A"/>
<pinref part="TRIG3" gate="G$1" pin="2"/>
<wire x1="27.94" y1="-25.4" x2="17.78" y2="-25.4" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$16" class="0">
<segment>
<pinref part="D8" gate="1" pin="A"/>
<pinref part="TRIG4" gate="G$1" pin="2"/>
<wire x1="27.94" y1="-50.8" x2="17.78" y2="-50.8" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$23" class="0">
<segment>
<pinref part="D3" gate="1" pin="C"/>
<pinref part="UADSR2_GATE" gate="HEADER" pin="3"/>
<wire x1="33.02" y1="12.7" x2="40.64" y2="12.7" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$24" class="0">
<segment>
<pinref part="D4" gate="1" pin="C"/>
<pinref part="UADSR2_TRIG" gate="HEADER" pin="3"/>
<wire x1="33.02" y1="0" x2="40.64" y2="0" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$25" class="0">
<segment>
<pinref part="D5" gate="1" pin="C"/>
<pinref part="UADSR3_GATE" gate="HEADER" pin="3"/>
<wire x1="33.02" y1="-12.7" x2="40.64" y2="-12.7" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$26" class="0">
<segment>
<pinref part="D6" gate="1" pin="C"/>
<pinref part="UADSR3_TRIG" gate="HEADER" pin="3"/>
<wire x1="33.02" y1="-25.4" x2="40.64" y2="-25.4" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$27" class="0">
<segment>
<pinref part="D7" gate="1" pin="C"/>
<pinref part="UADSR4_GATE" gate="HEADER" pin="3"/>
<wire x1="33.02" y1="-38.1" x2="40.64" y2="-38.1" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$28" class="0">
<segment>
<pinref part="D8" gate="1" pin="C"/>
<pinref part="UADSR4_TRIG" gate="HEADER" pin="3"/>
<wire x1="33.02" y1="-50.8" x2="40.64" y2="-50.8" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$31" class="0">
<segment>
<pinref part="LED3" gate="G$1" pin="A"/>
<pinref part="R3" gate="G$1" pin="2"/>
<wire x1="187.96" y1="10.16" x2="185.42" y2="10.16" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$32" class="0">
<segment>
<pinref part="R4" gate="G$1" pin="2"/>
<pinref part="LED4" gate="G$1" pin="A"/>
<wire x1="185.42" y1="-2.54" x2="187.96" y2="-2.54" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$29" class="0">
<segment>
<pinref part="LED1" gate="G$1" pin="A"/>
<pinref part="R1" gate="G$1" pin="2"/>
<wire x1="187.96" y1="35.56" x2="185.42" y2="35.56" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$30" class="0">
<segment>
<pinref part="LED2" gate="G$1" pin="A"/>
<pinref part="R2" gate="G$1" pin="2"/>
<wire x1="187.96" y1="22.86" x2="185.42" y2="22.86" width="0.1524" layer="91"/>
</segment>
</net>
</nets>
</sheet>
</sheets>
<errors>
<approved hash="101,1,180.34,76.2,UADSR1_PK,3,,,,"/>
<approved hash="101,1,180.34,73.66,UADSR2_PK,3,,,,"/>
<approved hash="101,1,180.34,71.12,UADSR3_PK,3,,,,"/>
<approved hash="101,1,180.34,68.58,UADSR4_PK,3,,,,"/>
<approved hash="113,1,71.9988,38.1,VR1,,,,,"/>
<approved hash="113,1,71.9988,7.62,VR2,,,,,"/>
<approved hash="113,1,71.9988,-20.32,VR3,,,,,"/>
<approved hash="113,1,71.9988,-48.26,VR4,,,,,"/>
<approved hash="113,1,191.77,35.8817,LED1,,,,,"/>
<approved hash="113,1,191.77,23.1817,LED2,,,,,"/>
<approved hash="113,1,191.77,10.4817,LED3,,,,,"/>
<approved hash="113,1,191.77,-2.21827,LED4,,,,,"/>
<approved hash="113,1,180.34,36.6497,R1,,,,,"/>
<approved hash="113,1,180.34,23.9497,R2,,,,,"/>
<approved hash="113,1,180.34,11.2497,R3,,,,,"/>
<approved hash="113,1,180.34,-1.45034,R4,,,,,"/>
</errors>
</schematic>
</drawing>
</eagle>

license_type: permissive

branch_name: refs/heads/master


text:
namespace AdvanceMockExample.Migrations
{
    using System;
    using System.Data.Entity.Migrations;

    public partial class InitialCreate : DbMigration
    {
        public override void Up()
        {
            CreateTable(
                "dbo.ConfigurationSettings",
                c => new
                    {
                        Id = c.Int(nullable: false, identity: true),
                        Server = c.String(maxLength: 20),
                        Key = c.Int(nullable: false),
                        Value = c.String(),
                    })
                .PrimaryKey(t => t.Id);

            CreateTable(
                "dbo.NotificationEventLogs",
                c => new
                    {
                        Id = c.Int(nullable: false, identity: true),
                        SentAt = c.DateTime(nullable: false),
                        NotificationEventId = c.Int(nullable: false),
                        NotificationRecipientId = c.Int(nullable: false),
                    })
                .PrimaryKey(t => t.Id)
                .ForeignKey("dbo.NotificationRecipients", t => t.NotificationRecipientId, cascadeDelete: true)
                .ForeignKey("dbo.NotificationEvents", t => t.NotificationEventId, cascadeDelete: true)
                .Index(t => t.NotificationEventId)
                .Index(t => t.NotificationRecipientId);

            CreateTable(
                "dbo.NotificationEvents",
                c => new
                    {
                        Id = c.Int(nullable: false, identity: true),
                        Active = c.Boolean(nullable: false),
                        Value = c.String(),
                        LastAlertTime = c.DateTime(nullable: false),
                        NotificationId = c.Int(nullable: false),
                    })
                .PrimaryKey(t => t.Id)
                .ForeignKey("dbo.Notifications", t => t.NotificationId)
                .Index(t => t.NotificationId);

            CreateTable(
                "dbo.Notifications",
                c => new
                    {
                        Id = c.Int(nullable: false, identity: true),
                        IsEnabled = c.Boolean(nullable: false),
                        Type = c.Int(nullable: false),
                        Name = c.String(),
                    })
                .PrimaryKey(t => t.Id);

            CreateTable(
                "dbo.NotificationRecipients",
                c => new
                    {
                        Id = c.Int(nullable: false, identity: true),
                        Delay = c.Time(nullable: false, precision: 7),
                        DeliveryMode = c.Int(nullable: false),
                        NotificationsPerEvent = c.Int(nullable: false),
                        UserId = c.Int(nullable: false),
                        NotificationId = c.Int(nullable: false),
                    })
                .PrimaryKey(t => t.Id)
                .ForeignKey("dbo.Notifications", t => t.NotificationId)
                .ForeignKey("dbo.Users", t => t.UserId, cascadeDelete: true)
                .Index(t => t.UserId)
                .Index(t => t.NotificationId);

            CreateTable(
                "dbo.Users",
                c => new
                    {
                        Id = c.Int(nullable: false, identity: true),
                        EmailAdress = c.String(),
                        PhoneNumber = c.String(),
                    })
                .PrimaryKey(t => t.Id);

        }

        public override void Down()
        {
            DropForeignKey("dbo.NotificationEventLogs", "NotificationEventId", "dbo.NotificationEvents");
            DropForeignKey("dbo.NotificationEvents", "NotificationId", "dbo.Notifications");
            DropForeignKey("dbo.NotificationRecipients", "UserId", "dbo.Users");
            DropForeignKey("dbo.NotificationEventLogs", "NotificationRecipientId", "dbo.NotificationRecipients");
            DropForeignKey("dbo.NotificationRecipients", "NotificationId", "dbo.Notifications");
            DropIndex("dbo.NotificationRecipients", new[] { "NotificationId" });
            DropIndex("dbo.NotificationRecipients", new[] { "UserId" });
            DropIndex("dbo.NotificationEvents", new[] { "NotificationId" });
            DropIndex("dbo.NotificationEventLogs", new[] { "NotificationRecipientId" });
            DropIndex("dbo.NotificationEventLogs", new[] { "NotificationEventId" });
            DropTable("dbo.Users");
            DropTable("dbo.NotificationRecipients");
            DropTable("dbo.Notifications");
            DropTable("dbo.NotificationEvents");
            DropTable("dbo.NotificationEventLogs");
            DropTable("dbo.ConfigurationSettings");
        }
    }
}

license: MIT

repository: firestrand/AdvMockExample

repo_name: firestrand/AdvMockExample

extension: cs


text:
package webhandlers

import (
	"fmt"
	"github.com/gofiber/fiber/v2"
	"github.com/ninjawarrior1337/lovelive-hd-ur-go/cardhandlers"
	"github.com/ninjawarrior1337/lovelive-hd-ur-go/utils"
)

func NormalCardHandler(ctx *fiber.Ctx) error {
	idolized := utils.DetermineIdolizedFromQuery(ctx)
	q := utils.CardQuery{
		IDs:    ctx.Query("id"),
		School: ctx.Query("school"),
		Rarity: ctx.Query("rarity"),
		Name:   ctx.Query("name"),
	}
	cardResult, err := utils.GetCard(q, idolized, false)
	if err != nil {
		return err
	}

	card := cardhandlers.NormalCard{
		BaseCard: *cardResult,
		Idolized: idolized,
	}

	if err := card.ProcessImage(); err != nil {
		return err
	}

	ctx.Append("Content-Disposition", fmt.Sprintf("inline; filename=\"%s\"", card.Hash()+card.Extension()))
	ctx.SendFile(card.OutputPath())
	return nil
}

gha_language: Go

extension: go


text:
@article{zheng2018complete,
 author = {Zheng, Zhihao and Lauritzen, J Scott and Perlman, Eric and Robinson, Camenzind G and Nichols, Matthew and Milkie, Daniel and Torrens, Omar and Price, John and Fisher, Corey B and Sharifi, Nadiya and others},
 journal = {Cell},
 number = {3},
 pages = {730--743},
 publisher = {Cell Press},
 title = {A complete electron microscopy volume of the brain of adult Drosophila melanogaster},
 volume = {174},
 year = {2018}
}

repository: dmilkie/starter-academic

repo_name: dmilkie/starter-academic

extension: bib


text:
package srv

import (
	"bytes"
	"fmt"
	"net/http"

	"github.com/Tahler/isotope/convert/pkg/consts"
	"github.com/Tahler/isotope/convert/pkg/graph/size"
	"github.com/Tahler/isotope/convert/pkg/graph/svctype"
	"istio.io/fortio/log"
)

func sendRequest(
	destName string,
	destType svctype.ServiceType,
	size size.ByteSize,
	requestHeader http.Header) (*http.Response, error) {
	url := fmt.Sprintf("http://%s:%v", destName, consts.ServicePort)
	request, err := buildRequest(url, size, requestHeader)
	if err != nil {
		return nil, err
	}
	log.Debugf("sending request to %s (%s)", destName, url)
	return http.DefaultClient.Do(request)
}

func buildRequest(url string, size size.ByteSize, requestHeader http.Header) (
	request *http.Request, err error) {
	payload := make([]byte, size)
	request, err = http.NewRequest("GET", url, bytes.NewBuffer(payload))
	if err != nil {
		return
	}
	copyHeader(request, requestHeader)
	return
}

func copyHeader(request *http.Request, header http.Header) {
	for key, values := range header {
		request.Header[key] = values
	}
}

repository: AlpacaMax/isotope

repo_name: AlpacaMax/isotope


text:
# Copyright (C) 2020, STMicroelectronics - All Rights Reserved

SUMMARY = "Systemd service to suspend/resume correctly bluetooth"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

SRC_URI = " \
    file://bluetooth_brcmfmac_driver.sh \
    file://bluetooth-brcmfmac-sleep.service \
    "

inherit systemd
SYSTEMD_PACKAGES += "${PN}"
SYSTEMD_SERVICE:${PN} = "bluetooth-brcmfmac-sleep.service"

do_install() {
    install -d ${D}${bindir}
    install -m 0755  ${WORKDIR}/bluetooth_brcmfmac_driver.sh ${D}${bindir}/

    if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
        install -d ${D}${systemd_unitdir}/system/

        install -m 0644 ${WORKDIR}/bluetooth-brcmfmac-sleep.service ${D}${systemd_unitdir}/system/
    fi
}

ALLOW_EMPTY:${PN} = "1"

branch_name: refs/heads/mickledore

gha_license_id: NOASSERTION

extension: bb


text:
using System;
using System.Collections.Generic;
using System.Linq;

namespace Mondop.Data.Sql.MetaDataModel
{
    public class EntityMetaData
    {
        public Type EntityType { get; set; }
        public string SchemaName { get; set; }
        public string TableName { get; set; }
        public List<EntityFieldMetaData> Fields { get; set; } = new List<EntityFieldMetaData>();
        public List<EntityFieldMetaData> PrimaryKey { get; set; } = new List<EntityFieldMetaData>();
        public EntityFieldMetaData this[string name] => Fields.SingleOrDefault(x=> x.Name.Equals(name));

        public string FormatQualifiedName(char sep)
        {
            if (string.IsNullOrWhiteSpace(SchemaName))
                return TableName;

            return $"{SchemaName}{sep}{TableName}";
        }

        public string FormatQualifiedName(char sep,char prefix,char suffix)
        {
            if (string.IsNullOrWhiteSpace(SchemaName))
                return $"{prefix}{TableName}{suffix}";

            return $"{prefix}{SchemaName}{suffix}{sep}{prefix}{TableName}{suffix}";
        }
    }
}


text:
% Encoding: UTF-8

@InProceedings{kocher99,
  author = {Partl, Hubert and Hyna, Irene and Schlegl, Elisabeth},
  title  = {一份不太简短的 LATEX2$\varepsilon$ 介绍},
  year   = {2016},
}

@Article{partl2016,
  author = {Partl, Hubert and Hyna, Irene and Schlegl, Elisabeth},
  title  = {一份不太简短的 LATEX2$\varepsilon$ 介绍},
  year   = {2016},
}

@Comment{jabref-meta: databaseType:bibtex;}

repository: suchot/Lanzhou-University-LZU-Beamer

repo_name: suchot/Lanzhou-University-LZU-Beamer


text:
inherit esw_examples features_check

REQUIRED_DISTRO_FEATURES = "mcdma"

ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mcdma/examples/"

repository: fullstackfpga/meta-xilinx

repo_name: fullstackfpga/meta-xilinx

gha_license_id: MIT


text:
#include "stdafx.h"
#include "RadialSampling.h"
#include "Client/DataHelper.h"
#include "Implement/LogUserImpl.h"

using namespace std;
using namespace Yap;
const double PI = 3.1415926535897932384626433832795028841971;

RadialSampling::RadialSampling():
	ProcessorImpl(L"RadialSampling")
{
	AddInput(L"Input", YAP_ANY_DIMENSION, DataTypeComplexFloat);
	AddInput(L"Mask", 2, DataTypeFloat);
	AddOutput(L"Output", YAP_ANY_DIMENSION, DataTypeComplexFloat);
	AddProperty<int>(L"RadialColumns", 0, L"Radial Columns width.");
	AddProperty<int>(L"LineCount", 0, L"Line Count.");
}

RadialSampling::RadialSampling(const RadialSampling& rhs)
	:ProcessorImpl(rhs)
{
}

RadialSampling::~RadialSampling()
{
}

bool Yap::RadialSampling::Input(const wchar_t * port, IData * data)
{
	//-
	DataHelper helper(data);

	int width  = helper.GetWidth();
	int height = helper.GetHeight();
	int depth  = helper.GetSliceCount();
	//径向采集示例参数：
	bool LinearRadial = true; //switch between linear and golden angle.

	int radial_columns(GetProperty<int>(L"RadialColumns"));
	int line_count(GetProperty<int>(L"LineCount"));
	assert(radial_columns > 0);
	assert(line_count > 0);

	float delta_k = static_cast<float>(width)/static_cast<float>(radial_columns);
	int center_line_index = line_count / 2;
	int center_column_index = radial_columns / 2;//start from 0,
	//end of 参数示例.

	Yap::Dimensions dims;
	dims(DimensionReadout, 0, radial_columns)
		(DimensionPhaseEncoding, 0, line_count);

	Dimensions output_dimensions(data->GetDimensions());
	output_dimensions.Combine(&dims);

	//----

	auto output = CreateData<complex<float>>(data, &output_dimensions);
	memset(Yap::GetDataArray<complex<float>>(output.get()), 0,
		radial_columns * line_count * depth * sizeof(complex<float>));

	//暂不考虑interleave.
	float delta_angle = LinearRadial ? PI / line_count : (111.25 / 180 * PI);

	for (int slice_index = 0; slice_index < depth; ++slice_index)
	{
		complex<float>* slice_in  = Yap::GetDataArray<complex<float>>(data) + slice_index * width * height;
		complex<float>* slice_out = Yap::GetDataArray<complex<float>>(output.get()) + slice_index * radial_columns * line_count;
		float angles[256];
		for (int line_index = 0; line_index < line_count; ++line_index)
		{
			//设置1：径向采集线 步进角度从 - pi / 2到pi / 2
			float angle = (line_index - center_line_index) * delta_angle;
			angles[line_index] = angle;

			boost::shared_array<complex<float>> aline
				= GetRadialLine(slice_in, width, height, radial_columns, angle, center_column_index, delta_k);
			memcpy(slice_out + line_index * radial_columns, aline.get(), radial_columns*sizeof(complex<float>));

			//径向采集信息存放在末点。
			*(slice_out + line_index * radial_columns + radial_columns -1)
			 = complex<float>(1.0, angle);

		}

	}

	return Feed(L"Output", output.get());

	return true;
}
//参数解释：跟SimpleGrid.cpp文件相同。
boost::shared_array<complex<float>>
RadialSampling::GetRadialLine(std::complex<float> * input_data2D,
	unsigned int width, unsigned int height,
	int columns, float angle, int center, float delta_k)
{

	boost::shared_array<complex<float>> radial_line(new complex<float>[columns]);
	//Sample the radial data.
	//
	for (int i = 0; i < columns; i++)
	{
		//1, 计算采样点坐标（坐标系：k空间）
		float r = (i - center)*delta_k;
		float x, y;
		if (r > 0)
		{
			x = r * cos(angle);
			y = r * sin(angle);
		}
		else
		{
			x = -r * cos(angle + PI);
			y = -r * sin(angle + PI);
		}

		//--------
		//2, 转换成数据坐标：单行起点为原点，第一行为原点（逐行增大）。
		//可以理解成：跟k空间坐标方向一致。
		float x_index = x + width / 2;
		float y_index = y + height / 2;
		x_index = x_index >= 0 ? x_index : 0;
		y_index = y_index >= 0 ? y_index : 0;

		x_index = x_index >= width - 1 ? (width - 1) : x_index;
		y_index = y_index >= height - 1 ? (height - 1) : y_index;
		//3, 双线性插值：
		//假定采样点的临近四个点分别为f00,f01, f10, f11;
		int x0 = floor(x_index);
		int y0 = floor(y_index);

		//百度百科
		complex<float> f00 = *(input_data2D + y0 * width + x0);
		complex<float> f10 = *(input_data2D + y0 * width + x0 + 1);
		complex<float> f01 = *(input_data2D + (y0 + 1) * width + x0);
		complex<float> f11 = *(input_data2D + (y0 + 1) * width + x0 + 1);

		{
			float x = x_index - x0;
			float y = y_index - y0;
			complex<float> fxy = f00*(1 - x)*(1 - y) + f10*x*(1 - y) + f01*(1 - x)*y + f11*x*y;
			*(radial_line.get() + i) = fxy;
		}

	}

	//end of sample.
	return radial_line;
}

repository: isqiwen/YAP

repo_name: isqiwen/YAP

extension: cpp


text:
package database

import "github.com/jinzhu/gorm"

// IsRecordNotFoundError returns true if the error was triggered by a record not being found.
func IsRecordNotFoundError(err error) bool {
	return gorm.IsRecordNotFoundError(err)
}

repository: kozmagabor/pipeline

repo_name: kozmagabor/pipeline


text:
require firmware.inc
require firmiszip.inc

ARM_INSTRUCTION_SET = "arm"

PR = "r0"
# Untested * Arris *
DL_URI = "http://downloadcenter.samsung.com/content/FM/200809/20080910134341046_L530_firmware_1007.0.exe"

# S = "${WORKDIR}
P_OFFSET = "11571255"
P_LINE = "/mtd_rwarea/rcSGO  &"
require firmware-package.bbclass

repository: metalsky/SamyGO

repo_name: metalsky/SamyGO


text:
// Copyright 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Package cputemp implements an i3bar module that shows the CPU temperature.
package cputemp

import (
	"fmt"
	"image/color"
	"strconv"
	"strings"
	"time"

	"github.com/martinlindhe/unit"
	"github.com/spf13/afero"

	"github.com/soumya92/barista/bar"
	"github.com/soumya92/barista/base"
	l "github.com/soumya92/barista/logging"
	"github.com/soumya92/barista/outputs"
	"github.com/soumya92/barista/timing"
)

// Module represents a cputemp bar module. It supports setting the output
// format, click handler, update frequency, and urgency/colour functions.
type Module struct {
	base.SimpleClickHandler
	thermalFile string
	scheduler   timing.Scheduler
	format      base.Value
}

type format struct {
	outputFunc func(unit.Temperature) bar.Output
	colorFunc  func(unit.Temperature) color.Color
	urgentFunc func(unit.Temperature) bool
}

func (f format) output(t unit.Temperature) bar.Output {
	out := outputs.Group(f.outputFunc(t))
	if f.urgentFunc != nil {
		out.Urgent(f.urgentFunc(t))
	}
	if f.colorFunc != nil {
		out.Color(f.colorFunc(t))
	}
	return out
}

func (m *Module) getFormat() format {
	return m.format.Get().(format)
}

// Zone constructs an instance of the cputemp module for the specified zone.
// The file /sys/class/thermal/<zone>/temp should return cpu temp in 1/1000 deg C.
func Zone(thermalZone string) *Module {
	m := &Module{
		thermalFile: fmt.Sprintf("/sys/class/thermal/%s/temp", thermalZone),
		scheduler:   timing.NewScheduler(),
	}
	l.Label(m, thermalZone)
	l.Register(m, "scheduler", "format")
	m.format.Set(format{})
	m.RefreshInterval(3 * time.Second)
	// Default output template, if no template/function was specified.
	m.OutputTemplate(outputs.TextTemplate(`{{.Celsius | printf "%.1f"}}℃`))
	return m
}

// DefaultZone constructs an instance of the cputemp module for the default zone.
func DefaultZone() *Module {
	return Zone("thermal_zone0")
}

// OutputFunc configures a module to display the output of a user-defined function.
func (m *Module) OutputFunc(outputFunc func(unit.Temperature) bar.Output) *Module {
	c := m.getFormat()
	c.outputFunc = outputFunc
	m.format.Set(c)
	return m
}

// OutputTemplate configures a module to display the output of a template.
func (m *Module) OutputTemplate(template func(interface{}) bar.Output) *Module {
	return m.OutputFunc(func(t unit.Temperature) bar.Output {
		return template(t)
	})
}

// RefreshInterval configures the polling frequency for cpu temperatures.
// Note: updates might still be less frequent if the temperature does not change.
func (m *Module) RefreshInterval(interval time.Duration) *Module {
	m.scheduler.Every(interval)
	return m
}

// OutputColor configures a module to change the colour of its output based on a
// user-defined function. This allows you to set up color thresholds, or even
// blend between two colours based on the current temperature.
func (m *Module) OutputColor(colorFunc func(unit.Temperature) color.Color) *Module {
	c := m.getFormat()
	c.colorFunc = colorFunc
	m.format.Set(c)
	return m
}

// UrgentWhen configures a module to mark its output as urgent based on a
// user-defined function.
func (m *Module) UrgentWhen(urgentFunc func(unit.Temperature) bool) *Module {
	c := m.getFormat()
	c.urgentFunc = urgentFunc
	m.format.Set(c)
	return m
}

// Stream starts the module.
func (m *Module) Stream() <-chan bar.Output {
	ch := base.NewChannel()
	go m.worker(ch)
	return ch
}

var fs = afero.NewOsFs()

func (m *Module) worker(ch base.Channel) {
	temp, err := getTemperature(m.thermalFile)
	format := m.getFormat()
	sFormat := m.format.Subscribe()
	for {
		if ch.Error(err) {
			return
		}
		ch.Output(format.output(temp))
		select {
		case <-m.scheduler.Tick():
			temp, err = getTemperature(m.thermalFile)
		case <-sFormat:
			format = m.getFormat()
		}
	}
}

func getTemperature(thermalFile string) (unit.Temperature, error) {
	bytes, err := afero.ReadFile(fs, thermalFile)
	if err != nil {
		return 0, err
	}
	value := strings.TrimSpace(string(bytes))
	milliC, err := strconv.Atoi(value)
	if err != nil {
		return 0, err
	}
	return unit.FromCelsius(float64(milliC) / 1000.0), nil
}

repository: blueshiftlabs/barista

repo_name: blueshiftlabs/barista