公司电脑不可以连外网

news/2024/12/29 13:08:20/

package com.beyondsoft.giinii.map.city;

import com.google.android.maps.GeoPoint;

public class Data
{
 City city;
 City[] citys;
 GeoPoint g;

 Province zhixia=new Province("直辖市",citys,10);
 
 public void initZhixia(){
   City[] zhixiaCitys;
  
   ///
   GeoPoint beijingGPS = new GeoPoint((int) (39.918737 * 1E6),(int) (116.291126 * 1E6));
   City beijing=new City("北京市",beijingGPS);
   ///
   GeoPoint tianjinGPS = new GeoPoint((int) (39.904214 * 1E6),(int) (116.407413 * 1E6));
 
    City tianjin=new City("天津市",tianjinGPS);
   GeoPoint shanghaiGPS = new GeoPoint((int) (31.1120 * 1E6),(int) (121.00 * 1E6));
   City  shanghai=new City("上海市",shanghaiGPS);
  GeoPoint shanghaiGPS = new GeoPoint((int) (35.86166 * 1E6),(int) (104.195397* 1E6));
   City  chongqi=new City("重庆市",chongqingGPS);
 }
 
 Province jiangxi=new Province("江西省",citys,12);
 /**
  * 初始化江西省的数据  目前江西我只写了南昌的
  */
 public void initjiangxi(){
   GeoPoint nanchangGPS = new GeoPoint((int) (28.6800 * 1E6),  (int) (115.8900 * 1E6));
   City nanchang=new City("南昌市",nanchangGPS);
    GeoPoint jingdezhenGPS = new GeoPoint((int) (28.68316* 1E6),  (int) (115.858089 * 1E6));
   City  jingdezheng=new City("景德镇市",g);
    GeoPoint jingdezhenGPS = new GeoPoint((int) (29.307094* 1E6),  (int) (117.181566 * 1E6));
   City  pingxiang=new City("萍乡市",g);
    GeoPoint pingxiangGPS = new GeoPoint((int) ( 27.622865 * 1E6),  (int) (113.854676 * 1E6));
   City  jiujiang=new City("九江市",g);
    GeoPoint jiujiangGPS = new GeoPoint((int) ( 29.705096 * 1E6),  (int) ( 116.001982 * 1E6));
   City xingyu=new City("新余市",g);
    GeoPoint xinyuGPS = new GeoPoint((int) ( 27.817819 * 1E6),  (int) (114.91741 * 1E6));
   City  yingtuan=new City("鹰潭市",g);
    GeoPoint yingtanGPS = new GeoPoint((int) (28.260189 * 1E6),  (int) (117.069202 * 1E6));
   City  gangzhou=new City("赣州市",g);
    GeoPoint ganzhouGPS = new GeoPoint((int) ( 25.829209 * 1E6),  (int) (114.933553 * 1E6));
   City  jian=new City("吉安市",g);
    GeoPoint jianGPS = new GeoPoint((int) ( 27.113039 * 1E6),  (int) (114.992913 * 1E6));
   City yichun=new City("宜春市",g);
    GeoPoint yichunGPS = new GeoPoint((int) (27.796561 * 1E6),  (int) (114.395108 * 1E6));
   City  fuzhou=new City("抚州市",g);
    GeoPoint fuzhouGPS = new GeoPoint((int) (27.9492 * 1E6),  (int) (116.358176 * 1E6));
   City  shangrao=new City("上饶市",g);
 
 }
 
 
 
