Ejemplo n.º 1
0
        public JwLayout MakeText()
        {
            JwVerticalLayout vp1 = new JwVerticalLayout();
            vp1.ControlWidth.BeFill();
            vp1.AlignCenter();
            vp1.Gap = 0;
            // kludge (err) language
            AddText( vp1, "By using training mode, no scans or");
            AddText( vp1, "collected data will be uploaded to");
            AddText( vp1, "the server.  During this time the device");
            AddText( vp1, "will show an image of a light bulb:");

            JwVerticalLayout vp2 = new JwVerticalLayout();
            vp2.ControlWidth.BeFill();
            vp2.AlignCenter();
            vp2.Gap = 0;
            AddText( vp2, "When done, press this lightbulb to");
            AddText( vp2, "end training.");

            JwVerticalDistributedLayout vp = new JwVerticalDistributedLayout();
            vp.ControlWidth.BeFill();
            vp.AlignCenter();

            vp.Add(vp1);

            JwPictureBox pb = VmUiBuilder.MakePictureBox( VmImageManager.Default.GetTrainingImage() );
            JwLeftRightLayout lr = new JwLeftRightLayout();
            lr.RightControl = pb;

            vp.Add(lr);

            vp.Add(vp2);

            return vp;
        }
Ejemplo n.º 2
0
 //# __________ PROTOCOL :: MAKE (INPUT AREA) __________ #//
 public Control MakeInputArea()
 {
     JwVerticalDistributedLayout p = new JwVerticalDistributedLayout();
     AddIdentifierTB(p);
     AddNoteTB(p);
     return p;
 }
        public JwLayout MakeText()
        {
            JwVerticalLayout vp1 = new JwVerticalLayout();
            vp1.ControlWidth.BeFill();
            vp1.AlignCenter();
            vp1.Gap = 0;
            // kludge (err) language
            AddText( vp1, "Routing data is not available");
            AddText( vp1, "for this item.  What would you");
            AddText( vp1, "like to do?");

            /*
            JwVerticalLayout vp2 = new JwVerticalLayout();
            vp2.ControlWidth.BeFill();
            vp2.AlignCenter();
            vp2.Gap = 0;
            AddText( vp2, "To quit training click the light");
            AddText( vp2, "bulb image above that looks like:");
            */

            JwVerticalDistributedLayout vp = new JwVerticalDistributedLayout();
            vp.ControlWidth.BeFill();
            vp.AlignCenter();

            vp.Add(vp1);

            JwPictureBox pb = VmUiBuilder.MakePictureBox(VmImageManager.Default.GetAirPlaneConfirmImage());
            JwLeftRightLayout lr = new JwLeftRightLayout();
            lr.RightControl = pb;

            vp.Add(lr);

            return vp;
        }
Ejemplo n.º 4
0
 public Control GetCenterControl()
 {
     JwVerticalDistributedLayout p = new JwVerticalDistributedLayout();
     p.ControlWidth.BeFill();
     AddNestControl(p);
     return p;
 }
        public JwLayout MakeText()
        {
            JwVerticalLayout vp1 = new JwVerticalLayout();
            vp1.ControlWidth.BeFill();
            vp1.AlignCenter();
            vp1.Gap = 0;
            // kludge (err) language
            AddText( vp1, "The close out information for this");
            AddText( vp1, "routing is not available.  What would");
            AddText( vp1, "you like to do?");

            JwVerticalDistributedLayout vp = new JwVerticalDistributedLayout();
            vp.ControlWidth.BeFill();
            vp.AlignCenter();

            vp.Add(vp1);

            JwPictureBox pb = VmUiBuilder.MakePictureBox(VmImageManager.Default.GetClockConfirmImage());
            JwLeftRightLayout lr = new JwLeftRightLayout();
            lr.RightControl = pb;

            vp.Add(lr);

            return vp;
        }
