need to movie this to pc and check after publish webserver
This commit is contained in:
@@ -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
@@ -1 +1 @@
|
||||
5ed75d99ee45ff67821090f1b3dbb001dd9e4fe3
|
||||
46bd00889699f5a20a4981a22f62b66368323855
|
||||
|
||||
Reference in New Issue
Block a user