Skip to content

Commit 3196084

Browse files
[TASKSCLOUD-857] - Deployed new 24.10 version
1 parent 0740ef1 commit 3196084

12 files changed

+285
-5
lines changed

.nuget/NuGet.targets

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858
<RequireConsentSwitch Condition=" $(RequireRestoreConsent) == 'true' ">-RequireConsent</RequireConsentSwitch>
5959
<NonInteractiveSwitch Condition=" '$(VisualStudioVersion)' != '' AND '$(OS)' == 'Windows_NT' ">-NonInteractive</NonInteractiveSwitch>
6060

61-
<PaddedSolutionDir Condition=" '$(OS)' == 'Windows_NT'">"$(SolutionDir) "</PaddedSolutionDir>
61+
<PaddedSolutionDir Condition=" '$(OS)' == 'Windows_NT' and HasTrailingSlash('$(SolutionDir)')">"$(SolutionDir)\"</PaddedSolutionDir>
62+
<PaddedSolutionDir Condition=" '$(OS)' == 'Windows_NT' and !HasTrailingSlash('$(SolutionDir)')">"$(SolutionDir)"</PaddedSolutionDir>
6263
<PaddedSolutionDir Condition=" '$(OS)' != 'Windows_NT' ">"$(SolutionDir)"</PaddedSolutionDir>
6364

6465
<!-- Commands -->

Aspose.Tasks.Cloud.Sdk.Tests/Calendar/TestCalendars.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public async Task TestGetCalendarByUid()
7070

7171
Assert.AreEqual((int)HttpStatusCode.OK, response.Code);
7272
Assert.IsNotNull(response.Calendar);
73+
Assert.AreEqual("3F979F74-B9D3-4E5F-98DC-5E08060A0C30", response.Calendar.Guid);
7374
Assert.AreEqual("Standard", response.Calendar.Name);
7475
Assert.AreEqual(1, response.Calendar.Uid);
7576
Assert.AreEqual(true, response.Calendar.IsBaseCalendar);

Aspose.Tasks.Cloud.Sdk.Tests/Tasks/TestPrimaveraProperties.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ public async Task TestGetPrimaveraTaskProperties()
6363
Assert.AreEqual("Task Dependent", entity.RawActivityType);
6464
Assert.AreEqual("Units", entity.RawCompletePercentType);
6565
Assert.AreEqual("Not Started", entity.RawStatus);
66+
Assert.AreEqual(PrimaveraDurationType.FixedUnits, entity.DurationType);
67+
Assert.AreEqual(PrimaveraActivityType.TaskDependent, entity.ActivityType);
68+
Assert.AreEqual(PrimaveraPercentCompleteType.Units, entity.PercentCompleteType);
6669
}
6770

6871
}

Aspose.Tasks.Cloud.Sdk/Aspose.Tasks.Cloud.Sdk.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@
164164
<Compile Include="Model\PageCountResponse.cs" />
165165
<Compile Include="Model\PageSize.cs" />
166166
<Compile Include="Model\PresentationFormat.cs" />
167+
<Compile Include="Model\PrimaveraActivityType.cs" />
168+
<Compile Include="Model\PrimaveraDurationType.cs" />
169+
<Compile Include="Model\PrimaveraPercentCompleteType.cs" />
167170
<Compile Include="Model\PrimaveraTaskProperties.cs" />
168171
<Compile Include="Model\PrimaveraTaskPropertiesResponse.cs" />
169172
<Compile Include="Model\ProbabilityDistributionType.cs" />

Aspose.Tasks.Cloud.Sdk/Aspose.Tasks.Cloud.Sdk.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package >
33
<metadata>
44
<id>Aspose.Tasks-Cloud</id>
5-
<version>24.4</version>
5+
<version>24.10</version>
66
<title>Aspose.Tasks Cloud SDK for .NET</title>
77
<summary>Aspose.Tasks Cloud SDK allows developer to manipulate or convert Microsoft Project documents hosted on a cloud platform from .NET applications</summary>
88
<authors>Aspose</authors>
@@ -14,7 +14,7 @@
1414
<description>New generation of Aspose Cloud SDK that allows to manipulate or convert Microsoft Project documents hosted on a cloud platform from .NET applications. It allows you to work with all aspects of a Project document including conversion. The API offers a wide range of Microsoft Project export options. The Aspose.Tasks Cloud API allows developers to convert Project documents to various formats including XML, HTML, BMP, PNG, PDF, and XSLX.
1515
</description>
1616
<releaseNotes>
17-
The complete list of changes can be found at https://docs.aspose.cloud/tasks/aspose-tasks-cloud-24-04-release-notes/
17+
The complete list of changes can be found at https://docs.aspose.cloud/tasks/aspose-tasks-cloud-24-10-release-notes/
1818
</releaseNotes>
1919
<copyright>Aspose 2002-2024. All Rights Reserved.</copyright>
2020
<tags>MPP Primavera Microsoft Project Server Online P6XML PrimaveraXML XER MPX</tags>