Ejemplo n.º 6
0
        public JwLayout MakeText()
        {
            JwVerticalLayout vp1 = new JwVerticalLayout();
            vp1.ControlWidth.BeFill();
            vp1.AlignCenter();
            vp1.Gap = 0;
            // kludge (err) language
            AddText( vp1, "Warning: you are currently in");
            AddText( vp1, "training mode.  The scans and data");
            AddText( vp1, "that you are collecting are not");
            AddText( vp1, "really being sent to the server.");

            JwVerticalLayout vp2 = new JwVerticalLayout();
            vp2.ControlWidth.BeFill();
            vp2.AlignCenter();
            vp2.Gap = 0;
            AddText( vp2, "To quit training click the light");
            AddText( vp2, "bulb image above that looks like:");

            JwVerticalDistributedLayout vp = new JwVerticalDistributedLayout();
            vp.ControlWidth.BeFill();
            vp.AlignCenter();

            vp.Add(vp1);

            JwPictureBox pb = VmUiBuilder.MakePictureBox( VmImageManager.Default.GetTrainingImage() );
            JwLeftRightLayout lr = new JwLeftRightLayout();
            lr.RightControl = pb;

            vp.Add(vp2);

            vp.Add(lr);

            return vp;
        }
Ejemplo n.º 7
0
 public Control MakeInputArea()
 {
     JwVerticalDistributedLayout p = new JwVerticalDistributedLayout();
     p.Add(MakeNestPanel());
     p.Add(MakeNoteTB());
     return p;
 }
Ejemplo n.º 8
0
 //# __________ PROTOCOL :: FRAMEWORK (MISC) __________ #//
 public override Control MakeBody()
 {
     JwVerticalDistributedLayout p = new JwVerticalDistributedLayout();
     p.Add(MakeContinuePictureButton());
     p.Add(MakeHomePictureButton());
     return p;
 }
        //# __________ PROTOCOL :: MAKE (INPUT AREA) __________ #//
        public Control MakeInputArea()
        {
            JwVerticalDistributedLayout v = new JwVerticalDistributedLayout();
            v.Add(MakeTagDestinationLabel());
            v.Add(MakeNestAirportCodeCB());

            return v;
        }
Ejemplo n.º 10
0
 public Control MakeNestArea()
 {
     JwVerticalDistributedLayout p = new JwVerticalDistributedLayout();
     p.ControlWidth.BeFill();
     JwLabeledControl lc = VmUiBuilder.MakeLabeledValueLabel(
         VmLanguage.Default.GetNest());
     _nestLabel = (JwLabel)lc.Control;
     p.Add(lc);
     return p;
 }
Ejemplo n.º 11
0
        public JwLayout MakeText()
        {
            JwVerticalDistributedLayout vp1 = new JwVerticalDistributedLayout();
            vp1.ControlWidth.BeFill();
            vp1.AlignCenter();
            // kludge (err) language
            AddText( vp1, "Would you like to quit training?");

            return vp1;
        }
Ejemplo n.º 12
0
 public Control MakeNestArea()
 {
     JwVerticalDistributedLayout p = new JwVerticalDistributedLayout();
     p.ControlWidth.BeFill();
     JwLabeledControl lc = VmUiBuilder.MakeLabeledSmallValueLabel(
         // kludge (err) - language
         "Last Scan");
     _scanValueLabel = (JwLabel)lc.Control;
     p.Add(lc);
     return p;
 }
Ejemplo n.º 13
0
        //# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #//
        public override Control MakeBody()
        {
            JwVerticalDistributedLayout p = new JwVerticalDistributedLayout();
            p.Add(MakeTopControl());

            JwTopBottomLayout tb = new JwTopBottomLayout();
            tb.CenterControl = p;
            tb.BottomControl = MakeNavigationButtons();

            return tb;
        }
