namespace WCS.WorkEngineering.Extensions
{
public static class RedisExtenshin
{
/////
///// 写入垛形信息
/////
/////
/////
//public static void SetPalletizingInformation(this RedisClient redis, List stackInfoList)
//{
// var lockKey = nameof(SetPalletizingInformation);
// try
// {
// if (redis.SetNx(lockKey, 1)) //设置锁
// {
// redis.Set("PalletizingInformation", JsonConvert.SerializeObject(stackInfoList));
// }
// }
// finally
// {
// redis.Del(lockKey);
// }
//}
}
}