有没有懂LoRaServer的。 40C

有没有懂LoRaServer的。服务器无法下发数据给设备。能帮我解决问题的QQ再发个红包,之前是可以跑通的,下发也行。换了个CN470的设备就跑不通了,用TTN服务器能跑通。自己装的LoRaServer就不行。有没有人帮忙看一下,是不是哪里配置错误了。

[general]

Log level

#

debug=5, info=4, warning=3, error=2, fatal=1, panic=0

log_level=4

PostgreSQL settings.

[postgresql]

PostgreSQL dsn (e.g.: postgres://user:password@hostname/database?sslmode=disable).

Besides using an URL (e.g. 'postgres://user:password@hostname/database?sslmode=disable')

it is also possible to use the following format:

'user=loraserver dbname=loraserver sslmode=disable'.

The following connection parameters are supported:

#

* dbname - The name of the database to connect to

* user - The user to sign in as

* password - The user's password

* host - The host to connect to. Values that start with / are for unix domain sockets. (default is localhost)

* port - The port to bind to. (default is 5432)

* sslmode - Whether or not to use SSL (default is require, this is not the default for libpq)

* fallback_application_name - An application_name to fall back to if one isn't provided.

* connect_timeout - Maximum wait for connection, in seconds. Zero or not specified means wait indefinitely.

* sslcert - Cert file location. The file must contain PEM encoded data.

* sslkey - Key file location. The file must contain PEM encoded data.

* sslrootcert - The location of the root certificate file. The file must contain PEM encoded data.

#

Valid values for sslmode are:

#

* disable - No SSL

* require - Always SSL (skip verification)

* verify-ca - Always SSL (verify that the certificate presented by the server was signed by a trusted CA)

dsn="postgres://loraserver_ns:dbpassword@localhost/loraserver_ns?sslmode=disable"

Automatically apply database migrations.

#

It is possible to apply the database-migrations by hand

(see https://github.com/brocaar/loraserver/tree/master/migrations)

or let LoRa App Server migrate to the latest state automatically, by using

this setting. Make sure that you always make a backup when upgrading Lora

App Server and / or applying migrations.

automigrate=true

Redis settings

#

Please note that Redis 2.6.0+ is required.

[redis]

Redis url (e.g. redis://user:password@hostname/0)

#

For more information about the Redis URL format, see:

https://www.iana.org/assignments/uri-schemes/prov/redis

url="redis://localhost:6379"

Network-server settings.

[network_server]

Network identifier (NetID, 3 bytes) encoded as HEX (e.g. 010203)

net_id="000000"

Time to wait for uplink de-duplication.

#

This is the time that LoRa Server will wait for other gateways to receive

the same uplink frame. Valid units are 'ms' or 's'.

Please note that this value has influence on the uplink / downlink

roundtrip time. Setting this value too high means LoRa Server will be

unable to respond to the device within its receive-window.

deduplication_delay="200ms"

Device session expiration.

#

The TTL value defines the time after which a device-session expires

after no activity. Valid units are 'ms', 's', 'm', 'h'. Note that these

values can be combined, e.g. '24h30m15s'.

device_session_ttl="744h0m0s"

Get downlink data delay.

#

This is the time that LoRa Server waits between forwarding data to the

application-server and reading data from the queue. A higher value

means that the application-server has more time to schedule a downlink

queue item which can be processed within the same uplink / downlink

transaction.

Please note that this value has influence on the uplink / downlink

roundtrip time. Setting this value too high means LoRa Server will be

unable to respond to the device within its receive-window.

get_downlink_data_delay="100ms"

# LoRaWAN regional band configuration.
#
# Note that you might want to consult the LoRaWAN Regional Parameters
# specification for valid values that apply to your region.
# See: https://www.lora-alliance.org/lorawan-for-developers
[network_server.band]
# LoRaWAN band to use.
#
# Valid values are:
# * AS_923
# * AU_915_928
# * CN_470_510
# * CN_779_787
# * EU_433
# * EU_863_870
# * IN_865_867
# * KR_920_923
# * RU_864_870
# * US_902_928
name="CN_470_510"

# Enforce 400ms dwell time
#
# Some band configurations define the max payload size for both dwell-time
# limitation enabled as disabled (e.g. AS 923). In this case the
# dwell time setting must be set to enforce the max payload size
# given the dwell-time limitation. For band configuration where the dwell-time is
# always enforced, setting this flag is not required.
dwell_time_400ms=false

# Enforce repeater compatibility
#
# Most band configurations define the max payload size for both an optional
# repeater encapsulation layer as for setups where a repeater will never
# be used. The latter case increases the max payload size for some data-rates.
# In case a repeater might used, set this flag to true.
repeater_compatible=false

# LoRaWAN network related settings.
[network_server.network_settings]
# Installation margin (dB) used by the ADR engine.
#
# A higher number means that the network-server will keep more margin,
# resulting in a lower data-rate but decreasing the chance that the
# device gets disconnected because it is unable to reach one of the
# surrounded gateways.
installation_margin=10

# Class A RX1 delay
#
# 0=1sec, 1=1sec, ... 15=15sec. A higher value means LoRa Server has more
# time to respond to the device as the delay between the uplink and the
# first receive-window will be increased.
rx1_delay=1

# RX1 data-rate offset
#
# Please consult the LoRaWAN Regional Parameters specification for valid
# options of the configured network_server.band.name.
rx1_dr_offset=0

# RX2 data-rate
#
# When set to -1, the default RX2 data-rate will be used for the configured
# LoRaWAN band.
#
# Please consult the LoRaWAN Regional Parameters specification for valid
# options of the configured network_server.band.name.
rx2_dr=-1

# RX2 frequency
#
# When set to -1, the default RX2 frequency will be used.
#
# Please consult the LoRaWAN Regional Parameters specification for valid
# options of the configured network_server.band.name.
rx2_frequency=-1

# Downlink TX Power (dBm)
#
# When set to -1, the downlink TX Power from the configured band will
# be used.
# # Please consult the LoRaWAN Regional Parameters and local regulations
# for valid and legal options. Note that the configured TX Power must be
# supported by your gateway(s).
downlink_tx_power=-1

# Disable mac-commands
#
# When set, uplink mac-commands are ignored and the network-server will not
# send mac-commands to the devices. This is intended for testing only.
disable_mac_commands=false

# Disable ADR
#
# When set, this globally disables ADR.
disable_adr=false

# Enable only a given sub-set of channels
#
# Use this when ony a sub-set of the by default enabled channels are being
# used. For example when only using the first 8 channels of the US band.
#
# Example:
# enabled_uplink_channels=[0, 1, 2, 3, 4, 5, 6, 7]
enabled_uplink_channels=[]

# Extra channel configuration.
#
# Use this for LoRaWAN regions where it is possible to extend the by default
# available channels with additional channels (e.g. the EU band).
# The first 5 channels will be configured as part of the OTAA join-response
# (using the CFList field).
# The other channels (or channel / data-rate changes) will be (re)configured
# using the NewChannelReq mac-command.
#
# Example:
# [[network_server.network_settings.extra_channels]]
# frequency=867100000
# min_dr=0
# max_dr=5

# [[network_server.network_settings.extra_channels]]
# frequency=867300000
# min_dr=0
# max_dr=5

# [[network_server.network_settings.extra_channels]]
# frequency=867500000
# min_dr=0
# max_dr=5

# [[network_server.network_settings.extra_channels]]
# frequency=867700000
# min_dr=0
# max_dr=5

# [[network_server.network_settings.extra_channels]]
# frequency=867900000
# min_dr=0
# max_dr=5

# Class B settings
[network_server.network_settings.class_b]
# Ping-slot data-rate.
ping_slot_dr=0

# Ping-slot frequency (Hz)
#
# Set this to 0 to use the default frequency plan for the configured region
# (which could be frequency hopping).
ping_slot_frequency=0

# Rejoin-request settings
#
# When enabled, LoRa Server will request the device to send a rejoin-request
# every time when one of the 2 conditions below is met (frame count or time).
[network_server.network_settings.rejoin_request]
# Request device to periodically send rejoin-requests
enabled=false

# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
# uplink messages. Valid values are 0 to 15.
max_count_n=0

# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
# seconds. Valid values are 0 to 15.
#
# 0 = roughly 17 minutes
# 15 = about 1 year
max_time_n=0

# Network-server API
#
# This is the network-server API that is used by LoRa App Server or other
# custom components interacting with LoRa Server.
[network_server.api]
# ip:port to bind the api server
bind="0.0.0.0:8000"

# ca certificate used by the api server (optional)
ca_cert=""

# tls certificate used by the api server (optional)
tls_cert=""

# tls key used by the api server (optional)
tls_key=""

# Gateway statistics settings.
[network_server.gateway.stats]
# Create non-existing gateways on receiving of stats
#
# When set to true, LoRa Server will create the gateway when it receives
# statistics for a gateway that does not yet exist.
create_gateway_on_stats=true

# Aggregation timezone
#
# This timezone is used for correctly aggregating the statistics (for example
# 'Europe/Amsterdam').
# To get the list of supported timezones by your PostgreSQL database,
# execute the following SQL query:
# select * from pg_timezone_names;
# When left blank, the default timezone of your database will be used.
timezone=""

# Aggregation intervals to use for aggregating the gateway stats
#
# Valid options: second, minute, hour, day, week, month, quarter, year.
# When left empty, no statistics will be stored in the database.
# Note, LoRa App Server expects at least "minute", "day", "hour"!
aggregation_intervals=["minute", "hour", "day"]

# MQTT gateway backend settings.
#
# This is the backend communicating with the LoRa gateways over a MQTT broker.
[network_server.gateway.backend.mqtt]
# MQTT topic templates for the different MQTT topics.
#
# The meaning of these topics are documented at:
# https://docs.loraserver.io/lora-gateway-bridge/use/data/
#
# The default values match the default expected configuration of the
# LoRa Gateway Bridge MQTT backend. Therefore only change these values when
# absolutely needed.
# Use "{{ .MAC }}" as an substitution for the LoRa gateway MAC.
uplink_topic_template="gateway/+/rx"
downlink_topic_template="gateway/{{ .MAC }}/tx"
stats_topic_template="gateway/+/stats"
ack_topic_template="gateway/+/ack"
config_topic_template="gateway/{{ .MAC }}/config"

# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
server="tcp://localhost:1883"

# Connect with the given username (optional)
username=""

# Connect with the given password (optional)
password=""

# Quality of service level
#
# 0: at most once
# 1: at least once
# 2: exactly once
#
# Note: an increase of this value will decrease the performance.
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
qos=0

# Clean session
#
# Set the "clean session" flag in the connect message when this client
# connects to an MQTT broker. By setting this flag you are indicating
# that no messages saved by the broker for this client should be delivered.
clean_session=true

# Client ID
#
# Set the client id to be used by this client when connecting to the MQTT
# broker. A client id must be no longer than 23 characters. When left blank,
# a random id will be generated. This requires clean_session=true.
client_id=""

# CA certificate file (optional)
#
# Use this when setting up a secure connection (when server uses ssl://...)
# but the certificate used by the server is not trusted by any CA certificate
# on the server (e.g. when self generated).
ca_cert=""

# TLS certificate file (optional)
tls_cert=""

# TLS key file (optional)
tls_key=""

Default join-server settings.

[join_server.default]

hostname:port of the default join-server

#

This API is provided by LoRa App Server.

server="http://localhost:8003"

ca certificate used by the default join-server client (optional)

ca_cert=""

tls certificate used by the default join-server client (optional)

tls_cert=""

tls key used by the default join-server client (optional)

tls_key=""

Join-server KEK set.

#

These KEKs (Key Encryption Keys) are used to decrypt the network related

session-keys received from the join-server on a (re)join-accept.

Please refer to the LoRaWAN Backend Interface specification

'Key Transport Security' section for more information.

#

Example (the [[join_server.kek.set]] can be repeated):

[[join_server.kek.set]]

# KEK label.

label="000000"

# Key Encryption Key.

kek="01020304050607080102030405060708"

Network-controller configuration.

[network_controller]

hostname:port of the network-controller api server (optional)

server=""

ca certificate used by the network-controller client (optional)

ca_cert=""

tls certificate used by the network-controller client (optional)

tls_cert=""

tls key used by the network-controller client (optional)

tls_key=""

图片说明

图片说明

0

1个回答

0
zsy20171218
zsy20171218 你如果明白,那么上面更新的再看一下
3 个月之前 回复
phenix2009
白色一大坨 你这就不叫骗分了,发个链接谁不会啊
3 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
LoRaServer 笔记 1.3 源码编译
文章目录前言1 LoRa Gateway Bridge2 LoRa Server2.1 go-bindata 的安装3 LoRa App Server3.1 make api 时 protoc 的安装END 前言 本篇笔记介绍如何进行几个组件的源码编译,对实际编译过程中的一些问题也做了记录。 小能手最近在学习 LoRa Server 项目,应该是最有影响力的 LoRaWAN 服务器开源项目。它组...
有没有懂rmi的呀?
我用applet中使用rmi方法,applet代码如下:rn//Applet1.java//rnimport java.awt.*;rnimport java.awt.event.*;rnimport java.applet.*;rnimport java.sql.*;rnimport java.rmi.*;rn import java.rmi.server.*;rnrn/**rn * Title: rn * Description: rn * Copyright: Copyright (c) 2003rn * Company: rn * @author unascribedrn * @version 1.0rn */rnrnpublic class Applet1 extends Applet rn float pro_color_r=0.5f;rn float pro_color_g=0.2f;rn float pro_color_b=0.6f;rn int pro_panel_no=1;rn int pro_hand_no=1;rn String pro_no="clock_p1_h1";rn float pro_price=2;rn int pro_num=5;rnrn private boolean isStandalone = false;rn private Button button1 = new Button();rnrnrn //Construct the appletrn public Applet1() rn rn //Initialize the appletrn public void init() rn rn button1.setLabel("submit");rn this.add(button1, null);rn rn rn ///////////////////////////rn public boolean action(Event event,Object what)rnrnrn if(event.target instanceof Button)rn rn Button b=(Button)event.target;rn if(b.getLabel()=="submit")rn rn /*AddOrder(pro_color_r,pro_color_g,pro_color_b,pro_panel_no,rn pro_hand_no,pro_no,pro_price,pro_num);*/rn AddOrder();rn rn/////////////////////////////////////////////////////////////////////////////////////////////////////////////////rn/////////////////////////////////////////////////////////////////////////////////////////////////////////////////rn rn return true;rnrn ////////////////////rn /*public void AddOrder(float pro_color_r,float pro_color_g,float pro_color_b,int pro_panel_no,rn int pro_hand_no,String pro_no,float pro_price,int pro_num)rn rn tryrn String strSQL="INSERT INTO pro_tb(pro_color_r,pro_color_g,pro_color_b,pro_panel_no,pro_hand_no,pro_no,pro_price,pro_num,userid) VALUES('"rn +pro_color_r+"','"+pro_color_g+"','"+pro_color_b+"','"+pro_panel_no+"','"+pro_hand_no+"','"+pro_no+"','"+pro_price+"','"+pro_num+"','1')";rnrn Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");rn Connection conn = DriverManager.getConnectionrn ("JDBC:ODBC:virpro","sa","hotlip");rn Statement stmt = conn.createStatement();rn stmt.executeUpdate(strSQL);rnrn catch(Exception ex)ex.printStackTrace();rnrn */rn public void AddOrder()rn rn try rn String url = "//localhost:8808/SERVER";rn//////////////////////////////////////////////////////////////////rn RmiInterface RmiObject = (RmiInterface)Naming.lookup(url);rn//////////////////////////////////////////////////////////////////////rn RmiObject.AddOrder_Clock(0.1f,0.2f,0.5f,1,1,"clock_p1_h1",7.0f,8);rn System.out.println(" 1 + 2 = " + RmiObject.sum(1,2) );rn catch (RemoteException exc) rn System.out.println("Error in lookup: " + exc.toString());rn catch (java.net.MalformedURLException exc) rn System.out.println("Malformed URL: " + exc.toString());rn catch (java.rmi.NotBoundException exc) rn System.out.println("NotBound: " + exc.toString());rn rn rnrnApplet1.html代码:rnrnrn rn rnHTML Test Pagernrnrnrnuntitled1.Applet1 will appear below in a Java enabled browser. rnrnrnrnrnrn用命令appletviewer Applet1.html程序可执行rn如用ie浏览Applet1.html不行
有没有懂jqplot的大神
谁知道jqplot绘制的柱状图中图例中的分类点一下加删除线这个技能怎么实现啊,我把网站上的例子弄下来也不行,但是在他的网站上就可以实现rn
有没有懂织梦CMS的啊
我一点也不懂啊,有没有人教教我啊,只要能把基础的教好我就行了,其他的就不用了我学习能力很快的!谢谢 rnrn我现在进去后完全不知道该干什么,我设计好了一个网站,但是也不知道该把网站放到哪,也不知道如何让他们两个联系起来,更别说不知道怎么让他们互动了rnrn我不懂PHP,也不懂编程,我现在进去织梦后就不知道该干什么了,什么也干不了啊rnrn求求大家教教我到底该织梦办啊,织梦个垃圾CMS,写的帮助都看不懂,跟没写一样!rnrn请大家一步一步的教我。谢谢
有没有懂lightbox2的
我想做一个点击图片之后能以lightbox显示的页面。rn然后图片在数据库中存储的格式为~\sun\Department\cx\chuangxin\1_2008_98e6ab4e-c3bb-43f0-bf7e-e88cc690fb47.jpgrn然后代码为rn" rel="lightbox[roadtrip0]">rn rn但点击图片之后没反应rn求解答
有没有懂的人!
如何用ONREADYSTATECHANGE事件来判断XML文档接受情况? rn用XMLHTTP。SEND的同步方法
***********倒底有没有懂fileread??????????
我按照HELP里的一个例子做到自己的程序里,结果发现执行时错了.请帮助纠错.rn函数定义如下:rnfunction FileRead(Handle: Integer; var Buffer; Count: Integer): Integer;rnrn去了这句Buffer := PChar(AllocMem(iFileLength + 1));rn基本就可以,怎么回事?rnrn HELP里的一个例子:rnprocedure TForm1.Button1Click(Sender: TObject);rnrnvarrn iFileHandle: Integer;rn iFileLength: Integer;rn iBytesRead: Integer;rn Buffer: PChar;rn i: Integerrnbeginrn if OpenDialog1.Execute thenrn beginrn tryrn iFileHandle := FileOpen(OpenDialog1.FileName, fmOpenRead);rn iFileLength := FileSeek(iFileHandle,0,2);rn FileSeek(iFileHandle,0,0);rn Buffer := PChar(AllocMem(iFileLength + 1));rn iBytesRead = FileRead(iFileHandle, Buffer, iFileLength);rn FileClose(iFileHandle);rnrn for i := 0 to iBytesRead-1 dorn beginrn StringGrid1.RowCount := StringGrid1.RowCount + 1;rn StringGrid1.Cells[1,i+1] := Buffer[i];rn StringGrid1.Cells[2,i+1] := IntToStr(Integer(Buffer[i]));rn end;rn finallyrn FreeMem(Buffer);rn end;rn end;rnend;rn
有没有懂cloudscape 的高手?
我用jb7和weblogic6.1联合开发实体Bean,我想在设计时导入 database schma, 当我rn添加了驱动程序(COM.cloudscape.core.JDBCDriver)和url(jdbc:cloudscape:demo)时不知道为什么总是出现demo数据库不存在的意外,我快急疯了,这怎么办啊?
有没有懂硬盘的?
帮忙看看这个帖子啊,谢谢了。rnhttp://community.csdn.net/Expert/TopicView.asp?id=4435200
有没有懂jdbc的????
数据库为mssql rn服务器为resin rn在我jsp文件中调用已经写好的存储过程 rn如果我的存储过程中的参数是这样的 rn@para1 int, rn@para2 int, rn@para3 int, rn@para4 int, rn@para5 int, rn@error int=0 output rn那么在jsp中用callableprepared rn调用getInt(6)取回error的值 rn没有问题 rn但是 rn如果把参数 rnpara5 rn改成 text格式 rn再用getInt(6)取回error的值 rn就会抛出一个 rnnumberformat异常 rn真是郁闷呀 rn这是怎么回事? rn那位大侠给个参考方案???? rn
有没有高手懂CachedRowSet?
我用JDK5.0里面的com.sun.rowset.CachedRowSetImpl里实现的CachedRowSetrnrnRowSet rowset = new CachedRowSetImpl();rnrnfor(int i = 0; i < 30; i ++) rn Date date = new Date(System.currentTimeMillis());rn Thread.sleep(2);rn rs.moveToInsertRow();rn rs.updateString("user", "Cain");rn rs.updateString("leaveword", "light ");rn rs.updateTimestamp("time", new Timestamp(System.currentTimeMillis()));rnrn rs.insertRow();rnrnrnrs.acceptChanges();rnrn结果报错说rnjava.sql.SQLException: Failed on insert rowrnrn at com.sun.rowset.CachedRowSetImpl.insertRow(CachedRowSetImpl.java:5440)rn
有没有个懂路由器的?
最近想学习路由器的相关知识,,,大家给点建议
有没有懂corba的呢?
用c++和Java分别做corba的客户端和服务器端,但是把一个结构体插入到any类型中发送,在接收端不能提取出来(用java的equal或equialent判断不相等,但是如果直接用extract却可以得到里面的数据,用c++的“>>=”提取符号就不能成功rnrn传送的是下面的StructuredEvent结构体rnrnidl编译成Java用的是idlj.exern编译成c++ 用的是omniorb4.1.0rnrnrn望高手指教rnrnidl定义:rnrnmodule Testrn struct TimeOfDayrn rn short hour;rn short minute;rn short second;rn ;rn rn typedef sequence TimeOfDaySeq;rn rn typedef string Istring;rn typedef Istring PropertyName;rn typedef any PropertyValue;rn rn struct Propertyrn rn PropertyName name;rn PropertyValue value;rn ;rn typedef sequence PropertySeq;rn rn typedef PropertySeq OptionalHeaderFields;rn typedef PropertySeq FilterableEventBody;rn rn struct EventTypern rn string domain_name;rn string type_name;rn ;rn typedef sequence EventTypeSeq;rn rn struct FixedEventHeaderrn rn EventType event_type;rn string event_name;rn ;rn rn struct EventHeaderrn rn FixedEventHeader fixed_header;rn OptionalHeaderFields variable_header;rn ;rn rn struct StructuredEvent rn EventHeader header;rn FilterableEventBody filterable_data;rn any remainder_of_body;rn ;rn typedef sequence EventBatch;rnrn interface Timern void Push(in TimeOfDaySeq seq);rn void NewPush(in any a);rn ;rn;
LoRaServer 笔记 1.4 配置运行
文章目录前言1 Gateway Bridge1.1 生成配置文件1.2 启动 mqtt broker1.3 运行2 loraserver2.1 postgresql 帐户登录2.2 配置文件修改2.3 运行3 lora-app-server3.1 启动 Redis3.2 配置文件修改3.3 运行4 小结END 前言 编译之后,这篇笔记介绍如何进行必要的配置,并让几个组件运行起来,包含实践过程一些小...
loraserver 源码解析 (一) 构建
源码地址 loraserver     lorawan netserver,和 gateway通信 与app server交互 lorawan         它用于lorawan通信数据的序列化   安装golang 安装Golang   下载源码 go get -u github.com/brocaar/loraserver go get -u github.com/broc...
loraserver 源码解析 (三) 配置
目录   一些主要配置项 lora-app-server loraserver   原理   一些主要配置项 (陆续补充中 。。。) lora-app-server # Valid values for sslmode are: # # * disable - No SSL # * require - Always SSL (skip verification) # * v...
有没有专业人事懂这个的?
有没有懂VC和VRML(好象是这个,一种作动画的东东)接口的?如何用VC控制,让在一个FRAME里显示多个VRML做的东东(比如说坦克)?帮同学做,现在都搞不定,郁闷死我了!rn高手帮忙!谢谢了!
有没有懂MSChart控件的高手
请教几个关于MSChart控件使用的问题:rn1如何调整图形的高、宽,有时用MSChart控件默认值画出的图形(指坐标轴及图形组成的部分而不是指plot对象区域)大小不合适,如我想使画出的三维柱状图看起来更高、更宽些,这时调整Plot.LocationRect只能将plot区域和图形同时放大,MSChart控件不知能否做到调整图形在plot区域中的大小。rnMSChart控件有没有什么好的方法调整X、Y、Z轴的长度?rnrn2为解决上述问题,我曾试过用Plot对象的DepthToHeightRatio、WidthToHeightRatio属性,虽有一定效果,但图形大小总难达到合适,画出的三维柱状图总是不太好看。另外我想请教:rnDepthToHeightRatio、WidthToHeightRatio到底指谁与谁的比例,MSDN上似乎没说明白,如DepthToHeightRatio指“深度”与“高”的比例,深度指什么呢?rnrn3MSChart控件画出的图形中的斜线总是不太直或说有毛刺,我试过调整plot对象的Projection属性,但结果不是立体感太差,就是画出的线效果太差。rnrn4如何调整X轴上标记或说tick,tick在X轴上的显示总是不清楚。另外,Y轴标题离Y轴总显得太远,VB中能调整吗?rnrn谢谢!rn
有没有懂正则的老铁
我用的notepad++,需要批量删除一些内容,但是内容都不一样,不过有规律。rnrn18125657">();人狗他阿萨打算rn15596747">();发个阿达撒打算rn11245747">();撒打算rn17789777">();萨达撒打算rn10367747">();黄盖撒打算rn19856547">();工会扑克就撒打算rnrn规则大概就是这样,都是以数字1开头,以();结束,包括1和();都删掉,只留下中文字rnrn这样的正则怎么写啊
有没有懂有线电视信号问题的???
请问PAL制式的信号线是不是只能收到PAL制式使用的国家,如不能收到美国的电视台,rn而NTSC的就不可能收到PAL制式国家的电视台,如不可能收到中国的电视台,rn是这样吗,谢谢!
有没有懂BSON的?请进来帮忙
想要向BSONArray中的数据放入到文件中,改如何操作啊,rn例如:rnBSONObj x=BSON("NAME"<<"FILI");rnBSONArrayBuilder barr;rnbarr.append(1);rnbarr.append(x);rnBSONArray arr=barr.arr();rnrn如何将arr中的内容放入文件中,又怎么取出来。
有没有懂gun 的汇编的老大
gun 的汇编有很多都看不懂,尤其是它的伪指令,如: .set STACK_SIZE, 0x1000rn等。有那位老大能给小弟指点一二,小弟在此谢过了。rn或是有那位老大知道这方面的资料。
有没有那位高手懂jgraph
有没有那位高手懂jgraph,能给我详细介绍一下吗.
有没有懂Htmlhelp workshop的程序员?
我需要你的帮助,我现在要做一个“在线帮助”的程序,我用的是Htmlhelp workshop来做,我从来都没有用过。我从网上也下载了一些这方面的文章。我用Frongtpage也建了几个Html的文档,但是还是用不来,可否指导一下我。
有没有懂语音开发的朋友
语音编解码方面的,我要实现一个语音通信功能,不知道该如何下手,请大侠们支支招rn要是能给我推荐人才也大大的欢迎,在北京
有没有懂光口和电口的大大....
最近想弄无盘, 以前一直是用的千兆网络 (内网) , 以为万兆也是像电口那样直接网线接, 后来发现X宝卖的万兆交换机都是光口的, 部分网卡也是光口的,比如英特尔XT520, XT540就是电口的rn现在有几个问题:rnrn1 : 如果交换机的光口和网卡的光口能直连, 是否直接买光口交换机和光口网卡更划算, 那需要用到什么线呢 (据说还需要光口还需要接光模块才能用线直连................)rnrn2 : 如果想把交换机的光口转成电口(不知道有没有这种设备), 费用高吗, 还是说直接光对光rnrn3 : 如果交换机光口和电脑网卡的光口能直接连接, 这种能连外网吗 (因为以前一直是认为网线才能传外网, 看运营商他们都是光纤线用光猫转成网线..............)
有没有懂迅雷专用链的?
我想把一个普通的Http://www.123.com/abc.rmvb的电影资料转换成迅雷专用链并且让迅雷创建任务的时候把默认文件名改成自定义的比如123.rmvb 有没有办法?
紧急求助-有没有懂股票的!
股票的曲线图是怎么实现的,有没有OCX的控件。
有没有懂极光推送的大佬啊
初来乍到.公司安排了一下任务,让使用极光推送推送一个url到手机端,求大佬指点
有没有懂ms-sql的高人???请进!!!!!
互动是网络的革命,如何互动需要你们的参与,天天在线互动娱乐平台show.116.com.cn,一个k歌展示自我的空间,期待您的加盟!!!rn开发高人请与我联系!!!rnrn(DBA)数据库工程师(N人)rnrn工作地点:北京市rn学 历:本科rn工作年限:二年以上 rn薪水范围:面议rnrn职位描述: rnrn1、DBA负责公司支撑平台的数据库规划、整理、日常维护,新业务开发; rn2、熟练掌握ORACLE、SQL数据库; rn3、对互联网增值业务有一定了解;rn4、有数据库DBA 2年经验; rnrn联系人:李先生   电话:66579888-9078(如无人接听请发mail与我联系)rnmail:duyuan.li@vip.116.com.cn rn    rn软件工程师(C++)(2人)rnrn工作地点:北京市rn学 历:本科rn工作年限:三年以上rn薪水范围:面议rnrn职位描述: rnrn1、熟练使用C/C++、WinAPI,有3年以上的软件研发经验。 rn2、熟悉VC++, gcc, gdb等开发环境和开发工具。 rn3、熟悉Linux系统上的网络编程和进程间通信,独立开发过服务程序。rn4、熟悉音视频编解码技术优先。rnrn联系人:李先生   电话:66579888-9078(如无人接听请发mail与我联系)rnmail:duyuan.li@vip.116.com.cnrnrn软件工程师(JAVA)(1人)rnrn工作地点:北京市rn学 历:本科rn工作年限:两年以上 rn薪水范围:面议rnrn职位描述: rnrn1、熟练的Java编程和设计能力,熟悉设计模式的合理运用;rn2、熟练WebService和XML相关技术rn3、熟练掌握JSP,JSTL,JDBC,JavaScript,Swing,Eclipse等相关技术rn4、了解和学习掌握过下列技术者优先,如Struts使用,学习和了解过Hibernate,Spring等新技术框架rnrnrn联系人:李先生   电话:66579888-9078(如无人接听请发mail与我联系)rnmail:duyuan.li@vip.116.com.cnrnrn软件工程师(DELPHI)(1人)rnrn工作地点:北京市rn学 历:本科rn工作年限:二年以上 rn薪水范围:面议rnrn职位描述: rnrn1、精通DELPHI,有客户端产品编程经验; rn2、熟练掌握TCP/IP协议编程; rn3、有H323、SIP协议编程经验者优先;rnrnrn联系人:李先生   电话:66579888-9078(如无人接听请发mail与我联系)rnmail:duyuan.li@vip.116.com.cnrn
有没有懂together的java兄弟
有个从代码画类图的小活,大哥有没有兴趣。联系shenwjmail@163.comrn
有没有懂贪婪算法的,帮忙看一下!
大家有没有玩过Linux里的same gnome游戏?没玩过的看下面的连接。 rnhttp://www.chinalinuxpub.com/doc/manual/9.0/rhl-gsg-zh_CN-9/s1-applets-coolness.html rn相同颜色的三个相连的球可以消除,然后往下然后往左移动,一次消除的球的个数越多,分数越高。 rn如果变成实现最高分的话,应该怎样实现?用什么样的算法?rn
有没有既懂VB又懂ASP的高手???
我做了一些关于随机选择纪录的VB程序代码,现我想把它转化为ASP页面,请问能不能实现?如何实现?rn代码如下:rnrn'程序功能  :在选定表的记录范围内生成不重复的记录数rn'****************************************************rn'程序用到两个表rn'****************************************************rn'表名一为:test.dbo.test,结构为: id int 4 标识,主索引;Type nvarchar;TXT nvarchar;rn'表名二为:test.dbo.pk ,结构为: pkid int 4,主索引 此表为存放取出的test表中的IDrn'****************************************************rn'一个存储过程rn'****************************************************rn'存储过程:Rndrn'CREATE PROCEDURE Rnd --Rnd为存储过程名rn' @Rnd int, --传入的参数,生成的随机数rn' @Retu int output --返回的值rn' ASrn' if exists(select * from pk where pkid=@Rnd) --如果传入的随机数在表Pk中存在,则返回0rn' beginrn' set @Retu=0--设置返回值@Retu为0rn' Endrn' Elsern' beginrn' insert into pk(PKID) values(@Rnd)--如果传入的随机数在表PK中不存在,则在PK表中加入此随机数rn' set @Retu=1--设置返回值@Retu为1rn' Endrn'GOrn'****************************************************rnDim Cn As ADODB.ConnectionrnDim Rs As ADODB.RecordsetrnDim Rs1 As ADODB.RecordsetrnDim Cm As ADODB.CommandrnDim VarRnd As IntegerrnPrivate Sub Command1_Click()rn'******************************************************************rn'测试用户输入的是否为数字rnFor i = 1 To 2rnIf IsNumeric(Choose(i, Text1.Text, Text2.Text)) = False Thenrnresponse.write "请输入数字!", vbCritical + vbOKOnly, "警告"rnChoose(i, Text1, Text2).SetFocusrnSendKeys "Home+End" '把TEXT1控件中的所有资料全部选中rnExit Sub '退出子程序rnEnd IfrnNext irn'******************************************************************rnrn'******************************************************************rnIf Rs.State = 1 Then Rs.ClosernRs.Open "select type,count(*) from test.dbo.temp group by type", _rnCn, adOpenDynamic, adLockOptimistic, adCmdTextrn'按类型分组计算出每组的记录数,也就是每种题目的数量rnrnFor i = 1 To Rs.RecordCountrnRs.MoveFirst '记录指针移动到最前面rnRs.Find "type='" & Choose(i, "TK", "WD") & "'" '在记录集中定位rnIf Choose(i, Val(Text1.Text), Val(Text2.Text)) > Rs.Fields(1) ThenrnMsgBox Choose(i, "TK", "WD") & "要取出的记录数大于总记录数" & Chr(13) & _rn"总记录数为:" & Trim(CStr(Rs.Fields(1))) & "条", vbCritical + vbOKOnly, "警告"rnChoose(i, Text1, Text2).SetFocusrnSendKeys "Home+End" '把TEXT控件中的所有资料全部选中rnExit Sub '退出子程序rnEnd IfrnNext irn'校验用户输入的选题量是否超出了题库总量rn'******************************************************************rnrn'******************************************************************rnCm.CommandType = adCmdStoredProc '设置Cm的命令类型为执行存储过程rnCm.CommandText = "Rnd" '设置存储过程名称rnIf Cm.Parameters.Count > 0 Then '如果Cm的参数大于0.那么删除参数rnCm.Parameters.Delete ("@Rnd") '删除参数rnCm.Parameters.Delete ("@Retu") '删除参数rnEnd IfrnCm.Parameters.Append _rnCm.CreateParameter("@Rnd", adInteger, adParamInput)rn'添加参数rnCm.Parameters.Append _rnCm.CreateParameter("@Retu", adInteger, adParamOutput) '添加参数rn'把得到的随机数赋给Cm的第1个参数rnCn.Execute "delete from test.dbo.pk" '清除表PK里所有记录rnCm.Prepared = Truern'******************************************************************rnrn'******************************************************************rnFor i = 1 To Rs.RecordCountrnLabel1.Caption = "正在执行,请稍候......"rnIf Rs1.State = 1 Then Rs1.ClosernRs1.Open "select * from temp where Type='" & _rnChoose(i, "TK'", "WD'"), Cn, adOpenDynamic, adLockOptimistic, adCmdTextrn'得到当前类型的记录集rnrnFor j = 1 To Choose(i, Val(Text1.Text), Val(Text2.Text)) '循环rnDo While True '生成随机数的循环rnIf Int((Rnd * Rs1.RecordCount) + 1) = 0 Thenrn'以当前类型的记录数为种子得到随机数rn'(这样得到的随机数在Temp表的总记录数中),把得到的0值转换成1rnVarRnd = 1rnElsernVarRnd = Int((Rnd * Rs1.RecordCount) + 1)rnEnd IfrnRs1.AbsolutePosition = VarRndrn'将当前类型的记录集的记录指针指向生成的随机数rnCm.Parameters(1).Value = Rs1.Fields(0)rn'把当前类型记录集的记录指针赋给存储过程的输入参数rnCm.Execute '执行存储过程rnIf Cm.Parameters(2).Value >= 1 Thenrn'如果返回的值为大于或等于1.那么说明现在生成的随机数没有重复, _rn则退出生成随机数的循环 , 进入下一个jrnExit Do '退出生成随机数的循环rnEnd IfrnLoop '继续生成随机数rnNext jrnNext irnRs.Close '关闭recordsetrnRs.Open "select * from temp where " & _rn" id in (select pkid from pk)" & _rn" Order By Type,id", Cn, adOpenDynamic, adLockOptimistic, adCmdTextrnSet DataGrid1.DataSource = Rs '设置表格的数据源为RsrnLabel1.Caption = "执行完毕!"rnEnd SubrnPrivate Sub Form_Load()rnSet Cn = New ADODB.ConnectionrnCn.Open "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=test;Data Source=zx"rnSet Rs1 = New ADODB.RecordsetrnRs1.CursorLocation = adUseClientrnSet Rs = New ADODB.RecordsetrnRs.CursorLocation = adUseClientrnSet Cm = New ADODB.CommandrnSet Cm.ActiveConnection = CnrnEnd SubrnPrivate Sub Form_Unload(Cancel As Integer)rnSet Rs = NothingrnSet Cn = NothingrnSet Rs1 = NothingrnSet Cm = NothingrnEnd Subrnrn
loraserver 源码解析 (二) 运行起来
loraserver 源码解析 (一) 构建 已经在build目录下生成了 loraserver   由于缺乏 redis 或 postgresql 或 mqtt broker 会导致无法执行下去 本文介绍如何安装部署它们   ubuntu 16.04 安装 最新 redis   ubuntu 16.04 安装 postgresql 10 并 配置成loraserver需要的  ...
LoRaServer 笔记 1.2 基础依赖工具准备
文章目录前言1 MQTT broker2 PostgreSQL2.1 安装2.2 配置3 RedisEND 前言 本篇笔记介绍开发所需的几个基础依赖工具。 小能手最近在学习 LoRa Server 项目,应该是最有影响力的 LoRaWAN 服务器开源项目。它组件丰富,代码可读性强,是个很好的学习资料。更多学习笔记,可点此查看。 1 MQTT broker sudo yum install mo...
Oracle高手们有没有懂DB2的阿?
我是真不想用DB2,没有办法,老板逼的,db2导数据可以用load,oracle中用sql*loader,可是db2的load怎么就不像sqlldr是一个可执行的程序呢,而必须在clp中运行,如果我想调用批处理进行load操作,问题就来了。查了一下,好像要用什么rndb2cmd进行处理,可是怎么也写不好这个批处理,程序如下,请帮忙看一下:rnd:\db2\bin>db2cmd /i /w /trnd:\db2\bin>db2 connect to...rnd:\db2\bin>db2 load...rn单独在cmd中执行还可以,写成批处理就不行了。有没有更好的办法调用批处理执行load呢。
有没有朋友懂  LINUX下 LiveCD制作技术 ???
我们组需要以 Asianux 3 workstation为 核心 精简出一个 1CD的 linux出来 有没有 懂得的朋友?rnrn 介绍下资料 制作工具 什么的!!!rnrn 不甚感激!
懂封装的进来!看看有没有可能。
如何将已安装好的系统重新封装成原始光盘安装模式,非ghost安装。
有没有懂图像处理的VB.Net的高手?帮忙看一下
我有个东西要做,对图像处理的编程,想要Vb.net,不知道高手有什么建议? rn1.BMP格式图像的存取和显示。使用BID来读取BMP格式的图像并进行显示。rn2.离散傅立叶变换和反变换。编程实现傅立叶变换和反变换,要求显示变换前,变换后以及反变换后的图像。 rn3.快速傅立叶变换和反变换。编程实现快速傅立叶变换和反变换,要求显示变换前,变换后以及反变换后的图像。
CAK文件是什么文件,有没有懂的?
CAK文件是什么文件,有没有懂的?