Ejemplo n.º 14
0
        public JwLayout MakeText()
        {
            JwVerticalLayout vp1 = new JwVerticalLayout();
            vp1.ControlWidth.BeFill();
            vp1.AlignCenter();
            vp1.Gap = 0;
            // kludge (err) language
            AddText( vp1, "You are getting this item after");
            AddText( vp1, "the assigned close out time.");
            AddText( vp1, "What would you like to do?");

            /*
            JwVerticalLayout vp2 = new JwVerticalLayout();
            vp2.ControlWidth.BeFill();
            vp2.AlignCenter();
            vp2.Gap = 0;
            AddText( vp2, "To quit training click the light");
            AddText( vp2, "bulb image above that looks like:");
            */

            JwVerticalDistributedLayout vp = new JwVerticalDistributedLayout();
            vp.ControlWidth.BeFill();
            vp.AlignCenter();

            vp.Add(vp1);

            JwPictureBox pb = VmUiBuilder.MakePictureBox(VmImageManager.Default.GetClockConfirmImage());
            JwLeftRightLayout lr = new JwLeftRightLayout();
            lr.RightControl = pb;

            vp.Add(lr);

            //            vp.Add(vp2);

            return vp;
        }
Ejemplo n.º 15
0
 //# __________ PROTOCOL :: PROPERTIES __________ #//
 //# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #//
 public Control MakeInputPanel()
 {
     JwVerticalDistributedLayout p = new JwVerticalDistributedLayout();
     p.Add(MakeCarrierField());
     return p;
 }
Ejemplo n.º 16
0
 //# __________ PROTOCOL :: MAKE (INPUT AREA) __________ #//
 public Control MakeInputArea()
 {
     JwVerticalDistributedLayout p = new JwVerticalDistributedLayout();
     AddUldType(p);
     AddUldNumber(p);
     AddUldOwner(p);
     return p;
 }
Ejemplo n.º 17
0
 public Control MakeInputArea()
 {
     JwVerticalDistributedLayout p = new JwVerticalDistributedLayout();
     p.Add(MakeSerialNumberTB());
     return p;
 }
Ejemplo n.º 18
0
 //# __________ PROTOCOL :: MAKE (INPUT AREA) __________ #//
 public Control MakeInputArea()
 {
     JwVerticalDistributedLayout p = new JwVerticalDistributedLayout();
     AddScheduledDepartureDT(p);
     AddDestinationAirportCodeCB(p);
     AddFlightControl(p);
     return p;
 }
        public JwLayout MakeText()
        {
            String message = "This truck has arrived before the scheduled arrival time!  Has the truck arrived early, or have you recorded the wrong truck?";
            JwVerticalLayout vp1 = new JwVerticalLayout();
            vp1.ControlWidth.BeFill();
            vp1.AlignCenter();
            vp1.Gap = 0;

            JwList<String> lines = JwUtility.BreakIntoSeperateLines(message, 30);
            foreach( String line in lines ) AddText( vp1, line);

            JwVerticalDistributedLayout vp = new JwVerticalDistributedLayout();
            vp.ControlWidth.BeFill();
            vp.AlignCenter();

            vp.Add(vp1);

            return vp;
        }
Ejemplo n.º 20
0
 //# __________ PROTOCOL :: MAKE (INPUT AREA) __________ #//
 public Control MakeInputArea()
 {
     JwVerticalDistributedLayout p = new JwVerticalDistributedLayout();
     AddUldControl(p);
     AddDateControl(p);
     AddNoteTB(p);
     return p;
 }
Ejemplo n.º 21
0
 public Control MakeTagPanel()
 {
     JwLabel useKeyboardLabel = VmUiBuilder.MakeLinkedLabel(
         VmLanguage.Default.GetUseKeyboard(),
         UseKeyboardClicked);
     Panel subpanel = MakeTagSubpanel();
     subpanel.BackColor = Color.White;
     JwEmptyBorder emptyBorder = new JwEmptyBorder(subpanel, 1);
     emptyBorder.BackColor = Color.White;
     JwSolidBorder solidBorder = new JwSolidBorder(emptyBorder, 1, Color.Black);
     Control c = VmUiBuilder.MakeLabeledControl(
         VmLanguage.Default.GetNest(),
         solidBorder,
         useKeyboardLabel);
     JwVerticalDistributedLayout v = new JwVerticalDistributedLayout();
     v.ControlWidth.BeFill();
     v.Add(c);
     return v;
 }
