32 lines
926 B
C#
32 lines
926 B
C#
using SteamWare;
|
|
using System;
|
|
|
|
namespace C_TRACK.WebUserControls
|
|
{
|
|
/// <summary>
|
|
/// Struct x richiesta serializzata/deserializzata
|
|
/// </summary>
|
|
public struct qrRequest
|
|
{
|
|
public string valore;
|
|
}
|
|
public partial class mod_userCards : System.Web.UI.UserControl
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
public string getImgUrl(object codOpr)
|
|
{
|
|
string answ = "";
|
|
string UrlQRCodeGen = memLayer.ML.CRS("UrlQRCodeGen");
|
|
string TargetQRCode = memLayer.ML.CRS("TargetQRCode");
|
|
answ = string.Format(@"{0}/{1}?val={2}", UrlQRCodeGen, TargetQRCode, codOpr);
|
|
// string targetUrl = "CTRACK_ELET_SCAL";
|
|
// answ = string.Format(@"https://qrcode.steamware.net/Home/QR_site/{0}?val={1}", targetUrl, codOpr);
|
|
//answ = string.Format(@"http://localhost:59543//Home/QR_site/{0}?val={1}", targetUrl, codOpr);
|
|
return answ;
|
|
}
|
|
}
|
|
} |