Skip to content

Commit

Permalink
New versions from Gurux.DLMS.UI and Gurux.DLMS.
Browse files Browse the repository at this point in the history
  • Loading branch information
gurux01 committed May 23, 2017
1 parent a08b6c8 commit 2316ace
Show file tree
Hide file tree
Showing 28 changed files with 83 additions and 66 deletions.
6 changes: 3 additions & 3 deletions Development/CryptHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
//
//
//
// Version: $Revision: 6803 $,
// $Date: 2013-12-16 09:52:30 +0200 (ma, 16 joulu 2013) $
// $Author: kurumi $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
//
Expand Down
4 changes: 2 additions & 2 deletions Development/DevicePropertiesForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Development/DevicePropertiesForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
//
//
//
// Version: $Revision: 9397 $,
// $Date: 2017-05-15 10:43:42 +0300 (ma, 15 touko 2017) $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
Expand Down Expand Up @@ -788,7 +788,7 @@ void UpdateStartProtocol()
{
//If IEC47 is used DLMS is only protocol.
GXManufacturer man = this.ManufacturerCB.SelectedItem as GXManufacturer;
this.UseLNCB.Checked = man.UseLogicalNameReferencing;
this.UseLNCB.Checked = Device.UseLogicalNameReferencing = man.UseLogicalNameReferencing;
if (SelectedMedia is GXNet && man != null)
{
StartProtocolCB.Enabled = !man.UseIEC47;
Expand Down
6 changes: 3 additions & 3 deletions Development/DeviceState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
//
//
//
// Version: $Revision: 3125 $,
// $Date: 2010-12-14 10:08:50 +0200 (ti, 14 joulu 2010) $
// $Author: kurumi $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
//
Expand Down
4 changes: 2 additions & 2 deletions Development/GXDLMSCommunicator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
//
//
//
// Version: $Revision: 9397 $,
// $Date: 2017-05-15 10:43:42 +0300 (ma, 15 touko 2017) $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
Expand Down
4 changes: 2 additions & 2 deletions Development/GXDLMSDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
//
//
//
// Version: $Revision: 9397 $,
// $Date: 2017-05-15 10:43:42 +0300 (ma, 15 touko 2017) $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
Expand Down
6 changes: 3 additions & 3 deletions Development/GXDLMSDeviceCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
//
//
//
// Version: $Revision: 6743 $,
// $Date: 2013-11-28 15:38:22 +0200 (to, 28 marras 2013) $
// $Author: kurumi $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
//
Expand Down
8 changes: 4 additions & 4 deletions Development/GXDLMSDirector.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@
<HintPath>packages\Gurux.Common.8.1.1702.0602\lib\portable-win+net35\Gurux.Common.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Gurux.DLMS, Version=8.5.1705.1201, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Gurux.DLMS.8.5.1705.1201\lib\portable-win+net35\Gurux.DLMS.dll</HintPath>
<Reference Include="Gurux.DLMS, Version=8.5.1705.2202, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Gurux.DLMS.8.5.1705.2202\lib\portable-win+net35\Gurux.DLMS.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Gurux.DLMS.UI, Version=8.5.1705.1502, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Gurux.DLMS.UI.8.5.1705.1502\lib\portable-win+net35\Gurux.DLMS.UI.dll</HintPath>
<Reference Include="Gurux.DLMS.UI, Version=8.5.1705.2201, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Gurux.DLMS.UI.8.5.1705.2201\lib\portable-win+net35\Gurux.DLMS.UI.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Gurux.Net, Version=8.1.1703.3101, Culture=neutral, processorArchitecture=MSIL">
Expand Down
6 changes: 3 additions & 3 deletions Development/GXDLMSObjectSerializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
//
//
//
// Version: $Revision: 5618 $,
// $Date: 2012-08-24 09:15:04 +0300 (pe, 24 elo 2012) $
// $Author: kurumi $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
//
Expand Down
4 changes: 2 additions & 2 deletions Development/GXObisValueItemForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Development/GXObisValueItemForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
//
//
//
// Version: $Revision: 8937 $,
// $Date: 2016-11-23 14:03:11 +0200 (ke, 23 marras 2016) $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
Expand Down
6 changes: 3 additions & 3 deletions Development/GXValueSerializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
//
//
//
// Version: $Revision: 3125 $,
// $Date: 2010-12-14 10:08:50 +0200 (ti, 14 joulu 2010) $
// $Author: kurumi $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
//
Expand Down
6 changes: 3 additions & 3 deletions Development/GuruxWin32.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
//
//
//
// Version: $Revision: 4004 $,
// $Date: 2011-09-14 13:46:00 +0300 (ke, 14 syys 2011) $
// $Author: kurumi $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
//
Expand Down
4 changes: 2 additions & 2 deletions Development/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 19 additions & 2 deletions Development/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
//
//
//
// Version: $Revision: 9403 $,
// $Date: 2017-05-15 17:10:26 +0300 (ma, 15 touko 2017) $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
Expand Down Expand Up @@ -661,6 +661,23 @@ private void UpdateProperties(object obj, IGXDLMSView view, List<object> Updated

void Initialize()
{
//Save changes?
if (this.Dirty)
{
DialogResult ret = MessageBox.Show(this, Properties.Resources.SaveChangesTxt, Properties.Resources.GXDLMSDirectorTxt, MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question);
if (ret == DialogResult.Cancel)
{
return;
}
if (ret == DialogResult.Yes)
{
if (!Save())
{
return;
}
}
}

path = "";
ObjectTreeItems.Clear();
SelectedListItems.Clear();
Expand Down
4 changes: 2 additions & 2 deletions Development/ManufacturerForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Development/ManufacturerForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
//
//
//
// Version: $Revision: 9367 $,
// $Date: 2017-04-19 13:14:37 +0300 (ke, 19 huhti 2017) $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
Expand Down
6 changes: 3 additions & 3 deletions Development/ManufacturerSettings/GXError.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
//
//
//
// Version: $Revision: 5901 $,
// $Date: 2013-01-08 14:52:06 +0200 (ti, 08 tammi 2013) $
// $Author: kurumi $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
//
Expand Down
4 changes: 2 additions & 2 deletions Development/ManufacturerSettings/GXLogWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
//
//
//
// Version: $Revision: 9233 $,
// $Date: 2017-02-20 09:17:34 +0200 (ma, 20 helmi 2017) $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
Expand Down
4 changes: 2 additions & 2 deletions Development/ManufacturersForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Development/ManufacturersForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
//
//
//
// Version: $Revision: 9048 $,
// $Date: 2016-12-20 16:35:34 +0200 (ti, 20 joulu 2016) $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
Expand Down
4 changes: 2 additions & 2 deletions Development/OBISCodeForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Development/OBISCodeForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
//
//
//
// Version: $Revision: 8991 $,
// $Date: 2016-12-02 13:54:21 +0200 (pe, 02 joulu 2016) $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
Expand Down
4 changes: 2 additions & 2 deletions Development/OBISCodesForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Development/OBISCodesForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
//
//
//
// Version: $Revision: 8937 $,
// $Date: 2016-11-23 14:03:11 +0200 (ke, 23 marras 2016) $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
Expand Down
4 changes: 2 additions & 2 deletions Development/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
//
//
//
// Version: $Revision: 9270 $,
// $Date: 2017-03-21 21:24:32 +0200 (ti, 21 maalis 2017) $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
Expand Down
4 changes: 2 additions & 2 deletions Development/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
//
//
//
// Version: $Revision: 9152 $,
// $Date: 2017-01-23 10:12:50 +0200 (ma, 23 tammi 2017) $
// Version: $Revision: 9442 $,
// $Date: 2017-05-23 15:21:03 +0300 (ti, 23 touko 2017) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
Expand Down
4 changes: 2 additions & 2 deletions Development/packages.config
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Gurux.Common" version="8.1.1702.0602" targetFramework="net35" />
<package id="Gurux.DLMS" version="8.5.1705.1201" targetFramework="net35" />
<package id="Gurux.DLMS.UI" version="8.5.1705.1502" targetFramework="net35" />
<package id="Gurux.DLMS" version="8.5.1705.2202" targetFramework="net35" />
<package id="Gurux.DLMS.UI" version="8.5.1705.2201" targetFramework="net35" />
<package id="Gurux.Net" version="8.1.1703.3101" targetFramework="net35" />
<package id="Gurux.Serial" version="8.1.1702.1001" targetFramework="net35" />
<package id="Gurux.Terminal" version="8.1.1702.1001" targetFramework="net35" />
Expand Down

0 comments on commit 2316ace

Please sign in to comment.