Changeset 27035 in osm


Ignore:
Timestamp:
2011-11-10T18:22:19+01:00 (13 years ago)
Author:
malcolmh
Message:

save

Location:
applications/editors/josm/plugins/smed/plugs/oseam/src
Files:
8 added
8 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed/plugs/oseam/src/images/FogHornButton.svg

    r27032 r27035  
    47364736        <dc:type
    47374737           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
    4738         <dc:title></dc:title>
     4738        <dc:title />
    47394739      </cc:Work>
    47404740    </rdf:RDF>
     
    47584758       inkscape:export-xdpi="90"
    47594759       inkscape:export-ydpi="90" />
    4760     <path
    4761        sodipodi:type="arc"
    4762        style="fill:none;stroke:#000000;stroke-width:1.34284258;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
    4763        id="path8487"
    4764        sodipodi:cx="-22.187502"
    4765        sodipodi:cy="4.968749"
    4766        sodipodi:rx="11.750001"
    4767        sodipodi:ry="11.218751"
    4768        d="m -10.437501,4.968749 a 11.750001,11.218751 0 0 1 -9.013957,10.910365"
    4769        transform="matrix(0.72765951,0,0,0.76211692,27.685572,1026.2279)"
    4770        sodipodi:start="0"
    4771        sodipodi:end="1.3357842"
    4772        sodipodi:open="true" />
    4773     <path
    4774        sodipodi:open="true"
    4775        sodipodi:end="1.3357842"
    4776        sodipodi:start="0"
    4777        transform="matrix(0.72765951,0,0,-0.76211692,27.685572,1053.4227)"
    4778        d="m -10.437501,4.968749 a 11.750001,11.218751 0 0 1 -9.013957,10.910365"
    4779        sodipodi:ry="11.218751"
    4780        sodipodi:rx="11.750001"
    4781        sodipodi:cy="4.968749"
    4782        sodipodi:cx="-22.187502"
    4783        id="path8489"
    4784        style="fill:none;stroke:#000000;stroke-width:1.34284258;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
    4785        sodipodi:type="arc" />
    4786     <path
    4787        style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
    4788        d="m 20.090626,1030.296 0,18.8438"
    4789        id="path8491"
    4790        inkscape:connector-curvature="0" />
    4791     <path
    4792        style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
    4793        d="m 13.565626,1038.3398 -7.0312503,1.5187"
    4794        id="path8493"
    4795        inkscape:connector-curvature="0" />
    4796     <path
    4797        inkscape:connector-curvature="0"
    4798        id="path8495"
    4799        d="m 13.565626,1041.321 -7.0312503,-1.5187"
    4800        style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
    4801     <path
    4802        sodipodi:type="arc"
    4803        style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1.593822;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
    4804        id="path8497"
    4805        sodipodi:cx="-34.6875"
    4806        sodipodi:cy="7.249999"
    4807        sodipodi:rx="2.6875002"
    4808        sodipodi:ry="3.0625002"
    4809        d="m -32,7.249999 a 2.6875002,3.0625002 0 1 1 -5.375,0 2.6875002,3.0625002 0 1 1 5.375,0 z"
    4810        transform="matrix(0.66976738,0,0,0.58775506,28.504433,1035.5973)" />
     4760    <g
     4761       id="g9261">
     4762      <path
     4763         sodipodi:open="true"
     4764         sodipodi:end="1.3357842"
     4765         sodipodi:start="0"
     4766         transform="matrix(0.72765951,0,0,0.76211692,27.685572,1026.2279)"
     4767         d="m -10.437501,4.968749 c 0,5.189643 -3.727976,9.701931 -9.013957,10.910365"
     4768         sodipodi:ry="11.218751"
     4769         sodipodi:rx="11.750001"
     4770         sodipodi:cy="4.968749"
     4771         sodipodi:cx="-22.187502"
     4772         id="path8487"
     4773         style="fill:none;stroke:#000000;stroke-width:1.34284258;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
     4774         sodipodi:type="arc" />
     4775      <path
     4776         sodipodi:type="arc"
     4777         style="fill:none;stroke:#000000;stroke-width:1.34284258;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
     4778         id="path8489"
     4779         sodipodi:cx="-22.187502"
     4780         sodipodi:cy="4.968749"
     4781         sodipodi:rx="11.750001"
     4782         sodipodi:ry="11.218751"
     4783         d="m -10.437501,4.968749 c 0,5.189643 -3.727976,9.701931 -9.013957,10.910365"
     4784         transform="matrix(0.72765951,0,0,-0.76211692,27.685572,1053.4227)"
     4785         sodipodi:start="0"
     4786         sodipodi:end="1.3357842"
     4787         sodipodi:open="true" />
     4788      <path
     4789         inkscape:connector-curvature="0"
     4790         id="path8491"
     4791         d="m 20.090626,1030.296 0,18.8438"
     4792         style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
     4793      <path
     4794         inkscape:connector-curvature="0"
     4795         id="path8493"
     4796         d="m 13.565626,1038.3398 -7.0312503,1.5187"
     4797         style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
     4798      <path
     4799         style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
     4800         d="m 13.565626,1041.321 -7.0312503,-1.5187"
     4801         id="path8495"
     4802         inkscape:connector-curvature="0" />
     4803      <path
     4804         transform="matrix(0.66976738,0,0,0.58775506,28.504433,1035.5973)"
     4805         d="m -32,7.249999 c 0,1.6913722 -1.203235,3.0625 -2.6875,3.0625 -1.484265,0 -2.6875,-1.3711278 -2.6875,-3.0625 0,-1.6913721 1.203235,-3.0625002 2.6875,-3.0625002 1.484265,0 2.6875,1.3711281 2.6875,3.0625002 z"
     4806         sodipodi:ry="3.0625002"
     4807         sodipodi:rx="2.6875002"
     4808         sodipodi:cy="7.249999"
     4809         sodipodi:cx="-34.6875"
     4810         id="path8497"
     4811         style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1.593822;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
     4812         sodipodi:type="arc" />
     4813    </g>
    48114814  </g>
    48124815</svg>
  • applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/msg/messages.properties

    r27032 r27035  
    100100PartiallyObscured=Partially obscured
    101101Orientation=Orientation
     102Multiplicity=Multiplicity
    102103Exhibition=Exhibition
    10310424h=24h
     
    105106Night=Night
    106107Fog=Fog
     108
     109VertDisp=Vertically Disposed
     110HorizDisp=Horizontally Disposed
     111Directional=Directional
     112Upper=Upper
     113Lower=Lower
     114Rear=Rear
     115Front=Front
     116Aero=Aero
     117AirObstruction=Air Obstruction
     118FogDetector=Fog Detector
     119Floodlight=Floodlight
     120Striplight=Striplight
     121Subsidiary=Subsidiary
     122Spotlight=Spotlight
     123MoireEffect=Moire Effect
     124Emergency=Emergency
     125Bearing=Bearing
    107126
    108127RemColour=Remove colour
     
    226245Siren=Siren
    227246Diaphone=Diaphone
     247Gong=Gong
    228248Bell=Bell
    229249Whistle=Whistle
  • applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/msg/messages_en.properties

    r27032 r27035  
    100100PartiallyObscured=Partially obscured
    101101Orientation=Orientation
     102Multiplicity=Multiplicity
    102103Exhibition=Exhibition
    10310424h=24h
     
    105106Night=Night
    106107Fog=Fog
     108
     109VertDisp=Vertically Disposed
     110HorizDisp=Horizontally Disposed
     111Directional=Directional
     112Upper=Upper
     113Lower=Lower
     114Rear=Rear
     115Front=Front
     116Aero=Aero
     117AirObstruction=Air Obstruction
     118FogDetector=Fog Detector
     119Floodlight=Floodlight
     120Striplight=Striplight
     121Subsidiary=Subsidiary
     122Spotlight=Spotlight
     123MoireEffect=Moire Effect
     124Emergency=Emergency
     125Bearing=Bearing
    107126
    108127RemColour=Remove colour
     
    226245Siren=Siren
    227246Diaphone=Diaphone
     247Gong=Gong
    228248Bell=Bell
    229249Whistle=Whistle
  • applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelChan.java

    r27023 r27035  
    174174                        panelSaw.setVisible(false);
    175175                }
     176                topmarkButton.setBorderPainted(dlg.mark.hasTopmark());
    176177                if (dlg.mark.isValid()) {
    177                         topmarkButton.setBorderPainted(dlg.mark.hasTopmark());
    178178                        topmarkButton.setVisible(true);
    179179                        dlg.panelMain.moreButton.setVisible(true);
  • applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelFog.java

    r27032 r27035  
    2020        public JRadioButton sirenButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/OffButton.png")));
    2121        public JRadioButton diaButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/OffButton.png")));
    22         public JRadioButton bellButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/OffButton.png")));
    23         public JRadioButton whisButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/OffButton.png")));
    24         public JRadioButton gongButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/OffButton.png")));
    25         public JRadioButton explosButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/OffButton.png")));
     22        public JRadioButton bellButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/FogBellButton.png")));
     23        public JRadioButton whisButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/FogWhisButton.png")));
     24        public JRadioButton gongButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/FogGongButton.png")));
     25        public JRadioButton explosButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/FogExplosButton.png")));
    2626        private EnumMap<Fog, JRadioButton> fogs = new EnumMap<Fog, JRadioButton>(Fog.class);
    2727        private ActionListener alFog = new ActionListener() {
     
    7373                dlg = dia;
    7474                this.setLayout(null);
    75                 this.add(getFogButton(noFogButton, 0, 5, 27, 27, "NoFog", Fog.NONE), null);
    76                 this.add(getFogButton(yesFogButton, 0, 35, 27, 27, "FogSignal", Fog.UNKNOWN), null);
    77                 this.add(getFogButton(hornButton, 0, 65, 27, 27, "Horn", Fog.HORN), null);
    78                 this.add(getFogButton(sirenButton, 0, 95, 27, 27, "Siren", Fog.SIREN), null);
    79                 this.add(getFogButton(diaButton, 30, 5, 27, 27, "Diaphone", Fog.DIA), null);
    80                 this.add(getFogButton(bellButton, 30, 35, 27, 27, "Bell", Fog.BELL), null);
    81                 this.add(getFogButton(whisButton, 30, 65, 27, 27, "Whistle", Fog.WHIS), null);
    82                 this.add(getFogButton(explosButton, 30, 95, 27, 27, "Explosion", Fog.EXPLOS), null);
     75                this.add(getFogButton(noFogButton, 0, 2, 27, 27, "NoFog", Fog.NONE), null);
     76                this.add(getFogButton(yesFogButton, 0, 32, 27, 27, "FogSignal", Fog.UNKNOWN), null);
     77                this.add(getFogButton(hornButton, 0, 62, 27, 27, "Horn", Fog.HORN), null);
     78                this.add(getFogButton(sirenButton, 0, 92, 27, 27, "Siren", Fog.SIREN), null);
     79                this.add(getFogButton(gongButton, 0, 122, 27, 27, "Gong", Fog.SIREN), null);
     80                this.add(getFogButton(diaButton, 30, 2, 27, 27, "Diaphone", Fog.DIA), null);
     81                this.add(getFogButton(bellButton, 30, 32, 27, 27, "Bell", Fog.BELL), null);
     82                this.add(getFogButton(whisButton, 30, 62, 27, 27, "Whistle", Fog.WHIS), null);
     83                this.add(getFogButton(explosButton, 30, 92, 27, 27, "Explosion", Fog.EXPLOS), null);
    8384
    8485                groupLabel = new JLabel(Messages.getString("Group"), SwingConstants.CENTER);
  • applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelLights.java

    r26999 r27035  
    9898                this.add(trafficCatBox, null);
    9999                trafficCatBox.addActionListener(alTrafficCatBox);
    100                 addTCItem(Messages.getString("UKCategory"), Cat.NONE);
     100                addTCItem("", Cat.NONE);
    101101                addTCItem(Messages.getString("Traffic"), Cat.SIS_TRFC);
    102102                addTCItem(Messages.getString("PortControl"), Cat.SIS_PTCL);
     
    115115                this.add(warningCatBox, null);
    116116                warningCatBox.addActionListener(alWarningCatBox);
    117                 addWCItem(Messages.getString("UKCategory"), Cat.NONE);
     117                addWCItem("", Cat.NONE);
    118118                addWCItem(Messages.getString("Danger"), Cat.SIS_DNGR);
    119119                addWCItem(Messages.getString("Storm"), Cat.SIS_STRM);
     
    136136
    137137        public void syncPanel() {
    138                
     138                trafficCatBox.setSelectedIndex(0);
     139                for (Cat cat : trafficCats.keySet()) {
     140                        int item = trafficCats.get(cat);
     141                        if (dlg.mark.getCategory() == cat)
     142                                trafficCatBox.setSelectedIndex(item);
     143                }
     144                warningCatBox.setSelectedIndex(0);
     145                for (Cat cat : warningCats.keySet()) {
     146                        int item = warningCats.get(cat);
     147                        if (dlg.mark.getCategory() == cat)
     148                                warningCatBox.setSelectedIndex(item);
     149                }
     150                for (Obj obj : objects.keySet()) {
     151                        JRadioButton button = objects.get(obj);
     152                        button.setBorderPainted(dlg.mark.getObject() == obj);
     153                }
    139154        }
    140155       
  • applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelLit.java

    r27032 r27035  
    7171                }
    7272        };
     73        public JLabel multipleLabel;
     74        public JTextField multipleBox;
     75        private ActionListener alMultiple = new ActionListener() {
     76                public void actionPerformed(java.awt.event.ActionEvent e) {
     77                        dlg.mark.setLightMultiple(multipleBox.getText());
     78                }
     79        };
    7380        public JLabel categoryLabel;
    7481        public JComboBox categoryBox;
     
    8087                                if (idx == categoryBox.getSelectedIndex())
    8188                                        dlg.mark.setLightAtt(Att.LIT, 0, lit);
     89                        }
     90                        if (dlg.mark.getLightAtt(Att.LIT, 0) == Lit.DIR) {
     91                                orientationLabel.setVisible(true);
     92                                orientationBox.setVisible(true);
     93                                multipleLabel.setVisible(false);
     94                                multipleBox.setVisible(false);
     95                        } else if ((dlg.mark.getLightAtt(Att.LIT, 0) == Lit.VERT) || (dlg.mark.getLightAtt(Att.LIT, 0) == Lit.HORIZ)) {
     96                                orientationLabel.setVisible(false);
     97                                orientationBox.setVisible(false);
     98                                multipleLabel.setVisible(true);
     99                                multipleBox.setVisible(true);
     100                        } else {
     101                                orientationLabel.setVisible(false);
     102                                orientationBox.setVisible(false);
     103                                multipleLabel.setVisible(false);
     104                                multipleBox.setVisible(false);
    82105                        }
    83106                }
     
    185208                this.add(categoryBox, null);
    186209                addCatItem("", Lit.UNKNOWN);
    187                 addCatItem(Messages.getString("VerticallyDisposedLights"), Lit.VERT);
    188                 addCatItem(Messages.getString("HorizontallyDisposedLights"), Lit.HORIZ);
     210                addCatItem(Messages.getString("VertDisp"), Lit.VERT);
     211                addCatItem(Messages.getString("HorizDisp"), Lit.HORIZ);
     212                addCatItem(Messages.getString("Directional"), Lit.DIR);
    189213                addCatItem(Messages.getString("Upper"), Lit.UPPER);
    190214                addCatItem(Messages.getString("Lower"), Lit.LOWER);
    191215                addCatItem(Messages.getString("Rear"), Lit.REAR);
    192216                addCatItem(Messages.getString("Front"), Lit.FRONT);
    193                 addCatItem(Messages.getString("AeroLight"), Lit.AERO);
    194                 addCatItem(Messages.getString("AirObstructionLight"), Lit.AIROBS);
    195                 addCatItem(Messages.getString("FogDetectorLight"), Lit.FOGDET);
     217                addCatItem(Messages.getString("Aero"), Lit.AERO);
     218                addCatItem(Messages.getString("AirObstruction"), Lit.AIROBS);
     219                addCatItem(Messages.getString("FogDetector"), Lit.FOGDET);
    196220                addCatItem(Messages.getString("Floodlight"), Lit.FLOOD);
    197221                addCatItem(Messages.getString("Striplight"), Lit.STRIP);
    198                 addCatItem(Messages.getString("SubsidiaryLight"), Lit.SUBS);
     222                addCatItem(Messages.getString("Subsidiary"), Lit.SUBS);
    199223                addCatItem(Messages.getString("Spotlight"), Lit.SPOT);
    200                 addCatItem(Messages.getString("MoireEffectLight"), Lit.MOIRE);
    201                 addCatItem(Messages.getString("EmergencyLight"), Lit.EMERG);
    202                 addCatItem(Messages.getString("BearingLight"), Lit.BEAR);
     224                addCatItem(Messages.getString("MoireEffect"), Lit.MOIRE);
     225                addCatItem(Messages.getString("Emergency"), Lit.EMERG);
     226                addCatItem(Messages.getString("Bearing"), Lit.BEAR);
    203227                categoryBox.addActionListener(alCategory);
    204228
     
    230254                orientationLabel = new JLabel(Messages.getString("Orientation"), SwingConstants.CENTER);
    231255                orientationLabel.setBounds(new Rectangle(188, 80, 80, 20));
     256                orientationLabel.setVisible(false);
    232257                this.add(orientationLabel, null);
    233258                orientationBox = new JTextField();
    234259                orientationBox.setBounds(new Rectangle(208, 100, 40, 20));
    235260                orientationBox.setHorizontalAlignment(SwingConstants.CENTER);
     261                orientationBox.setVisible(false);
    236262                this.add(orientationBox, null);
    237263                orientationBox.addActionListener(alOrientation);
     264
     265                multipleLabel = new JLabel(Messages.getString("Multiplicity"), SwingConstants.CENTER);
     266                multipleLabel.setBounds(new Rectangle(188, 80, 80, 20));
     267                multipleLabel.setVisible(false);
     268                this.add(multipleLabel, null);
     269                multipleBox = new JTextField();
     270                multipleBox.setBounds(new Rectangle(208, 100, 40, 20));
     271                multipleBox.setHorizontalAlignment(SwingConstants.CENTER);
     272                multipleBox.setVisible(false);
     273                this.add(multipleBox, null);
     274                multipleBox.addActionListener(alMultiple);
    238275        }
    239276
    240277        public void syncPanel() {
     278                orientationLabel.setVisible(false);
     279                orientationBox.setVisible(false);
     280                multipleLabel.setVisible(false);
     281                multipleBox.setVisible(false);
    241282        }
    242283
  • applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java

    r27032 r27035  
    154154                GrpMAP.put(Obj.BOYSAW, Grp.SAW);
    155155                GrpMAP.put(Obj.BOYSPP, Grp.SPP);
    156                 GrpMAP.put(Obj.LITMAJ, Grp.LIT);
    157                 GrpMAP.put(Obj.LITMIN, Grp.LIT);
    158                 GrpMAP.put(Obj.LITFLT, Grp.FLT);
    159156                GrpMAP.put(Obj.FLTCAR, Grp.CAR);
    160157                GrpMAP.put(Obj.FLTLAT, Grp.LAT);
     
    162159                GrpMAP.put(Obj.FLTISD, Grp.ISD);
    163160                GrpMAP.put(Obj.FLTSPP, Grp.SPP);
     161                GrpMAP.put(Obj.LITFLT, Grp.FLT);
     162                GrpMAP.put(Obj.LITMAJ, Grp.LIT);
     163                GrpMAP.put(Obj.LITMIN, Grp.LIT);
    164164                GrpMAP.put(Obj.LITVES, Grp.LIT);
    165165                GrpMAP.put(Obj.LNDMRK, Grp.LIT);
     
    587587        }
    588588
     589        private String lightMultiple = "";
     590
     591        public String getLightMiltiple() {
     592                return lightMultiple;
     593        }
     594
     595        public void setLightMultiple(String str) {
     596                lightMultiple = str;
     597        }
     598
    589599        public enum Pat {
    590600                NONE, HORIZ, VERT, DIAG, SQUARE, BORDER
     
    700710        }
    701711
    702         private String RaconGroup = "";
     712        private String raconGroup = "";
    703713
    704714        public String getRaconGroup() {
    705                 return RaconGroup;
     715                return raconGroup;
    706716        }
    707717
    708718        public void setRaconGroup(String grp) {
    709                 RaconGroup = grp;
    710         }
    711 
    712         private String RaconSequence = "";
     719                raconGroup = grp;
     720        }
     721
     722        private String raconSequence = "";
    713723
    714724        public String getRaconSequence() {
    715                 return RaconSequence;
     725                return raconSequence;
    716726        }
    717727
    718728        public void setRaconSequence(String seq) {
    719                 RaconSequence = seq;
    720         }
    721 
    722         private String RaconPeriod = "";
     729                raconSequence = seq;
     730        }
     731
     732        private String raconPeriod = "";
    723733
    724734        public String getRaconPeriod() {
    725                 return RaconPeriod;
     735                return raconPeriod;
    726736        }
    727737
    728738        public void setRaconPeriod(String per) {
    729                 RaconPeriod = validDecimal(per);
    730         }
    731 
    732         private String RaconRange = "";
     739                raconPeriod = validDecimal(per);
     740        }
     741
     742        private String raconRange = "";
    733743
    734744        public String getRaconRange() {
    735                 return RaconRange;
     745                return raconRange;
    736746        }
    737747
    738748        public void setRaconRange(String rng) {
    739                 RaconRange = validDecimal(rng);
    740         }
    741 
    742         private String RaconSector1 = "";
     749                raconRange = validDecimal(rng);
     750        }
     751
     752        private String raconSector1 = "";
    743753
    744754        public String getRaconSector1() {
    745                 return RaconSector1;
     755                return raconSector1;
    746756        }
    747757
    748758        public void setRaconSector1(String sec) {
    749                 RaconSector1 = validDecimal(sec);
    750         }
    751 
    752         private String RaconSector2 = "";
     759                raconSector1 = validDecimal(sec);
     760        }
     761
     762        private String raconSector2 = "";
    753763
    754764        public String getRaconSector2() {
    755                 return RaconSector2;
     765                return raconSector2;
    756766        }
    757767
    758768        public void setRaconSector2(String sec) {
    759                 RaconSector2 = validDecimal(sec);
    760         }
    761 
    762         private boolean FogSignal = false;
     769                raconSector2 = validDecimal(sec);
     770        }
     771
     772        private boolean fogSignal = false;
    763773
    764774        public boolean hasFog() {
    765                 return FogSignal;
     775                return fogSignal;
    766776        }
    767777
    768778        public void setFog(boolean fog) {
    769                 FogSignal = fog;
     779                fogSignal = fog;
    770780        }
    771781
     
    786796        }
    787797
    788         private Fog FogSound = Fog.NONE;
     798        private Fog fogSound = Fog.NONE;
    789799
    790800        public Fog getFogSound() {
    791                 return FogSound;
     801                return fogSound;
    792802        }
    793803
    794804        public void setFogSound(Fog sound) {
    795                 FogSound = sound;
    796         }
    797 
    798         private String FogGroup = "";
     805                fogSound = sound;
     806        }
     807
     808        private String fogGroup = "";
    799809
    800810        public String getFogGroup() {
    801                 return FogGroup;
     811                return fogGroup;
    802812        }
    803813
    804814        public void setFogGroup(String grp) {
    805                 FogGroup = grp;
    806         }
    807 
    808         private String FogSequence = "";
     815                fogGroup = grp;
     816        }
     817
     818        private String fogSequence = "";
    809819
    810820        public String getFogSequence() {
    811                 return FogSequence;
     821                return fogSequence;
    812822        }
    813823
    814824        public void setFogSequence(String seq) {
    815                 FogSequence = seq;
    816         }
    817 
    818         private String FogRange = "";
     825                fogSequence = seq;
     826        }
     827
     828        private String fogRange = "";
    819829
    820830        public String getFogRange() {
    821                 return FogRange;
     831                return fogRange;
    822832        }
    823833
    824834        public void setFogRange(String rng) {
    825                 FogRange = validDecimal(rng);
    826         }
    827 
    828         private String FogPeriod = "";
     835                fogRange = validDecimal(rng);
     836        }
     837
     838        private String fogPeriod = "";
    829839
    830840        public String getFogPeriod() {
    831                 return FogPeriod;
     841                return fogPeriod;
    832842        }
    833843
    834844        public void setFogPeriod(String per) {
    835                 FogPeriod = validDecimal(per);
     845                fogPeriod = validDecimal(per);
    836846        }
    837847
     
    11921202                                        setCategory(Cat.NONE);
    11931203                                } else if (getObjColour(1) == Col.YELLOW) {
     1204                                        setObject(Obj.FLTCAR);
    11941205                                        if (getObjColour(2) == Col.BLACK) {
    11951206                                                setCategory(Cat.CAM_EAST);
Note: See TracChangeset for help on using the changeset viewer.