pohozhe chto da. A est' vozmozhnost' najti core file i poluchit' stack trace iz nego?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: bdefloo on October 10, 2012, 05:34:24 PM
Sounds great. By "extendable", you probably mean by editing the source code of the console?
Quote from: bdefloo on October 10, 2012, 05:34:24 PM
The problem with Object Details is when a different window is in front of it; like a graph, configuration window or the alarm browser. The object browser is still visible to the left, but clicking in it won't seem to change anything.
I have the intuition that the object browser and object details pretty much belong together, similar to when you click a code file in the project explorer in Eclipse you expect the code editor for that file to come to the foreground.

Quote from: SKYnv on October 05, 2012, 06:17:10 PM
src\server\core\main.cppfor(int i = 0; i < vlans->getSize(); i++)
{
VlanInfo *vlan = vlans->get(i);
ConsolePrintf(pCtx, _T("%4d | %-16s |"), vlan->getVlanId(), vlan->getName());
for(int j = 0; j < vlan->getNumPorts(); j++)
ConsolePrintf(pCtx, _T(" %d.%d"), (int)(vlan->getPorts()[j] >> 16), (int)(vlan->getPorts()[j] & 0xFFFF));
ConsolePrintf(pCtx, _T("\n"));
}
если порты идут в формате 1/portNum то в данном месте(int)(vlan->getPorts()[j] >> 16), (int)(vlan->getPorts()[j] & 0xFFFF));
они все станут 0.0 0.0Quotenetxmsd: sh vl 2738
VLAN | Name | Ports
-----+------------------+-----------------------------------------------------------------
1 | default | 0.0
3 | vlan3 | 0.0 0.0
4 | vlan4 | 0.0 0.0
5 | vlan5 | 0.0 0.0
6 | vlan6 | 0.0 0.0
7 | vlan7 | 0.0 0.0
8 | vlan8 | 0.0 0.0
9 | vlan9 | 0.0 0.0
10 | vlan10 | 0.0 0.0 0.0
Вроде так )))

Quote from: sabonez on October 05, 2012, 09:14:21 AM
СМС-ки вроде в UCS-2.
Quote from: sabonez on October 05, 2012, 09:14:21 AM
База у меня в 1251, с utf-8 почему-то java-console под вендой не задружилась - резала русские имена. Если это как-то лечится, может есть смысл конвертнуть базу в UTF?