need to movie this to pc and check after publish webserver

This commit is contained in:
Roland Drabesch
2022-08-11 16:30:01 +02:00
parent 3f41a67c92
commit 4fc7c92ba1
11 changed files with 450 additions and 81 deletions
@@ -965,6 +965,29 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.GenesisFile
// validate the file
return ValidateLutFile();
}
/// <summary>
/// Load file from memory
/// </summary>
/// <param name="Name">origin Name</param>
/// /// <param name="StreamData">list of bytes of the file strean</param>
/// <returns></returns>
/// <remarks date="2022-Feb-15" author="Thomas Wiedebusch">
/// - Initial
/// </remarks>
public Boolean LoadLutFromStream(String Name, List<Byte> StreamData )
{
LutFile = null;
LutFile = new MeterLutFile(Name)
{
BinData = StreamData
};
// validate the file
return ValidateLutFile();
}
#endregion
}
}
@@ -1 +1 @@
5ed75d99ee45ff67821090f1b3dbb001dd9e4fe3
46bd00889699f5a20a4981a22f62b66368323855