Aspose.Tasks.Cloud.Sdk/Model/Calendar.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ namespace Aspose.Tasks.Cloud.Sdk.Model
3838
/// </summary>
3939
public class Calendar
4040
{
41+
/// <summary>
42+
/// Gets calendar's Guid.
43+
/// </summary>
44+
public string Guid { get; set; }
45+
4146
/// <summary>
4247
/// The name of the calendar.
4348
/// </summary>
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
using Newtonsoft.Json.Converters;
2+
using Newtonsoft.Json;
3+
using System;
4+
using System.Collections.Generic;
5+
using System.Linq;
6+
using System.Text;
7+
using System.Threading.Tasks;
8+
9+
namespace Aspose.Tasks.Cloud.Sdk.Model
10+
{
11+
12+
/// <summary>
13+
/// Specifies type of Primavera activity.
14+
/// </summary>
15+
[JsonConverter(typeof(StringEnumConverter))]
16+
public enum PrimaveraActivityType
17+
{
18+
19+
/// <summary>
20+
/// Not specified or not applicable.
21+
/// </summary>
22+
None = 0,
23+
24+
/// <summary>
25+
/// 'Start Milestone' activity type
26+
/// </summary>
27+
StartMilestone = 1,
28+
29+
/// <summary>
30+
/// 'Finish Milestone' activity type
31+
/// </summary>
32+
FinishMilestone = 2,
33+
34+
/// <summary>
35+
/// 'Task Dependent' activity type
36+
/// </summary>
37+
TaskDependent = 3,
38+
39+
/// <summary>
40+
/// 'Resource Dependent' activity type
41+
/// </summary>
42+
ResourceDependent = 4,
43+
44+
/// <summary>
45+
/// 'Level Of Effort' activity type
46+
/// </summary>
47+
LevelOfEffort = 5,
48+
49+
/// <summary>
50+
/// 'WBS Summary' activity type
51+
/// </summary>
52+
WbsSummary = 6
53+
}
54+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
using Newtonsoft.Json.Converters;
2+
using Newtonsoft.Json;
3+
using System;
4+
using System.Collections.Generic;
5+
using System.Linq;
6+
using System.Text;
7+
using System.Threading.Tasks;
8+
9+
namespace Aspose.Tasks.Cloud.Sdk.Model
10+
{
11+
12+
/// <summary>
13+
/// Specifies duration type of Primavera activity.
14+
/// </summary>
15+
[JsonConverter(typeof(StringEnumConverter))]
16+
public enum PrimaveraDurationType
17+
{
18+
19+
/// <summary>
20+
/// Not specified or not applicable.
21+
/// </summary>
22+
None = 0,
23+
24+
/// <summary>
25+
/// 'Fixed Duration And Units' duration type
26+
/// </summary>
27+
FixedDurationUnits = 1,
28+
29+
/// <summary>
30+
/// 'Fixed Duration And Units/Time' duration type
31+
/// </summary>
32+
FixedDurationUnitsTime = 2,
33+
34+
/// <summary>
35+
/// 'Fixed Units' duration type
36+
/// </summary>
37+
FixedUnits = 3,
38+
39+
/// <summary>
40+
/// 'Fixed Units/Time' duration type
41+
/// </summary>
42+
FixedUnitsTime = 4
43+
}
44+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
using Newtonsoft.Json.Converters;
2+
using Newtonsoft.Json;
3+
using System;
4+
using System.Collections.Generic;
5+
using System.Linq;
6+
using System.Text;
7+
using System.Threading.Tasks;
8+
9+
namespace Aspose.Tasks.Cloud.Sdk.Model
10+
{
11+
12+
/// <summary>
13+
/// Specifies value of '% Complete Type' field for Primavera activities.
14+
/// </summary>
15+
[JsonConverter(typeof(StringEnumConverter))]
16+
public enum PrimaveraPercentCompleteType
17+
{
18+
19+
/// <summary>
20+
/// Not specified or not applicable.
21+
/// </summary>
22+
None = 0,
23+
24+
/// <summary>
25+
/// Duration % Complete type.
26+
/// </summary>
27+
Duration = 1,
28+
29+
/// <summary>
30+
/// Physical % Complete type.
31+
/// </summary>
32+
Physical = 2,
33+
34+
/// <summary>
35+
/// Units % Complete type.
36+
/// </summary>
37+
Units = 3
38+
}
39+
}

Aspose.Tasks.Cloud.Sdk/Model/PrimaveraTaskProperties.cs

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
using Newtonsoft.Json.Converters;
2+
using Newtonsoft.Json;
13
using System;
4+
using System.ComponentModel;
25

36
namespace Aspose.Tasks.Cloud.Sdk.Model
47
{
@@ -74,5 +77,125 @@ public class PrimaveraTaskProperties
7477
/// Applicable only to activities (non-summary tasks).
7578
/// </remarks>
7679
public string RawStatus { get; set; }
80+
81+
/// <summary>
82+
/// Gets the value of duration percent complete.
83+
/// </summary>
84+
public double DurationPercentComplete { get; set; }
85+
86+
/// <summary>
87+
/// Gets the value of Physical Percent Complete.
88+
/// </summary>
89+
/// <remarks>
90+
/// Applicable only to activities (non-summary tasks).
91+
/// </remarks>
92+
public double PhysicalPercentComplete { get; set; }
93+
94+
/// <summary>
95+
/// Gets the value of actual non labor units.
96+
/// </summary>
97+
public double ActualNonLaborUnits { get; set; }
98+
99+
/// <summary>
100+
/// Gets the value of actual labor units.
101+
/// </summary>
102+
public double ActualLaborUnits { get; set; }
103+
104+
/// <summary>
105+
/// Gets the value of units percent complete.
106+
/// </summary>
107+
public double UnitsPercentComplete { get; set; }
108+
109+
/// <summary>
110+
/// Gets the value of remaining labor units.
111+
/// </summary>
112+
public double RemainingLaborUnits { get; set; }
113+
114+
/// <summary>
115+
/// Gets the value of remaining non labor units.
116+
/// </summary>
117+
public double RemainingNonLaborUnits { get; set; }
118+
119+
/// <summary>
120+
/// Gets the value of 'Duration Type' field of the activity.
121+
/// </summary>
122+
/// <remarks>
123+
/// Applicable only to activities (non-summary tasks).
124+
/// </remarks>
125+
[JsonProperty("DurationType", NullValueHandling = NullValueHandling.Ignore)]
126+
public PrimaveraDurationType DurationType { get; set; }
127+
128+
/// <summary>
129+
/// Gets the value of 'Activity Type' field.
130+
/// </summary>
131+
/// <remarks>
132+
/// Applicable only to activities (non-summary tasks).
133+
/// </remarks>
134+
[JsonProperty("ActivityType", NullValueHandling = NullValueHandling.Ignore)]
135+
public PrimaveraActivityType ActivityType { get; set; }
136+
137+
/// <summary>
138+
/// Gets the value of '% Complete Type' field of the activity.
139+
/// </summary>
140+
/// <remarks>
141+
/// Applicable only to activities (non-summary tasks).
142+
/// </remarks>
143+
[JsonProperty("PercentCompleteType", NullValueHandling = NullValueHandling.Ignore)]
144+
public PrimaveraPercentCompleteType PercentCompleteType { get; set; }
145+
146+
/// <summary>
147+
/// Gets the value of actual labor cost.
148+
/// </summary>
149+
public decimal ActualLaborCost { get; set; }
150+
151+
/// <summary>
152+
/// Gets the value of actual non labor cost.
153+
/// </summary>
154+
public decimal ActualNonlaborCost { get; set; }
155+
156+
/// <summary>
157+
/// Gets the value of actual material cost.
158+
/// </summary>
159+
public decimal ActualMaterialCost { get; set; }
160+
161+
/// <summary>
162+
/// Gets the value of actual expense cost.
163+
/// </summary>
164+
public decimal ActualExpenseCost { get; set; }
165+
166+
/// <summary>
167+
/// Gets the value of remaining expense cost.
168+
/// </summary>
169+
public decimal RemainingExpenseCost { get; set; }
170+
171+
/// <summary>
172+
/// Gets the total value of actual costs.
173+
/// </summary>
174+
public decimal ActualTotalCost { get; set; }
175+
176+
/// <summary>
177+
/// Gets the total value of budgeted (or planned) costs.
178+
/// </summary>
179+
public decimal BudgetedTotalCost { get; set; }
180+
181+
/// <summary>
182+
/// Gets the value of budgeted (or planned) labor cost.
183+
/// </summary>
184+
public decimal BudgetedLaborCost { get; set; }
185+
186+
/// <summary>
187+
/// Gets the value of budgeted (or planned) non labor cost.
188+
/// </summary>
189+
public decimal BudgetedNonlaborCost { get; set; }
190+
191+
/// <summary>
192+
/// Gets the value of of budgeted (or planned) material cost.
193+
/// </summary>
194+
public decimal BudgetedMaterialCost { get; set; }
195+
196+
/// <summary>
197+
/// Gets the value of budgeted (or planned) expense cost.
198+
/// </summary>
199+
public decimal BudgetedExpenseCost { get; set; }
77200
}
78201
}

Aspose.Tasks.Cloud.Sdk/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@
5353
// Minor Version
5454
// Build Number
5555
// Revision
56-
[assembly: AssemblyVersion("24.4.0.0")]
57-
[assembly: AssemblyFileVersion("24.4.0.0")]
56+
[assembly: AssemblyVersion("24.10.0.0")]
57+
[assembly: AssemblyFileVersion("24.10.0.0")]

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ Feel free to explore the [Developer's Guide](https://docs.aspose.cloud/display/t
3535
XER, XLSX, HTML, XML, TXT, TIF, SVG, PNG, JPEG
3636

3737

38+
## Enhancements in Version 24.10
39+
- Enhanced reading data from Primavera-specific task's properties.
40+
41+
## Enhancements in Version 24.4
42+
- Added new ability to get views information
43+
- Possibility to modify table text styles for Gantt Chart views.
44+
3845
## Enhancements in Version 22.12
3946
- Added new ability to read Primavera-specific task's properties.
4047
- Provided the ability to read more document properties.

0 commit comments

Comments
 (0)