-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathOssbHelper.cs
35 lines (32 loc) · 922 Bytes
/
OssbHelper.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ATIMO
{
public static class OssbHelper
{
public static string GetTextoSituacao(char situacao)
{
switch (situacao)
{
case 'I':
return "VISITA INICIAL";
case 'O':
return "ORÇAR";
case 'R':
return "ORÇAMENTO";
case 'E':
return "EXECUTANDO";
case 'C':
return "CANCELADA";
case 'P':
return "PARCELAMENTO";
case 'F':
return "FINALIZADA";
default:
throw new NotSupportedException();
}
}
}
}