 Province heibei=new Province("河北省",citys,11);
 /* 河北省:石家庄市、唐山市、秦皇岛市、邯郸市、邢台市、保定市、张家口市、承德市、沧州市、廊坊市、衡水市
 */
  public void inithebei(){
 GeoPoint shijiazhuangGPS = new GeoPoint((int) (38.042307 * 1E6),  (int) (114.51486 * 1E6));
 City shijiazhuang=new City("石家庄市",shijiazhuangGPS);
GeoPoint tangshanGPS = new GeoPoint((int) (38.042307 * 1E6),  (int) (114.51486 * 1E6));
City tangshan=new City("唐山市",g);
GeoPoint qinhuangdaoGPS = new GeoPoint((int) (39.630476 * 1E6),  (int) (116.358176 * 1E6));
 City qinhuangdao=new City("秦皇岛市",g);
 GeoPoint shijiazhuangGPS = new GeoPoint((int) (39.935377 * 1E6),  (int) (119.600492 * 1E6));
 City handan=new City("邯郸市",g);
 GeoPoint handanGPS = new GeoPoint((int) (36.612267 * 1E6),  (int) (114.492968 * 1E6));
 City xingtai=new City("邢台市",g);
 GeoPoint xingtaiGPS = new GeoPoint((int) (37.070589 * 1E6),  (int) (114.504874 * 1E6));
 City baoding=new City("保定市",g);
 GeoPoint baodingGPS = new GeoPoint((int) (38.873972 * 1E6),  (int) (115.46463 * 1E6));
 City zhangjiakou=new City("张家口市",g);
 GeoPoint zhangjiakouGPS = new GeoPoint((int) (40.767576 * 1E6),  (int) (114.885951 * 1E6));
 City chengde=new City("承德市",g);
 GeoPoint chengdeGPS = new GeoPoint((int) (40.978744 * 1E6),  (int) (117.943621 * 1E6));
 City cangzhou=new City("沧州市",g);
GeoPoint cangzhouGPS = new GeoPoint((int) (38.304449 * 1E6),  (int) (116.83884 * 1E6));
 City langfang=new City("廊坊市",g);
 GeoPoint langfangGPS = new GeoPoint((int) (39.521017 * 1E6),  (int) (116.706651 * 1E6));
 City hengshui=new City("衡水市",g);
}
 
 Province shanxi=new Province("山西省",citys,11);
 /*山西省:太原市、大同市、阳泉市、长治市、晋城市、朔州市、晋中市、运城市、忻州市、临汾市、吕梁市
 */
 public void initshanxi(){
GeoPoint taiyuanGPS = new GeoPoint((int) (37.735302 * 1E6),  (int) (115.69868 * 1E6));
City taiyuan=new City("太原市",taiyuanGPS);
GeoPoint datongGPS = new GeoPoint((int) (37.870662 * 1E6),  (int) (112.550619 * 1E6));   
City datong=new City("大同市",g);
GeoPoint yangquanGPS = new GeoPoint((int) (40.076816 * 1E6),  (int) (113.300126 * 1E6));
City yangquan=new City("阳泉市",g);
GeoPoint changzhiGPS = new GeoPoint((int) (37.856658 * 1E6),  (int) (113.580415 * 1E6));
City changzhi=new City("长治市",g);
GeoPoint jinchengGPS = new GeoPoint((int) (36.195386 * 1E6),  (int) (113.116255 * 1E6));
City jincheng=new City("晋城市",g);
GeoPoint suozhouGPS = new GeoPoint((int) (35.49087 * 1E6),  (int) (112.851768 * 1E6));
City suozhou=new City("朔州市",g);
GeoPoint jinzhongGPS = new GeoPoint((int) (39.331149 * 1E6),  (int) (112.432714 * 1E6));
City jinzhong=new City("晋中市",g);
GeoPoint yunchengGPS = new GeoPoint((int) (37.687024 * 1E6),  (int) (112.752695 * 1E6));
City yuncheng=new City("运城市",g);
GeoPoint xinzhouGPS = new GeoPoint((int) (35.026372 * 1E6),  (int) (111.007324 * 1E6));
City xinzhou=new City("忻州市",g);
GeoPoint linfenGPS = new GeoPoint((int) (38.416364 * 1E6),  (int) (112.734269 * 1E6));
City linfen=new City("临汾市",g);
GeoPoint lvliangGPS = new GeoPoint((int) (36.088067 * 1E6),  (int) (111.51888 * 1E6));
City lvliang=new City("吕梁市",g);
}
 Province neimeng=new Province("内蒙省",citys,12);
  public void initneimenggu(){
  /*内蒙古:呼和浩特市、包头市、乌海市、赤峰市、通辽市、鄂尔多斯市、呼伦贝尔市、巴彦淖尔市、乌兰察布市、锡林郭勒盟、兴安盟、阿拉善盟
  */
GeoPoint huhehaoteGPS = new GeoPoint((int) (38.042307 * 1E6),  (int) (114.51486 * 1E6));
City huhehaote=new City("呼和浩特市",huhehaoteGPS);
GeoPoint baotouGPS = new GeoPoint((int) (40.84231 * 1E6),  (int) (111.748847 * 1E6));
City baotou=new City("包头市",g);
GeoPoint wuhaiGPS = new GeoPoint((int) (40.657447 * 1E6),  (int) (109.840386 * 1E6));
City wuhai=new City("乌海市",g);
GeoPoint chifengGPS = new GeoPoint((int) (39.690462 * 1E6),  (int) (106.822809 * 1E6));
City chifeng=new City("赤峰市",g);
GeoPoint tongliaoGPS = new GeoPoint((int) (42.257817 * 1E6),  (int) (118.886856 * 1E6));
City tongliao=new City("通辽市",g);
GeoPoint ererduosiGPS = new GeoPoint((int) (43.61944 * 1E6),  (int) (122.265737 * 1E6));
City ererduosi=new City("鄂尔多斯市",g);
GeoPoint hulunbeierGPS = new GeoPoint((int) (39.608182 * 1E6),  (int) (109.781202 * 1E6));
City hulunbeier=new City("呼伦贝尔市",g);
GeoPoint bayanzuoerGPS = new GeoPoint((int) (49.211572 * 1E6),  (int) (119.765739 * 1E6));
City bayanzuoer=new City("巴彦淖尔市",g);
GeoPoint wulanchabuGPS = new GeoPoint((int) ( 49.211572 * 1E6),  (int) (119.765739 * 1E6));
City wulanchabu=new City("乌兰察布市",g);
GeoPoint xilinguoleGPS = new GeoPoint((int) (40.994786 * 1E6),  (int) (113.132585 * 1E6));
City xilinguole=new City("锡林郭勒盟",g);
GeoPoint xinganGPS = new GeoPoint((int) (43.933454 * 1E6),  (int) (116.048222 * 1E6));
City xingan=new City("兴安盟",g);
GeoPoint alashanGPS = new GeoPoint((int) (46.077561 * 1E6),  (int) (122.067042 * 1E6));
City alashan=new City("阿拉善盟",taiyuanGPS);

 
  }
 