Ejemplo n.º 22
0
 //# __________ PROTOCOL :: MAKE (INPUT AREA) __________ #//
 public Control MakeInputArea()
 {
     JwVerticalDistributedLayout p = new JwVerticalDistributedLayout();
     AddUserNameTB(p);
     AddPasswordTB(p);
     return p;
 }
Ejemplo n.º 23
0
        public Control MakeDisplayArea()
        {
            JwVerticalDistributedLayout v = new JwVerticalDistributedLayout();
            v.ControlWidth.BeFill();

            v.Add( MakeScanBoxArea() );

            _statisticsSubpanel = new VmStatisticsSubpanel(true);
            v.Add( _statisticsSubpanel );

            _nestStatisticsSubpanel = new VmNestStatisticsSubpanel(true);
            v.Add( _nestStatisticsSubpanel );

            return v;
        }
Ejemplo n.º 24
0
 public Control MakeInputArea()
 {
     JwVerticalDistributedLayout p = new JwVerticalDistributedLayout();
     p.Add(MakeAirportCodeTB());
     return p;
 }
        public Control MakeInputArea()
        {
            JwVerticalDistributedLayout p = new JwVerticalDistributedLayout();
            p.Add(MakeFlightControl());
            p.Add(MakeActualDepartureDateTimeField());
            p.Add(MakeActualArrivalDateTimeField());

            return p;
        }
Ejemplo n.º 26
0
 public Control MakeInputArea()
 {
     JwVerticalDistributedLayout p = new JwVerticalDistributedLayout();
     p.Add(MakeDateTimeField());
     p.Add(MakeMiddlePanel());
     p.Add(MakeFlightNumberField());
     return p;
 }
        public JwLayout MakeText()
        {
            String message = "This flight should have already departed!  Is the flight departing late, or have you recorded the wrong flight?";
            JwVerticalLayout vp1 = new JwVerticalLayout();
            vp1.ControlWidth.BeFill();
            vp1.AlignCenter();
            vp1.Gap = 0;

            JwList<String> lines = JwUtility.BreakIntoSeperateLines(message, 40);
            foreach( String line in lines ) AddText( vp1, line);

            JwVerticalDistributedLayout vp = new JwVerticalDistributedLayout();
            vp.ControlWidth.BeFill();
            vp.AlignCenter();

            vp.Add(vp1);

            return vp;
        }
Ejemplo n.º 28
0
        public JwLayout MakeText()
        {
            JwVerticalLayout vp1 = new JwVerticalLayout();
            vp1.ControlWidth.BeFill();
            vp1.AlignCenter();
            vp1.Gap = 0;

            // kludge (err) - language
            String message = "Is the object that you scanned an item or a nest?";
            JwList<String> lines = JwUtility.BreakIntoSeperateLines(message, 30);
            foreach( String line in lines ) AddText( vp1, line);

            JwVerticalDistributedLayout vp = new JwVerticalDistributedLayout();
            vp.ControlWidth.BeFill();
            vp.AlignCenter();

            vp.Add(vp1);

            return vp;
        }
Ejemplo n.º 29
0
 //# __________ PROTOCOL :: MAKE (INPUT AREA) __________ #//
 public Control MakeInputArea()
 {
     JwVerticalDistributedLayout p = new JwVerticalDistributedLayout();
     AddOriginIdentifierPanel(p);
     AddFlightDestinationPanel(p);
     AddNoteTB(p);
     return p;
 }
 //# __________ PROTOCOL :: MAKE (FRAMEWORK) __________ #//
 public Control MakeInputArea()
 {
     JwVerticalDistributedLayout p = new JwVerticalDistributedLayout();
     AddFlightLabel(p);
     AddDestinationCB(p);
     AddNoteTB(p);
     return p;
 }