Skip to content

Commit

Permalink
HSPEXP+ Updates
Browse files Browse the repository at this point in the history
1. The interface of HSPEXP+ was improved.
2. The Multi Simulation Manager can now look at range of operations.
3. Install scripts and texts were updated.
  • Loading branch information
mishranurag committed Mar 23, 2018
1 parent 5c7c626 commit d4d3d98
Show file tree
Hide file tree
Showing 6 changed files with 205 additions and 146 deletions.
12 changes: 12 additions & 0 deletions HSPEXP/MultiSimulatioManager.vb
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,16 @@ You can edit this specification file and add more parameters and outputs.", vbOK
ByRef aParm As ModelParameter,
ByVal aMFactorOrParmValue As Double
)
Dim lOperLowerRange As Integer = -1
Dim lOperUpperRange As Integer = -1
Try
lOperLowerRange = CInt(aParm.ParmOperationName.Split("-")(0))
lOperUpperRange = CInt(aParm.ParmOperationName.Split("-")(1))
Logger.Dbg("Range of operaion is provided")
Catch ex As Exception
Logger.Dbg("Range of Operations is not provided")
End Try

Select Case True
Case aParm.ParmTable.Contains("MASS-LINK")
Dim lMassLinkID As Integer
Expand Down Expand Up @@ -412,8 +422,10 @@ You can edit this specification file and add more parameters and outputs.", vbOK
Next

Case Else

For Each lOper As HspfOperation In aUCI.OpnBlks(aParm.ParmOperationType).Ids
If (lOper.Id = aParm.ParmOperationNumber OrElse lOper.Description = aParm.ParmOperationName OrElse
(lOper.Id >= lOperLowerRange AndAlso lOper.Id <= lOperUpperRange) OrElse
(aParm.ParmOperationNumber = 0 AndAlso aParm.ParmOperationName = "")) Then
Try
Dim lTable As HspfTable
Expand Down
8 changes: 5 additions & 3 deletions HSPEXP/SetUpScript.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "HSPEXP+"
#define MyAppVersion "2.00beta"
#define MyAppVersion "2.00beta1"
#define MyAppPublisher "RESPEC"
#define MyAppURL "http://www.respec.com/product/hspexp/"
#define MyAppExeName "HSPEXP+.exe"
Expand All @@ -19,9 +19,11 @@ AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={reg:HKLM\SOFTWARE\RESPEC\BASINS41,Base Directory|{pf}\HSPEXP+}
AppContact= {#MyAppURL}
VersionInfoCopyright=Mozilla Public License (MPL) 1.1
DefaultDirName={reg:HKLM\SOFTWARE\RESPEC\BASINS45,Base Directory|{pf}\HSPEXP+}
DefaultGroupName={#MyAppName}
OutputBaseFilename=HSPEXP+2.00betaSetUp
OutputBaseFilename=HSPEXP+2.00beta1SetUp
Compression=lzma
SolidCompression=yes
InfoBeforeFile=install.txt
Expand Down
2 changes: 1 addition & 1 deletion HSPEXP/SplashScreen1.vb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
' Version.Text = System.String.Format(Version.Text, My.Application.Info.Version.Major, My.Application.Info.Version.Minor, My.Application.Info.Version.Build, My.Application.Info.Version.Revision)

With My.Application.Info.Version
Version.Text = "Version " & .Major & "." & .Minor & " beta"
Version.Text = "Version " & .Major & "." & .Minor & " beta1"
If .MajorRevision > 0 OrElse .MinorRevision > 0 Then
Version.Text &= "." & .MajorRevision & "." & .MinorRevision
End If
Expand Down
Loading

0 comments on commit d4d3d98

Please sign in to comment.