 Province heinan=new Province("河南省",citys,18);
  public void henan(){
   /* 河南省:郑州市、开封市、洛阳市、平顶山市、焦作市、鹤壁市、新乡市、安阳市、濮阳市、许昌市、漯河市、三门峡市、南阳市、商丘市、信阳市、周口市、驻马店市、济源市
   */
GeoPoint zhengzhouGPS = new GeoPoint((int) (34.797683 * 1E6),  (int) (114.307624 * 1E6));
City zhengzhou=new City("郑州市",zhengzhouGPS);
GeoPoint kaifengGPS = new GeoPoint((int) (39.904214 * 1E6),  (int) (116.407413 * 1E6));   
City kaifeng=new City("开封市",g);
GeoPoint luoyangGPS = new GeoPoint((int) (34.797683 * 1E6),  (int) (112.454363 * 1E6));   
City luoyang=new City("洛阳市",g);
GeoPoint pingdingshanGPS = new GeoPoint((int) (34.618154 * 1E6),  (int) (112.550619 * 1E6));   
City pingdingshan=new City("平顶山市",g);
GeoPoint jiaozuoGPS = new GeoPoint((int) (33.76619 * 1E6),  (int) (113.192814 * 1E6));   
City jiaozuo=new City("焦作市",g);
GeoPoint hebiGPS = new GeoPoint((int) (35.215893 * 1E6),  (int) (113.241823 * 1E6));   
City hebi=new City("鹤壁市",g);
GeoPoint xinxiangGPS = new GeoPoint((int) (35.747225 * 1E6),  (int) (114.297273 * 1E6));   
City xinxiang=new City("新乡市",g);
GeoPoint anyangGPS = new GeoPoint((int) (35.303004 * 1E6),  (int) (113.9268 * 1E6));   
City anyang=new City("安阳市",g);
GeoPoint puyangGPS = new GeoPoint((int) (36.097593 * 1E6),  (int) (114.392756 * 1E6));   
City puyang=new City("濮阳市",g);
GeoPoint xuchangGPS = new GeoPoint((int) (35.762141 * 1E6),  (int) (115.029331 * 1E6));   
City xuchang=new City("许昌市",g);
GeoPoint luoheGPS = new GeoPoint((int) (34.035825 * 1E6),  (int) (113.852461 * 1E6));   
City luohe=new City("漯河市",g);
GeoPoint nanyangGPS = new GeoPoint((int) (33.581413 * 1E6),  (int) (114.016539 * 1E6));   
City nanyang=new City("南阳市",g);
GeoPoint shangqiuGPS = new GeoPoint((int) (32.990615 * 1E6),  (int) (112.528345 * 1E6));   
City shangqiu=new City("商丘市",g);
GeoPoint xinyangGPS = new GeoPoint((int) (34.414183 * 1E6),  (int) (115.656394 * 1E6));   
City xinyang=new City("信阳市",g);
GeoPoint zhoukouGPS = new GeoPoint((int) (32.123233 * 1E6),  (int) (114.068871 * 1E6));   
City zhoukou=new City("周口市",g);
GeoPoint zhumadianGPS = new GeoPoint((int) (33.618686 * 1E6),  (int) (114.657616 * 1E6));   
City zhumadian=new City("驻马店市",g);
GeoPoint jiyuanGPS = new GeoPoint((int) (32.975978 * 1E6),  (int) (114.026793 * 1E6));   
City jiyuan=new City("济源市",g);
GeoPoint sanmenxiaGPS = new GeoPoint((int) (33.581413 * 1E6),  (int) (114.016539 * 1E6));   
City sanmensha=new City("三门峡",g);


   
   }
 
