aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2024-12-05 02:57:33 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2024-12-05 02:57:33 +0200
commit6145633410ecac8d9847dfb4272a5ee11325c65f (patch)
tree56cb73a999f6805e37fa97d7c9a314e9342ea23f /Software/Visual_Studio/PPC/Tango.PPC.Common
parent92de61904c6ae3f8455827944b4aa62c5582bbb5 (diff)
downloadTango-6145633410ecac8d9847dfb4272a5ee11325c65f.tar.gz
Tango-6145633410ecac8d9847dfb4272a5ee11325c65f.zip
Finished SMS.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/SMS/DefaultSMSNotificationProvider.cs4
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Tango.PPC.Common.csproj2
2 files changed, 3 insertions, 3 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/SMS/DefaultSMSNotificationProvider.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/SMS/DefaultSMSNotificationProvider.cs
index 7452ea987..7d562108f 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/SMS/DefaultSMSNotificationProvider.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/SMS/DefaultSMSNotificationProvider.cs
@@ -39,7 +39,7 @@ namespace Tango.PPC.Common.SMS
{
try
{
- await SendMessage($"Job '{e.Job.Name}' failed at position {Math.Round(e.JobHandler.Status.ProgressMinusSettingUp, 1)}\n{e.Exception.Message}.");
+ await SendMessage($"Twin {_machineProvider.Machine.Type.ToDescription()} [{_machineProvider.Machine.SerialNumber}].\nJob '{e.Job.Name}' failed at position {Math.Round(e.JobHandler.Status.ProgressMinusSettingUp, 1)}\n{e.Exception.Message}.");
}
catch { }
}
@@ -57,7 +57,7 @@ namespace Tango.PPC.Common.SMS
{
try
{
- await SendMessage($"Job '{e.Job.Name}' has completed successfully.");
+ await SendMessage($"Twin {_machineProvider.Machine.Type.ToDescription()} [{_machineProvider.Machine.SerialNumber}].\nJob '{e.Job.Name}' has completed successfully.");
}
catch { }
}
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Tango.PPC.Common.csproj b/Software/Visual_Studio/PPC/Tango.PPC.Common/Tango.PPC.Common.csproj
index 41b3f94e1..b1e6d87c4 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Tango.PPC.Common.csproj
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Tango.PPC.Common.csproj
@@ -649,7 +649,7 @@
</Target>
<ProjectExtensions>
<VisualStudio>
- <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" />
+ <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" />
</VisualStudio>
</ProjectExtensions>
</Project> \ No newline at end of file