Commit 38cfdbfb authored by Alex Moore's avatar Alex Moore
Browse files

Updated workspace, project is now in folder WAMI

parent f608973e
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>SD1.$(PRODUCT_NAME:rfc1034identifier)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
//
// PLUCdraftTests.m
// PLUCdraftTests
//
// Created by Alexander W. Moore on 2/3/15.
// Copyright (c) 2015 Alexander W. Moore. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <XCTest/XCTest.h>
@interface PLUCdraftTests : XCTestCase
@end
@implementation PLUCdraftTests
- (void)setUp {
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
}
- (void)tearDown {
// Put teardown code here. This method is called after the invocation of each test method in the class.
[super tearDown];
}
- (void)testExample {
// This is an example of a functional test case.
XCTAssert(YES, @"Pass");
}
- (void)testPerformanceExample {
// This is an example of a performance test case.
[self measureBlock:^{
// Put the code you want to measure the time of here.
}];
}
@end
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6254" systemVersion="14C109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="Feu-98-wZh">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6247"/>
<capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
</dependencies>
<scenes>
<!--PLUC Inventory Log-In-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="LogInViewController" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
<viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Username" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1dA-Bp-AXg">
<rect key="frame" x="16" y="160" width="79" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Password" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tJE-yf-FhY">
<rect key="frame" x="16" y="221" width="76" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="rFc-Xp-Oik">
<rect key="frame" x="110" y="156" width="474" height="30"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="u4E-6x-G9M">
<rect key="frame" x="110" y="212" width="474" height="30"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits" secureTextEntry="YES"/>
</textField>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="rr9-HZ-Pee">
<rect key="frame" x="541" y="250" width="43" height="30"/>
<state key="normal" title="Log In">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<connections>
<action selector="btnLogInTouch:" destination="BYZ-38-t0r" eventType="touchDown" id="lMz-3L-Q1E"/>
<segue destination="Feu-98-wZh" kind="show" identifier="segueLogIn" id="1yM-zj-aAu"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="rFc-Xp-Oik" firstAttribute="leading" secondItem="1dA-Bp-AXg" secondAttribute="trailing" constant="15" id="73o-Xd-hSm"/>
<constraint firstItem="u4E-6x-G9M" firstAttribute="trailing" secondItem="8bC-Xf-vdC" secondAttribute="trailingMargin" id="8Sb-Wj-gvE"/>
<constraint firstItem="rFc-Xp-Oik" firstAttribute="leading" secondItem="1dA-Bp-AXg" secondAttribute="trailing" constant="15" id="GyG-lv-SFm"/>
<constraint firstItem="rFc-Xp-Oik" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="92" id="Iho-7P-963"/>
<constraint firstItem="tJE-yf-FhY" firstAttribute="top" secondItem="1dA-Bp-AXg" secondAttribute="bottom" constant="40" id="NNe-es-QvL"/>
<constraint firstItem="rr9-HZ-Pee" firstAttribute="top" secondItem="u4E-6x-G9M" secondAttribute="bottom" constant="8" id="Oss-vD-uRv"/>
<constraint firstItem="1dA-Bp-AXg" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="SKL-bQ-Dw2"/>
<constraint firstItem="rFc-Xp-Oik" firstAttribute="leading" secondItem="1dA-Bp-AXg" secondAttribute="trailing" constant="15" id="dY9-x3-MrL"/>
<constraint firstItem="1dA-Bp-AXg" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="96" id="dd7-87-Zhl"/>
<constraint firstItem="rr9-HZ-Pee" firstAttribute="trailing" secondItem="8bC-Xf-vdC" secondAttribute="trailingMargin" id="f9o-oD-Vyo"/>
<constraint firstItem="rFc-Xp-Oik" firstAttribute="trailing" secondItem="8bC-Xf-vdC" secondAttribute="trailingMargin" id="ixb-nM-7g7"/>
<constraint firstItem="u4E-6x-G9M" firstAttribute="leading" secondItem="tJE-yf-FhY" secondAttribute="trailing" constant="18" id="kG7-cu-MLv"/>
<constraint firstItem="u4E-6x-G9M" firstAttribute="top" secondItem="rFc-Xp-Oik" secondAttribute="bottom" constant="26" id="kpq-Wa-LWy"/>
<constraint firstItem="u4E-6x-G9M" firstAttribute="leading" secondItem="tJE-yf-FhY" secondAttribute="trailing" constant="18" id="m1T-R8-Yq2"/>
<constraint firstItem="tJE-yf-FhY" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="n2q-qa-ima"/>
<constraint firstItem="1dA-Bp-AXg" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="oP5-Gs-Awf"/>
<constraint firstItem="rFc-Xp-Oik" firstAttribute="trailing" secondItem="8bC-Xf-vdC" secondAttribute="trailingMargin" id="qjn-xT-xXT"/>
<constraint firstItem="rFc-Xp-Oik" firstAttribute="leading" secondItem="1dA-Bp-AXg" secondAttribute="trailing" constant="15" id="sb6-K7-nXR"/>
</constraints>
</view>
<navigationItem key="navigationItem" title="PLUC Inventory Log-In" id="MTF-s9-qJz"/>
<connections>
<outlet property="txtPassword" destination="u4E-6x-G9M" id="sbx-w0-Hox"/>
<outlet property="txtUsername" destination="rFc-Xp-Oik" id="Q9Z-xl-cFg"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="920" y="136"/>
</scene>
<!--Inventory Section-->
<scene sceneID="8NC-rw-Ief">
<objects>
<viewController id="Feu-98-wZh" customClass="SectionViewController" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="opR-je-HOt"/>
<viewControllerLayoutGuide type="bottom" id="Oim-8n-gGb"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Via-s0-aIE">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" translatesAutoresizingMaskIntoConstraints="NO" id="KQi-KS-V1c">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<prototypes>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="ListPrototypeCell" id="Lit-iu-3da">
<rect key="frame" x="0.0" y="0.0" width="600" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Lit-iu-3da" id="sY5-sD-kSW">
<autoresizingMask key="autoresizingMask"/>
</tableViewCellContentView>
</tableViewCell>
</prototypes>
</tableView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</view>
<navigationItem key="navigationItem" title="Inventory Section" id="GVO-9b-BCZ">
<barButtonItem key="rightBarButtonItem" title="Select" id="3yH-Ki-T0s">
<connections>
<segue destination="chc-VY-Gqa" kind="show" id="zVe-eO-sOn"/>
</connections>
</barButtonItem>
</navigationItem>
<connections>
<outlet property="tableView" destination="KQi-KS-V1c" id="bSM-0w-K36"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="j5n-xV-83T" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1643" y="136"/>
</scene>
<!--Settings-->
<scene sceneID="lmw-fN-nDU">
<objects>
<viewController id="SAZ-ry-SGT" customClass="SettingsViewController" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="3JJ-GO-X0R"/>
<viewControllerLayoutGuide type="bottom" id="Obq-NZ-uqV"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="eDN-A7-E2u">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Continuous scanning" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NbJ-uH-v6R">
<rect key="frame" x="16" y="72" width="162" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6gf-v9-uSr">
<rect key="frame" x="535" y="67" width="51" height="31"/>
<connections>
<action selector="switchContScanChange:" destination="SAZ-ry-SGT" eventType="valueChanged" id="Rxq-0C-BI1"/>
</connections>
</switch>
<stepper opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="2" maximumValue="4" translatesAutoresizingMaskIntoConstraints="NO" id="Unv-hz-Ovj">
<rect key="frame" x="490" y="101" width="94" height="29"/>
<connections>
<action selector="changeSledVolume:" destination="SAZ-ry-SGT" eventType="valueChanged" id="rBB-T2-ktI"/>
</connections>
</stepper>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Sled Volume:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="K8q-Hx-Op6">
<rect key="frame" x="16" y="101" width="104" height="29"/>
<constraints>
<constraint firstAttribute="width" constant="104" id="e8n-Qu-mNH"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Volume Level" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QRZ-Sy-r8t">
<rect key="frame" x="16" y="138" width="162" height="58"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="K8q-Hx-Op6" firstAttribute="top" secondItem="NbJ-uH-v6R" secondAttribute="bottom" constant="8" symbolic="YES" id="2qT-Ct-jHk"/>
<constraint firstItem="K8q-Hx-Op6" firstAttribute="leading" secondItem="QRZ-Sy-r8t" secondAttribute="leading" id="3HD-uR-IP6"/>
<constraint firstItem="Obq-NZ-uqV" firstAttribute="top" secondItem="QRZ-Sy-r8t" secondAttribute="bottom" constant="404" id="3qJ-zc-q1g"/>
<constraint firstItem="6gf-v9-uSr" firstAttribute="centerY" secondItem="NbJ-uH-v6R" secondAttribute="centerY" id="9vb-QV-Zlb"/>
<constraint firstItem="K8q-Hx-Op6" firstAttribute="leading" secondItem="eDN-A7-E2u" secondAttribute="leadingMargin" id="BuC-pR-CRv"/>
<constraint firstItem="6gf-v9-uSr" firstAttribute="trailing" secondItem="Unv-hz-Ovj" secondAttribute="trailing" id="CqB-8R-xat"/>
<constraint firstItem="Unv-hz-Ovj" firstAttribute="trailing" secondItem="eDN-A7-E2u" secondAttribute="trailingMargin" id="GGQ-6j-5VZ"/>
<constraint firstItem="Unv-hz-Ovj" firstAttribute="top" secondItem="K8q-Hx-Op6" secondAttribute="top" id="OZR-wW-AnW"/>
<constraint firstItem="QRZ-Sy-r8t" firstAttribute="trailing" secondItem="NbJ-uH-v6R" secondAttribute="trailing" id="QMX-HN-BaE"/>
<constraint firstItem="QRZ-Sy-r8t" firstAttribute="top" secondItem="K8q-Hx-Op6" secondAttribute="bottom" constant="8" symbolic="YES" id="f2k-rg-Jvz"/>
<constraint firstItem="Unv-hz-Ovj" firstAttribute="bottom" secondItem="K8q-Hx-Op6" secondAttribute="bottom" id="lqv-IJ-wnl"/>
<constraint firstItem="K8q-Hx-Op6" firstAttribute="leading" secondItem="NbJ-uH-v6R" secondAttribute="leading" id="nPz-Nf-pDI"/>
<constraint firstItem="6gf-v9-uSr" firstAttribute="top" secondItem="3JJ-GO-X0R" secondAttribute="bottom" constant="3" id="sij-Ck-Gka"/>
</constraints>
</view>
<navigationItem key="navigationItem" title="Settings" id="fve-mW-VnO"/>
<connections>
<outlet property="sledSoundLabel" destination="QRZ-Sy-r8t" id="tp0-l2-mEe"/>
<outlet property="sledSoundStepper" destination="Unv-hz-Ovj" id="Zip-QH-U3h"/>
<outlet property="switchContScan" destination="6gf-v9-uSr" id="rXm-pX-KXM"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="OaF-GW-TCq" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1686" y="890"/>
</scene>
<!--Scan Book ID-->
<scene sceneID="Dpu-29-1z1">
<objects>
<viewController id="chc-VY-Gqa" customClass="ScanBookViewController" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="RKt-M1-hEG"/>
<viewControllerLayoutGuide type="bottom" id="iRa-hF-9bB"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="STn-V1-lxQ">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" image="greyx2.png" translatesAutoresizingMaskIntoConstraints="NO" id="ybW-ia-BeV">
<rect key="frame" x="484" y="236" width="100" height="100"/>
<constraints>
<constraint firstAttribute="width" constant="100" id="AuY-g2-4Kj"/>
<constraint firstAttribute="height" constant="100" id="gZ3-Rw-3sh"/>
</constraints>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" image="greycheck2.png" translatesAutoresizingMaskIntoConstraints="NO" id="ROA-6e-Pjx">
<rect key="frame" x="16" y="236" width="100" height="100"/>
<accessibility key="accessibilityConfiguration">
<accessibilityTraits key="traits" none="YES" image="YES" notEnabled="YES"/>
</accessibility>
<constraints>
<constraint firstAttribute="width" secondItem="ROA-6e-Pjx" secondAttribute="height" multiplier="1:1" id="R3t-B2-iK5"/>
<constraint firstAttribute="width" constant="100" id="SQY-vq-8sJ"/>
<constraint firstAttribute="height" constant="100" id="WvI-LR-IXy"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="Label" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="28C-Wr-Ey7">
<rect key="frame" x="273" y="92" width="42" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="H7S-u0-5kF">
<rect key="frame" x="10" y="145" width="568" height="30"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="ROA-6e-Pjx" firstAttribute="leading" secondItem="STn-V1-lxQ" secondAttribute="leadingMargin" id="0hg-2s-05T"/>
<constraint firstAttribute="centerX" secondItem="28C-Wr-Ey7" secondAttribute="centerX" id="AbP-uv-U7T"/>
<constraint firstAttribute="centerY" secondItem="ybW-ia-BeV" secondAttribute="centerY" id="DPh-IR-Amw"/>
<constraint firstItem="H7S-u0-5kF" firstAttribute="top" secondItem="RKt-M1-hEG" secondAttribute="bottom" constant="79" id="Gsk-Gj-A38"/>
<constraint firstAttribute="centerX" secondItem="H7S-u0-5kF" secondAttribute="centerX" id="IJw-1h-Lbr"/>
<constraint firstItem="ybW-ia-BeV" firstAttribute="trailing" secondItem="STn-V1-lxQ" secondAttribute="trailingMargin" id="XKy-lj-sEj"/>
<constraint firstAttribute="centerY" secondItem="ROA-6e-Pjx" secondAttribute="centerY" id="Y2V-Vb-6pH"/>
<constraint firstItem="H7S-u0-5kF" firstAttribute="leading" secondItem="STn-V1-lxQ" secondAttribute="leadingMargin" id="gKw-XQ-QYf"/>
<constraint firstItem="28C-Wr-Ey7" firstAttribute="top" secondItem="RKt-M1-hEG" secondAttribute="bottom" constant="28" id="pKn-8w-jNK"/>
<constraint firstItem="H7S-u0-5kF" firstAttribute="trailing" secondItem="STn-V1-lxQ" secondAttribute="trailingMargin" id="vfi-d3-lh3"/>
</constraints>
</view>
<navigationItem key="navigationItem" title="Scan Book ID" id="3KX-LL-wsG">
<barButtonItem key="rightBarButtonItem" title="Settings" id="O9j-db-YGv">
<connections>
<segue destination="SAZ-ry-SGT" kind="show" id="8gL-Z2-Bwx"/>
</connections>
</barButtonItem>
</navigationItem>
<connections>
<outlet property="imgCheck" destination="ROA-6e-Pjx" id="aHt-g1-AhY"/>
<outlet property="imgX" destination="ybW-ia-BeV" id="13c-F3-Ox4"/>
<outlet property="lblSection" destination="28C-Wr-Ey7" id="xrK-eJ-KDa"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="cQa-49-Hhu" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="2355" y="136"/>
</scene>
<!--Navigation Controller-->
<scene sceneID="uVk-5s-tuA">
<objects>
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="juL-Mo-vpA" sceneMemberID="viewController">
<toolbarItems/>
<navigationBar key="navigationBar" contentMode="scaleToFill" id="eZ5-le-qT8">
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/>
</navigationBar>
<nil name="viewControllers"/>
<connections>
<segue destination="BYZ-38-t0r" kind="relationship" relationship="rootViewController" id="NR2-kl-ijn"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="cB3-Ao-obn" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="194" y="136"/>
</scene>
</scenes>
<resources>
<image name="greycheck2.png" width="300" height="230"/>
<image name="greyx2.png" width="300" height="300"/>
</resources>
</document>
(function() {
var el = document.getElementById("CollectionList1");
var btn = document.getElementById("singleRight");
el.selctedIndex = selectedAdd; // Selected add is the index of selected collection
el.value = el.options[selectedAdd].value;
doTransfer1();
})();
\ No newline at end of file
(function() {
finishedScanning();
})();
\ No newline at end of file
(function() {
var el = document.getElementById("CollectionList1");
var opts = el.options;
var str = '{ "options" : [';
for (var i = 0; i < opts.length; i++) {
str += '{"value":"' + opts[i].value + '", '
+ '"text":"' + opts[i].innerHTML.trim() + '"}'
if (i + 1 != opts.length)
str += ",";
}
str += "]}";
return str;
})();
\ No newline at end of file
(function() {
var div = document.getElementById("ActionMessage");
var msg = div.getElementsByTagName("td")[0].innerHTML.trim().replace(",", "-");
return msg.replace(/<br>/g, ",");
})();
\ No newline at end of file
(function() {
var scannedDiv = document.getElementById("ScannedListDiv");
var scannedTB = scannedDiv.children[0].children[0];
var allRows = scannedTB.children;
var scannedRows = []; // Array of tr elements
var scannedBooks = '{ "books" : [';
// Go through all rows, except header, to get all scanned rows
for (var i = 1; i < allRows.length; i++) {
if (allRows[i].childElementCount !== 0) { // Ignore empty spacing rows
scannedRows[scannedRows.length] = allRows[i];
}
}
// Go through scanned rows
for (var j = 0; j < scannedRows.length; j++) {
if (scannedRows[j].children.length !== 0) {
// Scanned rows is a tr element with td children
var rowChildren = scannedRows[j].children; // Array of tds
// Go through each td element in a row
for (var k = 0; k < rowChildren.length; k++) { // k is col num
if (rowChildren[k].childElementCount !== 0) { // If the td has children (font)
var bookProp = rowChildren[k].children[0]; // font element
// If the col isn't empty
var a = bookProp.innerHTML;
if (bookProp.innerHTML != "&nbsp;" && bookProp.innerHTML !== "") {
switch(k) {
case 1: // ID Prop
scannedBooks += '{"id":"' + bookProp.innerHTML.trim() + '", ';
break;
case 2: // Call Num
scannedBooks += '"callnum":"' + bookProp.innerHTML.trim() + '", ';
break;
case 3: // Title
scannedBooks += '"title":"' + bookProp.innerHTML.trim() + '"},';
break;
}
}
}
}
}
}
scannedBooks = scannedBooks.substring(0, scannedBooks.length-1);
return scannedBooks + ']}';
})();
\ No newline at end of file
(function() {
var el = document.getElementById("CollectionList2");
var opts = el.options;
var str = '{ "options" : [';
for (var i = 0; i < opts.length; i++) {
str += '{"value":"' + opts[i].value + '", '
+ '"text":"' + opts[i].innerHTML.trim() + '"}'
if (i + 1 != opts.length)
str += ",";
}
str += "]}";
return str;
})();
\ No newline at end of file
(function() {
// TODO: Believe this is what the continue button does
onContinue();
})();
\ No newline at end of file
(function() {
var user = document.getElementById("UserID"); // User ID input
var pword = document.getElementById("Password"); // Password input
var type = document.getElementsByName("ScanType"); // Scan or Identify missing Radiobuttons
var inventory = document.getElementById("InventoryRadioBtn");
var missing = document.getElementById("IDMissingRadioBtn");
user.value = "circ_admin";
pword.value = "silver";
GetLocation();
var loc = document.getElementById("LocationSelCtl"); // Location select
loc.selectedIndex = 2; // Make sure this is the Lewisburg branch
loc.value = loc.options[2].value;
inventory.checked = true;
doLogin();
})();
\ No newline at end of file
(function() {
var user = document.getElementById("UserID"); // User ID input
var pword = document.getElementById("Password"); // Password input
var type = document.getElementsByName("ScanType"); // Scan or Identify missing Radiobuttons
var inventory = document.getElementById("InventoryRadioBtn");
var missing = document.getElementById("IDMissingRadioBtn");
\ No newline at end of file
GetLocation();
var loc = document.getElementById("LocationSelCtl"); // Location select
loc.selectedIndex = 2; // Make sure this is the Lewisburg branch
loc.value = loc.options[2].value;
inventory.checked = true;
doLogin();
})();
\ No newline at end of file
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
784F46F11A83CF7700EAC872 /* greycheck2.png in Resources */ = {isa = PBXBuildFile; fileRef = 784F46F01A83CF7700EAC872 /* greycheck2.png */; };
784F46F31A83CF7D00EAC872 /* greyx2.png in Resources */ = {isa = PBXBuildFile; fileRef = 784F46F21A83CF7D00EAC872 /* greyx2.png */; };
784F46F61A83D47300EAC872 /* Session.m in Sources */ = {isa = PBXBuildFile; fileRef = 784F46F51A83D47300EAC872 /* Session.m */; };
7866F5EF1A9D1723006CEFEB /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7866F5EE1A9D1723006CEFEB /* AudioToolbox.framework */; };
7866F5F11A9D23B4006CEFEB /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 7866F5F01A9D23B4006CEFEB /* Main.storyboard */; };
78FD6B0E1A81713A00D48A92 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 78FD6B0D1A81713A00D48A92 /* main.m */; };
78FD6B111A81713A00D48A92 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 78FD6B101A81713A00D48A92 /* AppDelegate.m */; };
78FD6B191A81713A00D48A92 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 78FD6B181A81713A00D48A92 /* Images.xcassets */; };
78FD6B1C1A81713A00D48A92 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 78FD6B1A1A81713A00D48A92 /* LaunchScreen.xib */; };
78FD6B281A81713B00D48A92 /* PLUCdraftTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 78FD6B271A81713B00D48A92 /* PLUCdraftTests.m */; };
78FD6B381A817F4500D48A92 /* greencheck.png in Resources */ = {isa = PBXBuildFile; fileRef = 78FD6B371A817F4500D48A92 /* greencheck.png */; };
78FD6B3A1A817F4D00D48A92 /* redx.png in Resources */ = {isa = PBXBuildFile; fileRef = 78FD6B391A817F4D00D48A92 /* redx.png */; };
78FD6B3D1A8185AF00D48A92 /* ScanBookViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 78FD6B3C1A8185AF00D48A92 /* ScanBookViewController.m */; };
78FD6B461A81929200D48A92 /* LogInViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 78FD6B451A81929200D48A92 /* LogInViewController.m */; };
EF2233281A9FA2DD005F0FFC /* CaptuvoScannerController.m in Sources */ = {isa = PBXBuildFile; fileRef = EF2233251A9FA2DD005F0FFC /* CaptuvoScannerController.m */; };