 Province hubei=new Province("湖北省",citys,17);
   public void hubei(){
    /*
     湖北省:武汉市、黄石市、襄樊市、十堰市、荆州市、宜昌市、荆门市、鄂州市、孝感市、黄冈市、咸宁市、随州市、恩施州、仙桃市 潜江市 天门市 神农架
     */
GeoPoint wuhanGPS = new GeoPoint((int) (34.746985 * 1E6),  (int) (113.624899 * 1E6));
City wuhan=new City("武汉市",wuhanGPS);
GeoPoint huangshiGPS = new GeoPoint((int) (30.593087 * 1E6),  (int) (114.305357 * 1E6));   
City huangshi=new City("黄石市",g);
GeoPoint xiangfanGPS = new GeoPoint((int) (32.65059 * 1E6),  (int) (110.788811 * 1E6));   
City xiangfan=new City("襄樊市",g);
GeoPoint shiyanGPS = new GeoPoint((int) (32.008986 * 1E6),  (int) (112.122415 * 1E6));   
City shiyan=new City("十堰市",g);
GeoPoint jinzhouGPS = new GeoPoint((int) (32.65059 * 1E6),  (int) (110.788811 * 1E6));   
City jinzhou=new City("荆州市",g);
GeoPoint yichangGPS = new GeoPoint((int) (30.335165 * 1E6),  (int) (112.239741 * 1E6));   
City yichang=new City("宜昌市",g);
GeoPoint jinmenGPS = new GeoPoint((int) (30.691967 * 1E6),  (int) (111.286471 * 1E6));   
City jinmen=new City("荆门市",g);
GeoPoint ezhouGPS = new GeoPoint((int) (31.035423 * 1E6),  (int) (112.199265 * 1E6));   
City ezhou=new City("鄂州市",g);
GeoPoint xiaoganGPS = new GeoPoint((int) (30.39194 * 1E6),  (int) (114.894843 * 1E6));   
City xiaogan=new City("孝感市",g);
GeoPoint huanggangGPS = new GeoPoint((int) (30.924568 * 1E6),  (int) (113.916903 * 1E6));   
City huanggang=new City("黄冈市",g);
GeoPoint xianningGPS = new GeoPoint((int) (30.453906 * 1E6),  (int) (114.872316 * 1E6));   
City xianning=new City("咸宁市",g);
GeoPoint suizhouGPS = new GeoPoint((int) (29.841443 * 1E6),  (int) (114.322492 * 1E6));   
City suizhou=new City("随州市",g);
GeoPoint enshiGPS = new GeoPoint((int) (29.841443 * 1E6),  (int) (113.382842 * 1E6));   
City enshi=new City("恩施州",g);
GeoPoint xiantaoGPS = new GeoPoint((int) (30.272204 * 1E6),  (int) (109.488162 * 1E6));   
City xiantao=new City("仙桃市",g);
GeoPoint qianjiangGPS = new GeoPoint((int) (30.362641 * 1E6),  (int) (113.454593 * 1E6));   
City qianjiang=new City("潜江市",g);
GeoPoint tianmenGPS = new GeoPoint((int) (30.40211 * 1E6),  (int) (112.900079 * 1E6));   
City tianmen=new City("天门市",g);
GeoPoint shennongjiaGPS = new GeoPoint((int) (30.663372 * 1E6),  (int) (113.16653 * 1E6));   
City shennongjiang=new City("神农架",g);


  }
 
 Province hunan=new Province("湖南省",citys,10);
  public void hunan(){
   /*
   湖南省:长沙市、株洲市、湘潭市、衡阳市、邵阳市、岳阳市、常德市、张家界市、益阳市、郴州市、永州市、怀化市、娄底市、湘西州*/
GeoPoint changshaGPS = new GeoPoint((int) (34.746985 * 1E6),  (int) (113.624899 * 1E6));
City changsha=new City("武汉市",changshaGPS);
  }
 
 Province jiangsu=new Province("江苏省",citys,10);
 
 Province zhejiang=new Province("浙江省",citys,10);
 
 Province anhui=new Province("安徽省",citys,10);
 
 Province shangdong=new Province("山东省",citys,10);
 
 Province fujian=new Province("福建省",citys,10);
 
 Province guangdong=new Province("广东省",citys,10);
 
 Province guangxi=new Province("广西省",citys,10);
 
 Province hainan=new Province("海南省",citys,10);
 
 Province shangxi=new Province("陕西省",citys,10);
 
 Province gangsu=new Province("甘肃省",citys,10);
 
 Province qinghai=new Province("青海省",citys,10);
 
 Province ningxia=new Province("宁夏省",citys,10);
 
 Province xingjiang=new Province("新疆省",citys,10);
 
 Province yunnan=new Province("云南省",citys,10);
 
 Province guizhu=new Province("贵州省",citys,10);
 
 Province heilongjiang=new Province("黑龙江省",citys,10);
 
 Province jiling=new Province("吉林省",citys,10);
 
 Province liaoning=new Province("辽宁省",citys,10);
 
 Province sichuan=new Province("四川省",citys,10);
 
 Province xizang=new Province("西藏省",citys,10);
}


http://www.ppmy.cn/news/328447.html

相关文章

以自己的电脑作为服务器,搭建网站,外网可访问

首先配置tomcat服务器 在eclipse里关联tomcat服务器 编写web项目,写一个网页 此时在自己的电脑上是可以通过三种方式访问该网页的:ip地址:8080、localhost:8080、或者192.168.1.104(我的内网ip地址):8080 (上面不会的…

家用电脑搭建外网服务器

对编程已经有一定了解的小伙伴们一定都希望自己所创作出来的程序也可以给其他朋友们展示,但是自己购买阿里云或者腾讯云服务器价格又小有点贵,如果是大学生的话有一定的优惠,但是还是需要10元/月的服务器费用,如果有需要的可以点下…

SANGFOR AC设备怎么禁止一台电脑mac地址上外网

环境: SANGFOR AC-1000-B1200 V.13.0 AC13.0.62 旁挂模式部署 问题描述: SANGFOR AC设备怎么禁止一台电脑mac地址上外网 解决方案: 方法一: 可以通过在【认证策略】-【认证范围】填写MAC地址,【认证方式】选择【不…

教程——从外网远程控制内网电脑

由于希望在图书馆时也能通过笔记本控制寝室的主机,所以研究了一下远程控制,但寝室的网并不属于简单的一层内网,所以踩了一些坑,在这里把经验分享一下 (一) 在同一局域网下的远程控制 首先测试在同一局域网…

实现一台电脑可上公司内网也可以访问外网

要实现一台电脑( win7/xp)可以上公司内网也可以访问外网,需要公司电脑装有两块网卡,其中一块网卡连接公司内网交换机,另一块网卡连接外网路由器。 外网地址设置: 外网ip:192.168.99.110 子网掩码…

城镇供水产销差问题分析与对策

城镇自来水与其它商品的经营活动一样存在着产销差,产销差的高低,直接影响着供水企业的经济效益。供水企业的经营活动中不单考虑企业的经济效益,还要考虑社会效益。产销差是客观存在的,造成产销差的原因是多样的,复杂的…

怎么在自己电脑上搭建一个服务器,以便于外网访问呢?

前几天我要测试一个项目,这个是需要往服务器上放才可以测的,但后台太忙了,所以就说让我自己在自己电脑搭建个服务器,把项目代码放在里面测就可以,其实搭建服务器的方法有很多,之前我有用过一个XMAPP的软件它…

解决电脑同时使用有线网上内网,无线网上外网的冲突

由于内网有网络限制(限制娱乐等),所以肯定要用外网(无线网卡) 但是有的网站只能用内网访问,比如gitlab,oa等。我电脑刚开始连接了wifi后上不了gitlab,搞到每次都要关闭wifi使用内网…